View Full Version : A few questions.

03-14-2003, 07:09 PM
1.How do you attach a security key to someone?

2.How do you put a npc on a emplaced gun?

3.How would you make a ship fly?

Any help would be great.

03-14-2003, 10:19 PM
For Q1, you can either give them a 'Goodie' key which will let them use it on anything, or, if you look in the NPC for the imperial Commander Entity window, their is something about specific keys.

Q2: Not sure, but look in the Entity window for the gun to see if you can set it so that and NPC gets placed on it.

Q3: Got something to do with trains i think:confused:

Anyway, im sure wedge2211 or Kengo can give you a thorough answer.

03-14-2003, 11:18 PM
I already tried the entity window but theres is no option to add a stormtrooper or anything.:( But thanx anyway.:) I also have two more questions.

1.How would you make an npc invincible?

2.How would disarm an npc so they don't have a gun?

I'm geussing that there's a script that i need to use right?

03-15-2003, 04:05 AM
To make an NPC invincible does require a script.

But who plays an FPS game to not kill everyone? :D

Removing a weapon from an NPC also requires a script.

Leslie Judge
03-15-2003, 06:18 AM
Just an idea: what if you target an NPC to the turret? If it not works, then using a script for that is the solution probably. I'm not sure but maybe I read about this in the ICARUS manual.

03-15-2003, 11:42 AM
How would you target an npc at a turrent and where can i get the scripts to disarm an npc and make one invincible? I just need to make Darth Vader and some other guys invincible so they don't look weak....:)

03-15-2003, 12:03 PM
I don't do SP. Yet. ;)

I can answer the flying ships question, though. You can do this two ways: scripting, which gives you really fine control over the ship's position, rotation, etc, or func_trains, which doesn't, but is simpler. Follow RichDiesal's tutorial on fun_trains, but keep in mind that you cannot change the orientation of the "ship" midflight--it will always be facing the same way. Use wait and speed keys on the path_corner's appropriately to control the motion of the train. For an example, download this and play the Orbital Transfer Station with ships: http://www.pcgamemods.com/file.php?id=9adeb82fffb5444e81fa0ce8ad8afe7a

03-15-2003, 01:56 PM
More scripts?!Sounds like i'm gonna be useing a lot of them..... Ok then can someone please give me a tutorial on how to make and use scripts?

03-15-2003, 02:29 PM
The only tutorials for scripting I've seen are Kengo's and http://mapping.jediknightii.net/

Scripting is important for advanced maps because you can do so many things with it. It gets easier when you know what everything does and how to use it(duh). Look through the SP scripts for what you need.

03-15-2003, 02:47 PM
Wow!:drop2:Thanx this should help alot!So the scripts to disarm and make npcs invincible are in the sp scripts?

Leslie Judge
03-15-2003, 03:46 PM
I'm not sure they are there, but you can make your own.

If you study the SP scripts those will give you very good examples. Plus you have the ICARUS manual, so read it! :)

03-15-2003, 06:42 PM
Thanx for your help guys.:)