gizmo94 Posted January 15, 2019 Share Posted January 15, 2019 Could it be possible to have a system where you can decide how much health a spawned npc could have? this would be nice tool to drag out lightsaberbattles in singleplayer. Link to comment
Lwkill Posted January 15, 2019 Share Posted January 15, 2019 i think you mean like this?https://jkhub.org/files/file/2420-npctool/ Link to comment
gizmo94 Posted January 15, 2019 Author Share Posted January 15, 2019 yes, something like that. does it work on the mod? Link to comment
Linken Posted January 16, 2019 Share Posted January 16, 2019 yes, something like that. does it work on the mod?That tool is used for developing npcs, we actually used it for our own npc's. You can use it to modify any npc's you want though. Link to comment
gizmo94 Posted January 16, 2019 Author Share Posted January 16, 2019 so do i put the program in the kotf folder? Link to comment
Lancelot Posted January 17, 2019 Share Posted January 17, 2019 so do i put the program in the kotf folder?It doesn't have to be in the Kotf folder. Just put the NPCTool folder in any place you want, like the desktop. Link to comment
gizmo94 Posted January 19, 2019 Author Share Posted January 19, 2019 but i cant make it work on the kotf npcs, the tool only find the npc files from the base game. Link to comment
Lancelot Posted January 19, 2019 Share Posted January 19, 2019 @@gizmo94Wait, you asked for a method to only edit the health of certain NPCs, right?Actually, it can be done very easily without using the NPCTool. Just extract the ext_data folder from a pk3 in the KotF folder.Once the folder is extracted, selected and go to the folder called npcs. Then select the NPC file you want and open it, either with the Editoror with Notepad++. You should see text that looks like this: BespinCop{playerModel bespin_copweapon WP_BLASTER_PISTOLhealth 40reactions 3aim 1move 3aggression 3evasion 1intelligence 5rank crewmanplayerTeam TEAM_PLAYERenemyTeam TEAM_ENEMYwalkSpeed 55runSpeed 200yawspeed 120dismemberProbHead 0dismemberProbArms 10dismemberProbLegs 0dismemberProbHands 20dismemberProbWaist 0// race bespincopclass CLASS_BESPIN_COPsnd bespincop1sndcombat bespincop1sndextra bespincop1} Just edit the value that I marked red and add any number you like. It works with any NPC file, even the KotF ones. For opening pk3 files and extracting folders from it, use 7zip: https://www.7-zip.org/For editing the NPC files, use Notepad++ or, as mentioned, the Editor from Windows: https://notepad-plus-plus.org/download/v7.6.2.html Link to comment
gizmo94 Posted January 19, 2019 Author Share Posted January 19, 2019 cant seem to get it to work, i changed the health but it was in normal notepad. it wont open inside notepad++ Link to comment
gizmo94 Posted January 28, 2019 Author Share Posted January 28, 2019 anyone know how to fix it? Link to comment
Lancelot Posted January 28, 2019 Share Posted January 28, 2019 @@gizmo94 If I understand correctly, you've managed to open the file in the notepad, but not in Notepad++?Actually, this is not a problem at all. If you can open and edit the file with the regular notepad,then you did it. All you have to do is create a new pk3 file and add the ext_data folder that contains your edited files. Link to comment
gizmo94 Posted February 6, 2019 Author Share Posted February 6, 2019 i have no idea how to do that Link to comment
Arthor Posted March 27, 2019 Share Posted March 27, 2019 With the npc tool you can choose the option open from pk3 and then you can find the pk3 that you would like to open for instance TSE npcs, from there you can choose the exact npc file you would like to change the value of the health and then you just need to save it. Hope this helps 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