So I just downloaded this map (The Academy, Jedi Knight 3 Downloads, Jedi Knight 3 Free For All) and I absolutley love it! It is by far the best looking fan-made map I have ever seen but I do have a question about it.While exploring the map, I noticed that there was quite a few places for npc's to interact with the player and im just wondering if there is a way to get pre-loaded npc's on this map without me having to spawn them, freeze them and then have them follow me around all over the place. Example:In the main council chamber and any one of the sparring rooms and even the cantina, there are seats all over the place and I was just thinking how cool it would be to have npc's sitting and relaxing a drink in the cantina, or walking around in the halls or watching other jedi spar each other and then having luke, kyle and other random jedi as the council.
Easiest way for that would be decompiling the BSP, adding NPC_Spawners, and compiling again. But you'd be breaking the rules there as the BSP is entirely the authors own work, so you'd need permission
Also, the NPC's will always interact with the other players. For example, spawn two jedi's and kill one of them; the other will attack you.
Can't be done without modding the source code and the map. =\
Decompiling the bsp is not necessary to add any entities. You can simply extract the plain text of the entities list from the bsp via any text-editing software, modify them, and refold them back into the original bsp using q3map2's -onlyents switch.
Alternatively, you can hex edit entities right into the bsp.
But getting NPCs to interact in meaningful ways typically requires more than just adding them (like scripting) so I think it may be a bit more complicated than it seems.
Lugormod can be used to do this, not even that hard to do it :)
place lmd_restrict 0 maxs,8 8 60,mins,-8 -8 0,spawnflags,3
keep looking at the exact same spot then these
/place NPC_spawner 30 NPC_type,yournpc,count,-1,targetname,initial_entity,spawnflags,96,spawnscript,anims/chooseyouranim
/place LMD_terminal 0 model,null,cmd,blaaaaah,message,^2hay thar o.o,maxs,10 10 60,mins,-10 -10 0