Jump to content

Home

Creating new NPCs.


Scoundrel

Recommended Posts

Here's an example of what an Obi-Wan .npc file could look like...

 

Obi-Wan

{

playerModel obi-wan

saber jedi

saberColor blue

weapon WP_SABER

saberStyle 6

FP_HEAL 2

FP_LEVITATION 3

FP_SPEED 3

FP_PUSH 3

FP_PULL 2

FP_TELEPATHY 2

FP_GRIP 0

FP_LIGHTNING 0

FP_RAGE 0

FP_PROTECT 2

FP_ABSORB 2

FP_DRAIN 0

FP_SEE 2

FP_SABERTHROW 3

FP_SABER_DEFENSE 3

FP_SABER_OFFENSE 3

rank commander

reactions 5

aim 5

move 5

aggression 5

evasion 5

intelligence 5

playerTeam TEAM_PLAYER

enemyTeam TEAM_ENEMY

class CLASS_JEDI

yawSpeed 140

walkSpeed 55

runSpeed 200

snd obi-wan

sndcombat obi-wan

sndjedi obi-wan

health 400

dismemberProbHead 0

dismemberProbArms 5

dismemberProbLegs 0

dismemberProbHands 10

dismemberProbWaist 0

}

 

Just wait for Prime to make a tutorial. That should show you exactly what to do.

Link to comment
Share on other sites

Ha, Ha! I have had the same question.... I plan to make a reincarnated Vader & Maul, similar to the comic book episode where Maul is brought back and fights Vader... I'd like to have the option to have a good version of them too, for an alternate story like... it would be awesome to fight along side of Luke, Maul, Vader and maybe Yoda even!

 

Cheers,

-VanishingVision

Link to comment
Share on other sites

Player models are in Base\models\player\charactername\

 

The saberStyle variable locks the NPCs saber stance.

1-2-3 are the single saber stances - fast, medium, strong;

4-Desann, 5-Tavion, 6-dual, 7-staff.

 

You wouldn't want, in that NPC, to have only saberStyle 6.

You would want:

saberStyle 1

saberStyle 2

saberStyle 3

and the Obi-Wan NPC would use all the single saber stances. Hell, it's Obi-Wan, give him Desann and Tavion's too!

saberStyle 4

saberStyle 5

 

For more customation, also look into some of the saber entries as well. Make some unique attributes to the saber the NPC has.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...