Page 1 of 1

Change number of combat robots created

Posted: Sat Nov 21, 2015 4:32 am
by starelf
Hi, I've been trying to create a different combat robot, but I can't find anywhere to change the number created or whether it follows the combat robot limit (distractor robots don't, others do)
Is this just not possible? would I have to re-create the combat robot functionality in lua? I've looked through projectiles.lua, entities.lua, and capsules.lua. Thanks.

Re: Change number of combat robots created

Posted: Sat Nov 21, 2015 8:56 am
by DaveMcW
Edit the "offsets" array in projectiles.lua.

Re: Change number of combat robots created

Posted: Sun Nov 22, 2015 6:09 am
by starelf
DaveMcW wrote:Edit the "offsets" array in projectiles.lua.
Thanks, any way to change if it follows the limit or not? I can't find it in any file but distractors don't and others do.

Re: Change number of combat robots created

Posted: Sun Nov 22, 2015 8:35 am
by prg
starelf wrote:Thanks, any way to change if it follows the limit or not? I can't find it in any file but distractors don't and others do.
follows_player=true|false in the entity definition.

Re: Change number of combat robots created

Posted: Sun Nov 22, 2015 6:46 pm
by starelf
prg wrote:
starelf wrote:Thanks, any way to change if it follows the limit or not? I can't find it in any file but distractors don't and others do.
follows_player=true|false in the entity definition.
I want it to still follow the player, but not follow the max combat robot limit, is there any way to do that?