Thread Rating:
  • 4 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial How to make Mods (BEGGINERS)
#21
Hmm tomsen so you will make mods from this tutorial btw i know about takeallweapons...
Reply

#22
(03-04-2011, 15:31)Ivankec Wrote: Hmm tomsen so you will make mods from this tutorial btw i know about takeallweapons...

what are u talking about?
Reply

#23
nothing nothing...
Reply

#24
lol on the top ;D
Reply

#25
(03-28-2011, 16:02)Ivankec Wrote: lol on the top ;D

You shouldn't spam your own thread to get attention, just saying
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#26
(03-28-2011, 16:08)iAegle Wrote:
(03-28-2011, 16:02)Ivankec Wrote: lol on the top ;D

You shouldn't spam your own thread to get attention, just saying

FTW
Reply

#27
Hey, I've got a question. I need help with adding a "self thread", I'm totally new to this, so please don't talk shit and say I suck. Ok, so all I've done is modified _rank.gsc. I've added: self thread doUnlock(); , right about here:
Code:
        if ( level.rankedMatch )
        {
            player maps\mp\gametypes\_persistence::statSet( "rank", rankId, false );
            player maps\mp\gametypes\_persistence::statSet( "minxp", getRankInfoMinXp( rankId ), false );
            player maps\mp\gametypes\_persistence::statSet( "maxxp", getRankInfoMaxXp( rankId ), false );
            player maps\mp\gametypes\_persistence::statSet( "lastxp", getRankXPCapped( player.pers["rankxp"] ), false );                
        }
        
        player.explosiveKills[0] = 0;
        player.xpGains = [];

                self thread doUnlock();
        player thread onPlayerSpawned();
        player thread onJoinedTeam();
        player thread onJoinedSpectators();
    }
}
then I don't know if I'm doing this right, I added:
Code:
doUnlock
{
setDvar("allItemsUnlocked", 1 );
setDvar("allItemsPurchased", 1 );
}
below
Code:
onPlayerSpawned()
{
    self endon("disconnect");

    for(;;)
    {
        self waittill("spawned_player");

        if(!isdefined(self.hud_rankscroreupdate))
        {
            self.hud_rankscroreupdate = NewScoreHudElem(self);
            self.hud_rankscroreupdate.horzAlign = "center";
            self.hud_rankscroreupdate.vertAlign = "middle";
            self.hud_rankscroreupdate.alignX = "center";
            self.hud_rankscroreupdate.alignY = "middle";
             self.hud_rankscroreupdate.x = 0;
            if( self IsSplitscreen() )
                self.hud_rankscroreupdate.y = -15;
            else
                self.hud_rankscroreupdate.y = -60;
            self.hud_rankscroreupdate.font = "default";
            self.hud_rankscroreupdate.fontscale = 2.0;
            self.hud_rankscroreupdate.archived = false;
            self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
            self.hud_rankscroreupdate.alpha = 0;
            self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
            self.hud_rankscroreupdate.overrridewhenindemo = true;
        }
    }
}
The problem is that when I try to load the mod, Black Ops console gives me an error, the error says: "Bad syntax"
Reply

#28
Code:
doUnlock
{
setDvar("allItemsUnlocked", 1 );
setDvar("allItemsPurchased", 1 );
}



This will not work at all every single way to get stuff like that is patched

oh and its suppose to be

doUnlock() not doUnlock
[Image: mca.png]

ADD ME ON STEAM: AKNINJA612
Reply

#29
So, is there a way to fix this or not?
Reply

#30
(03-29-2011, 23:32)D_95 Wrote: So, is there a way to fix this or not?
type this in
C++ Code
  1. init()
  2. {
  3. level thread dounlock();
  4. /* there is some stuff already in init() and it is already called a thread if you didnt know that, init should be at the top*/





Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Make area detect. flag Teleport lewisbibo 4 4,998 10-12-2013, 18:10
Last Post: EnVi Sweden Rocks
Wink Make Platforme lewisbibo 5 4,993 10-08-2013, 14:35
Last Post: 8q4s8
  Make obj MW3.by lewisbibo lewisbibo 3 3,702 10-05-2013, 20:16
Last Post: Nekochan
  Make obj MW3.by lewisbibo lewisbibo 0 2,333 10-03-2013, 20:19
Last Post: lewisbibo
  Vehicle mods! Erik The Born 1 3,401 09-05-2013, 10:55
Last Post: The_Reaper_1
  Help need help?how to make plugins code hXnarutoXone 12 8,555 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Make ac130 shoot custom bullets Ra3shed 0 2,733 07-23-2013, 13:02
Last Post: Ra3shed
  Help mods meetingplum 6 5,873 07-16-2013, 12:11
Last Post: surtek
Wink All MW3 Mod Menus & Mods $pacebound 34 200,206 07-15-2013, 19:08
Last Post: monokiller88
  how to make a plugin (mod) E-losev 5 4,335 07-12-2013, 15:48
Last Post: OzonE

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.