Npc question? -1 reply

Please wait...

DarthAnger133

DarthAnger133

50 XP

24th July 2009

0 Uploads

123 Posts

0 Threads

#1 8 years ago

I was just wondering if anyone could point me in the direction of how to make an exact duplicate of an npc but with a different weapon e.g making another stormtrooper, identical to its predecessor except it wields a lightsaber. (Like in the original drafts of a new hope)

Any Helpful comments are welcomed.




eezstreet

Lord of the .DCC files

50 XP

16th June 2008

0 Uploads

2,662 Posts

0 Threads

#2 8 years ago

DarthAnger133;5372175I was just wondering if anyone could point me in the direction of how to make an exact duplicate of an npc but with a different weapon e.g making another stormtrooper, identical to its predecessor except it wields a lightsaber. (Like in the original drafts of a new hope)

Any Helpful comments are welcomed.

Copy/Paste reborn .npc file, and change the model type to Stormtrooper.




Guest

I didn't make it!

0 XP

 
#3 8 years ago

Open up assets1.pk3 and go to the folder ext_data/npcs and you will find a load of files. Copy out the one you want to edit (ie stormtrooper) and rename it. Open up the file and there is a load of stuff like 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_ENEMY enemyTeam TEAM_PLAYER // 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 } Delete any npcs you don't want to edit from the file (ie in the stormtrooper file there are two npcs. If you just want the first one delete everything from where it says "StormTrooper 2" downwards.

Now you should see a line like this: weapon WP_BLASTER Change that to the weap you want (WP_FLECHETTE or WP_SABER or WP_MELEE or WP_DISRUPTOR etc)

Now change the name at the top of the file above the "{" to something else (ie stormtrooper_disruptor)

Now save your file and make a new pk3 putting your file in the ext_data/npcs folder

put that pk3 in base and your done.

edit: or what eez said =P




DarthAnger133

DarthAnger133

50 XP

24th July 2009

0 Uploads

123 Posts

0 Threads

#4 8 years ago

Thanks guys -Thread closed- I know i don't have the power to do so but meh