invadersmustdie Posted February 8, 2015 Share Posted February 8, 2015 First of all. I would like to say that my english is pretty bad Ok here goes my question: I wanted to know if there is a way to make an NPC (such as luke) Invincible. Because i love having NPC´s Fights in Single Player but i can't stand having to spawn Luke everytime he dies.I tried to modify his health in the ext_data/npcs file but when he falls from a high place he seems to "freeze" and he doesn't move anymore like he's dead or something. Its weird. Any help? I forgot to say that the game is Jedi Knight II Jedi Outcast sorry if my english is horrible. Link to comment
Circa Posted February 10, 2015 Share Posted February 10, 2015 If all you're wanting is to spawn NPC's for fun, giving them more health might be the only option. There may be a script method but not sure. @@therfiles @@eezstreet Link to comment
Ramikad Posted February 10, 2015 Share Posted February 10, 2015 If it works similarly to how Jedi Academy works, you could make a script like this with BehavEd: //(BHVD)affect ( "luke_inv", /*@AFFECT_TYPE*/ FLUSH ){ set ( /*@SET_TYPES*/ "SET_INVINCIBLE", "TRUE" ); set ( /*@SET_TYPES*/ "SET_NO_FALLTODEATH", "TRUE" );} Save it as luke_inv and compile it. Put the resulting script (luke_inv.IBI) into scripts and make it a .pk3. Then, once in-game, type in console npc spawn luke luke_inv, and then runscript luke_inv. The Luke Skywalker you spawned will then be completely invincible (I think... I haven't tried with the vaporizing spinning thing). Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now