where do you find the files that have the NPC classes for SP? i want to study them...
Do you mean the .npc files?
No, those are for the NPCs. he's talking about the NPC classes, like CLASS_DESANN or CLASS_REBORN instead of desann.npc or reborn.npc
yeah, where do you find them?
Now that I don't know, sorry.
Whenever I want to find something I just open up the assets files with winzip and just scroll through the extensions (sort by extensions or directories) until I find what I'm looking for (extract it to my desktop, open with notepad and see if it has anything interesting in it).
I know for Siege you have SCL files, but that may be something totally different. Perhaps there is a "CL" extension ("class"?) in there someplace.
To find NPC classes, look through NPC files and see the classes they are.
what i want is not the names, but the code for the names
btw, my brother is telling me to tell you that you got your TK-8252 from MotS :D
no, i mean the code for the classes, not their names in the npc files
btw, my brother keeps telling me to say you got your name, TK-8252 from MotS :D
whoa, the first time, it gave me a page could not be displayed error, then i refreshed and got the same thing, so i typed the message over again in a slightly different way
Hmm, well, I'm not sure what you mean. You can't really get the "code" for NPC classes, I guess that'd take the source code for single player. Sorry I can't really help you with this. :(
And yes, TK-8252 was the Field Trooper in MotS who nearly killed Kyle Katarn with a rocket blast. :trooper:
Okay, could an admin move this to coding?
The classes should be in the assests1.pk3, just go to the ext_data and go to npcs. Open those files with notepad and look at the class.
Originally posted by TK-8252
And yes, TK-8252 was the Field Trooper in MotS who nearly killed Kyle Katarn with a rocket blast. :trooper:
Is there a screen of this guy? :)
Originally posted by |GG|Crow_Nest
Is there a screen of this guy? :) Nope. :p
Just a Stormtrooper with a backpack, yellow pauldron, and a rail detonator... nothing special. ;)
well, i guess the code for what the classes do for the npc is in the .exe or nobody found it yet...
i'll make a pic of the stormtrooper, later though
i couldn't take the pic because when i pasted after print screen, it looked all screwed up :(
Bug Raven for the code. There lies the answer...
Kal EL did a lot of research into the NPC files, heres what he collated:
http://www.map-review.com/forums/viewtopic.php?t=410)
This was partly in aid of his NPC creater tool, which you might find handy if you want to play around with NPCs:
http://www.pcgamemods.com/3648)
What Crow_Nest said is right, you don't need any code that isn't already there in the assets pk3s to mess around with the NPCs. If you want to re-code their behavoir more thoroughly, lets hope you have a serious amount of experience in the ulta complex field of AI.