Jump to content

Home

How do I make a stormtrooper NPC friendly?


LordP

Recommended Posts

Create a new text file, name it stormtrooper.npc and fill it with this:

 

StormTrooper

{

playerModel stormtrooper

weapon WP_BLASTER

health 30

headPitchRangeDown 30

reactions 3

aim 1

move 3

aggression 3

evasion 1

intelligence 5

rank crewman

playerTeam TEAM_PLAYER

enemyTeam TEAM_ENEMY

// race klingon

class CLASS_STORMTROOPER

height 64

crouchheight 38

walkSpeed 51

runSpeed 200

snd st1

sndcombat st1

sndextra st1

yawspeed 70

walkSpeed 55

runSpeed 200

dismemberProbHead 0

dismemberProbArms 10

dismemberProbLegs 0

dismemberProbHands 20

dismemberProbWaist 0

}

 

 

Put it under ext_data\npcs\ into a pk3 file and start the game. The trooper shouldn't shoot you anymore.

 

The magic is done by the lines "playerTeam" and "enemyTeam".

 

NOTE: delete the pk3 or rename it to .zip, or the stormtroopers will be allied with you throughout the game.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...