Jump to content

Home

ARE you BOT???


ALIEN_JL

Recommended Posts

How do i ask that from JK2 ???

 

(If bot can mean something else too then with

bot I mean non-human controlled player...)

 

And what i want to do is simply change some

settings so that they are different for bots

and for hmm... humans...

 

---------- FILE bg_pmove.c ------------

 

=============================================

 

/*

==============

PM_Weapon

 

Generates weapon events and modifes the weapon counter

==============

*/

 

static void PM_Weapon( void )

{

 

.........

......

....

......

.........

---if (user of this damn gun = BOT)

---{

------if (pm->ps->weapon == WP_BLASTER && addTime != 0)

------{

---------addTime *= 2.5;

------}

------else if (pm->ps->weapon == WP_BRYAR_PISTOL && addTime != 0)

------{

---------addTime *= 4.0;

------}

---}

---pm->ps->weaponTime += addTime;

}

 

=============================================

 

... How ??

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...