09-09-2011, 08:30
09-09-2011, 14:26
(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
09-20-2011, 10:36
(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
The Thing is i Dont Know how to do That Kinda Stuff
09-22-2011, 20:31
(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
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
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;
}
}
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_
09-23-2011, 13:34
09-23-2011, 22:06
Iam nobbie on modding but i could help i litle bit to put all the codes together if u want
09-24-2011, 11:03
Tr to make your own mods men!
09-28-2011, 09:24
(09-24-2011, 11:03)_Smile_Man_ Wrote: [ -> ]Tr to make your own mods men!
hehe yeah
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