Jump to content

Home

Scripting questions.


darthplite

Recommended Posts

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...