[ION]Levi Posted April 30, 2005 Share Posted April 30, 2005 I am creating a multiplayer level, and I want to insert an npc controll script. like in JK2 somewhere in the doomgiver if I am not wrong. the level wich you can controll the mouse-droid with the console. I heard it was impossible to open the original bsp files so I ask here if anyone nows how to make such a script like I said above... Link to comment Share on other sites More sharing options...
SMoKE Posted April 30, 2005 Share Posted April 30, 2005 That's not possible in MP... Link to comment Share on other sites More sharing options...
[ION]Levi Posted May 1, 2005 Author Share Posted May 1, 2005 ok, but how does it work in single player Link to comment Share on other sites More sharing options...
lassev Posted May 1, 2005 Share Posted May 1, 2005 set_viewentity("NPC_targetname") Link to comment Share on other sites More sharing options...
[ION]Levi Posted May 2, 2005 Author Share Posted May 2, 2005 thx:D I'll check it directly Link to comment Share on other sites More sharing options...
[ION]Levi Posted May 2, 2005 Author Share Posted May 2, 2005 I'm kind'a n00b, how do I use it? Link to comment Share on other sites More sharing options...
lassev Posted May 3, 2005 Share Posted May 3, 2005 You give the NPC you want to control an NPC_targetname key (and a value of your own choosing, xxxx) in Radiant. You write a script containing: affect ( "player", /*@AFFECT_TYPE*/ FLUSH ) { set ( /*@SET_TYPES*/ "SET_VIEWENTITY", "xxxx" ); } Then you place a target_scriptrunner in the map, point it to the script, target a trigger to the scriptrunner... And voila! Needless to say, chances of getting this to work in MP might be slim. But of course I'm not MP mapper, so I wouldn't know... Link to comment Share on other sites More sharing options...
[ION]Levi Posted May 3, 2005 Author Share Posted May 3, 2005 thx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.