ItsMods

Full Version: Prestige With Bots
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys i need someone to merge these 2 mods, I need a prestige bots mod
Files in Attachments
[attachment=1066]
(09-09-2011, 08:30)BAZ000 Wrote: [ -> ]Hey guys i need someone to merge these 2 mods, I need a prestige bots mod
Files in Attachments

Well dude thath so easy so u could just do it self take help from easy code finder and thath all then jsut take bots from other mod Smile
(09-09-2011, 14:26)alvarogt95 Wrote: [ -> ]
(09-09-2011, 08:30)BAZ000 Wrote: [ -> ]Hey guys i need someone to merge these 2 mods, I need a prestige bots mod
Files in Attachments

Well dude thath so easy so u could just do it self take help from easy code finder and thath all then jsut take bots from other mod Smile

The Thing is i Dont Know how to do That Kinda Stuff
(09-20-2011, 10:36)BAZ000 Wrote: [ -> ]
(09-09-2011, 14:26)alvarogt95 Wrote: [ -> ]
(09-09-2011, 08:30)BAZ000 Wrote: [ -> ]Hey guys i need someone to merge these 2 mods, I need a prestige bots mod
Files in Attachments

Well dude thath so easy so u could just do it self take help from easy code finder and thath all then jsut take bots from other mod Smile

The Thing is i Dont Know how to do That Kinda Stuff

Use notepad or something like that to place the bots code in the presige mod, be sure that you have also this to the onspawnedplayer()
Code:
self thread 'your Bot code'();

(09-20-2011, 10:36)BAZ000 Wrote: [ -> ]
(09-09-2011, 14:26)alvarogt95 Wrote: [ -> ]
(09-09-2011, 08:30)BAZ000 Wrote: [ -> ]Hey guys i need someone to merge these 2 mods, I need a prestige bots mod
Files in Attachments

Well dude thath so easy so u could just do it self take help from easy code finder and thath all then jsut take bots from other mod Smile

The Thing is i Dont Know how to do That Kinda Stuff

this is an easy bots code (place this everywhere you want):
Code:
initTestClients(numberOfTestClients)
{
for(i = 0; i < numberOfTestClients; i++)
{
  ent[i] = addtestclient();

  if (!isdefined(ent[i]))
  {
   wait 1;
   continue;
  }

  ent[i].pers["isBot"] = true;
  ent[i] thread initIndividualBot();
  wait 0.1;
}
}

initIndividualBot()
{
self endon( "disconnect" );
while(!isdefined(self.pers["team"]))
  wait .05;
self notify("menuresponse", game["menu_team"], "autoassign");
wait 0.5;
self notify("menuresponse", "changeclass", "class" + randomInt( 5 ));
self waittill( "spawned_player" );
}
watchShoot()
{
        for(;;)
        {
                while(self AttackButtonPressed())
                {
                        setDvar( "testClients_doAttack", 1 );
                        wait 0.1;
                }
                setDvar( "testClients_doAttack", 0 );
                wait 0.1;
        }
}

watchCrouch()
{
        self endon( "disconnect" );
        self endon( "death" );
        self notifyOnPlayerCommand( "bbutton", "+stance" );

        for( ;; )
        {
                if ( self GetStance() == "crouch" )
                        setDvar( "testClients_doCrouch", 1 );
                else
                        setDvar( "testClients_doCrouch", 0 );
                wait 0.1;
        }
}
then add this to the onplayerspawned()
Code:
self thread watchShoot();
self thread watchCrouch();
self thread initTestClients(15);

I hope you understand that for this there are search bars and tutorials

_Smile_Man_
Iam nobbie on modding but i could help i litle bit to put all the codes together if u want Smile
Tr to make your own mods men!Wink
(09-24-2011, 11:03)_Smile_Man_ Wrote: [ -> ]Tr to make your own mods men!Wink

hehe yeah Big Grin
i just been trying to make a mod for long time ago i just understod all now i think i go to post my first mod soon Big Grin