Nikomaru14 Posted October 18, 2015 Posted October 18, 2015 Quick question, is it possible to change an npc's class through icarus scripts? -- I mean in base game or openjk, not by changing the game's code or anything.
Ramikad Posted October 18, 2015 Posted October 18, 2015 Perhaps you could achieve something similar by changing that NPC on the fly with another NPC, with similar characteristics but different class. It's just a wild guess though. AshuraDX likes this
mrwonko Posted October 18, 2015 Posted October 18, 2015 Might be something OpenJK could add though... I'll take a note of it. You're talking about SP?
therfiles Posted October 18, 2015 Posted October 18, 2015 What exactly are you trying to do? Maybe we can help you to find a new solution.
Nikomaru14 Posted October 18, 2015 Author Posted October 18, 2015 Thanks for the replies, didn't think so. I was just trying to make a jedi npc not be able to dodge the disruptor weapon. I will just use a different npc. But how would you make an npc that uses a lightsaber not be able to force dodge the disruptor? Even when I give them 0 force points, and set all force power levels to 0, they can still dodge it!
Asgarath83 Posted October 19, 2015 Posted October 19, 2015 Thanks for the replies, didn't think so. I was just trying to make a jedi npc not be able to dodge the disruptor weapon. I will just use a different npc. But how would you make an npc that uses a lightsaber not be able to force dodge the disruptor? Even when I give them 0 force points, and set all force power levels to 0, they can still dodge it! This is a code problem and need a little edit of the code for fix it. :\without coding, you can do 2 Npcs one NOJEDI class and ONEJEDICLASS and switching with Icarus SET_PLAYERMODEL script between the two NPC during the level.However i think that no jedi class can however autododge if they get FP_SEE with value > of 0.set ever FP_SEE to 0 for be sure that disable the autododge. i think also FP_SPEED can affect the autododge enabling.
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