Making one vehicle indestructible for one particular map only? (SOLVED)

Ask questions, discuss ideas, get answers
Post Reply
Skull Kid
Posts: 164
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Making one vehicle indestructible for one particular map only? (SOLVED)

Post by Skull Kid »

So, I have trouble with the "ObjectTemplate.HasArmor" command. It doesn't seem to be taken into account from the ObjectSpawnTemplates.con file, only in the Objects.rfa. Does anybody know if this is possible map-wise for one vehicle?

Thanks in advance!

EDIT: Nevermind, I solved it. If anybody wants to do the same, go into the ObjectSpawnTemplates.con and put in "ObjectTemplate.Active" and then the name of the vehicle, and underneath that line, just type "ObjectTemplate.HasArmor" and set that to zero (0).

EDIT2: One can also set "ObjectTemplate.HitPoints" to -1. That seemed to work as well, and the bots can see you, which they cannot if you set HasArmor to 0.
Regards,

Skull Kid
Post Reply