darthplite Posted July 4, 2003 Posted July 4, 2003 1.Is it possible to change light saber colors with a script? 2.How would you give a rodian force powers and use them ? 3.How would you make an npc sit?
JavaGuy Posted July 4, 2003 Posted July 4, 2003 1. I am not aware of any way to change the saber color in a script, but you can set it in the npcs.npc file. See #2. 2. Make a new NPC. Here's the entry in the config file (note the saberColor tag!): RebornRodian { fullName "Some Guy" playerModel rebornrodian saberColor red rank captain reactions 3 aim 3 move 5 aggression 3 evasion 5 intelligence 5 hfov 160 vfov 160 scale 100 height 64 crouchheight 42 width 18 playerTeam enemy enemyTeam player // race human class tavion yawSpeed 120 walkSpeed 55 runSpeed 200 snd rodian sndcombat rodian sndjedi rodian health 200 dismemberProbHead 10 dismemberProbArms 35 dismemberProbLegs 10 dismemberProbHands 50 dismemberProbWaist 10 } You can set his level of Force powers using SET_FORCE_PUSH_LEVEL and so on. 3. This is an ICARUS thing. affect ( "my_npc", /*@AFFECT_TYPE*/ FLUSH ) { set ( "SET_ANIM_BOTH", "BOTH_STAND5TOSIT2" ); set ( "SET_ANIM_HOLDTIME_BOTH", $-1$ ); } Download the ModView program to look at the models and check out all the animation. Using ICARUS to animate your NPCs can add a lot to a game.
RenikDelan Posted July 5, 2003 Posted July 5, 2003 1. There's a script file over at JK2files.com that changes the colors with a bind instead of going through the menu.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.