RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

no ai xp player yes
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=7&t=2489
Page 1 of 1

Author:  Parisot [ Wed Aug 12, 2015 7:12 pm ]
Post subject:  no ai xp player yes

Hallo i have a question i try to make a mod.
Bud cant Find out to Block the ai/bots from getting xp.
While the player still can receive xp.
Hope one of you guys/Girls know how to help me.

Author:  The Soldier [ Wed Aug 12, 2015 11:33 pm ]
Post subject:  Re: no ai xp player yes

Why would you want to block them from getting XP? They usually die before it gets use. :P

If you mean reduce the XP of the AI when they spawn, then it's randomized within each faction's .xml file. Go to one of the faction's files (green, grey, or brown) and then find the first <attribute_config class="xp"> under the default soldier type. Look at the weights of them - reduce the second weight to 0.0 instead of 0.45. That should make all (except the minibosses) spawn with 0 XP.

Author:  Parisot [ Thu Aug 13, 2015 12:06 am ]
Post subject:  Re: no ai xp player yes

I already did that Bud i want them not to reache a different rank so if i give lets say a group like mini boss 1 xp wenn they spawn that they stay in that Way even wenn they kill or blow up stuff or staying alive i want to set the reward conflig that it only works on human player
Is this possible ?

Author:  The Soldier [ Thu Aug 13, 2015 2:17 pm ]
Post subject:  Re: no ai xp player yes

Like I said, it's randomized based on the XP weights every time a soldier spawns. AI soldiers do not function like players do - they don't keep equipment or XP after death, since it's randomly generated based on the values every time they spawn.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/