Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

NPC Classes?

Page: 1 of 1
 jojobob
03-14-2004, 6:12 PM
#1
where do you find the files that have the NPC classes for SP? i want to study them...
 Kurgan
03-14-2004, 7:14 PM
#2
Do you mean the .npc files?
 moberemk
03-14-2004, 8:17 PM
#3
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
 jojobob
03-14-2004, 8:17 PM
#4
yeah, where do you find them?
 Kurgan
03-14-2004, 9:07 PM
#5
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.
 TK-8252
03-14-2004, 9:21 PM
#6
To find NPC classes, look through NPC files and see the classes they are.
 jojobob
03-14-2004, 9:55 PM
#7
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
 jojobob
03-14-2004, 10:32 PM
#8
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
 jojobob
03-14-2004, 10:54 PM
#9
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
 TK-8252
03-14-2004, 11:12 PM
#10
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:
 moberemk
03-15-2004, 11:51 AM
#11
Okay, could an admin move this to coding?
 Crow_Nest
03-15-2004, 2:31 PM
#12
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? :)
 TK-8252
03-15-2004, 9:05 PM
#13
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. ;)
 jojobob
03-15-2004, 10:16 PM
#14
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
 jojobob
03-16-2004, 7:39 PM
#15
i couldn't take the pic because when i pasted after print screen, it looked all screwed up :(
 moberemk
03-17-2004, 12:23 AM
#16
Bug Raven for the code. There lies the answer...
 Kengo
03-17-2004, 12:40 AM
#17
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.
Page: 1 of 1