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.

Giving NPCs the Shadowtrooper/saboteur cloak effect?

Page: 1 of 1
 Azrael666
02-18-2004, 3:42 AM
#1
Im trying to make a new npc that can cloak like saboteurs and shadowtroopers. I know its not something in the .npc files as i cant see anything in them, so something must be directed at them that causes them to do it. I thought it might be in the shaders in assets1, but i cant find it. Can anyone tell me what to do to get a cloaking npc?
 Azymn
02-19-2004, 9:55 PM
#2
They get the cloaking gizmo depending on their class. It's probly the CLASS_IMPERIAL or CLASS_SHADOWTROOPER class, just experiment a little.
 Azrael666
02-20-2004, 10:27 PM
#3
Thats not it, I made a copy of the shadowtroopers npc with only a name change and entered it as a new npc. Didnt work, just got a non-cloaking shadowtrooper.
 Azrael666
02-20-2004, 11:31 PM
#4
I just tried adding another npc to an existing .npc file, so shadowtrooper.npc now contains shadowtrooper, shadowtrooper2 and my shadowcultist, which is a reskined cultist. By being in the shadowtrooper.npc file the cultist cloaked properly. Iys not ideal as i dont like to be replacing the existing files in this way, but itll do.
 Azrael666
02-21-2004, 8:15 PM
#5
Its the name. It works if i enter additional npcs into the shadowtrooper.npc file, called shadowtrooper3, shadowtrooper.4 etc. Im not sure if theres a limit to how many you can put in there, or if you can call them something like shadowtrooperreborn, but anyway, there it is. Id imagine you can save the actual npcs anywhere, since in JK2 all npcs were in one file and it could differentiate the shadowtroopers from everything else.
Page: 1 of 1