npc-adding

Nidhacker

First time out of the vault
got a problem,
i added via mapper (original) that guy of the brotherhood without helmlet, i put that guy into that arttemple map and it does work, i made only a dat wich contains the two map files, i don't know anything about scripting so i set up a script from cassidy on that guy via mapper ---> i can talk with him and he join me but i can't barter with him he don't show his combat system in the dialog and can't us a weapon (did not try all) - the main roblem off npc i added this way is that they don't walk along with me they just stay where they are but fight on my side

thx for any help
 
but i can't barter with him

In mapper you can set barter flag of a critter prototype if you set it to YES he will barter with player.

he don't show his combat system in the dialog
To have that you must add your new NPC to party.txt file(in data folder)
BTW this will have effect on old savegames(they just stop to work)
Sample entry for Sulik:
Code:
[Party Member 4]   ; pMSulik_PID 
party_member_pid=16777313 
area_attack_mode=always, sometimes, be_careful, , be_absolutely_sure 
attack_who=whomever_attacking_me, strongest, weakest, whomever, closest 
best_weapon=no_pref, melee, melee_over_ranged, ranged_over_melee, ranged, unarmed 
chem_use=clean, stims_when_hurt_little, stims_when_hurt_lots, sometimes, anytime, always 
distance=stay_close, charge, snipe, on_your_own, stay 
run_away_mode=none, coward, finger_hurts, bleeding, not_feeling_good, tourniquet, never 
disposition=none, custom, defensive, aggressive, berserk 
level_minimum=6 
level_up_every=3 
level_pids=16777526,16777527,16777528,16777529,16777530,16777531


and can't us a weapon
This critter (guy of the brotherhood without helmet) has a very few animation types included so he can use just one type of weapon(don't remember now).



the main roblem off npc i added this way is that they don't walk along with me they just stay where they are but fight on my side
Walking is done in script so if you used Cassidy script and made him join it should walk after you.
The best way is just to write your own script for that new NPC.
 
jargo said:
This critter (guy of the brotherhood without helmet) has a very few animation types included so he can use just one type of weapon

Ten bucks say it's miniguns (and Gatling Lasers).
 
thx for ya help
i always set scripts from npc's that already exist but they do not work along do ya have a tutorial for me so i can see and understand exactly what kind of files i have to pack into a dat and how to edit them
thx for all ya help
 
First You don't need to pack any files in dat you can just put them in subfolders of fallout2/data dir.
Party.txt file should go to fallout2/data/data dir.
For a tutorial on scripting see this site
 
thx for that but scripting is so complex i just wanna know what kind of files must be edited or scripted by changing or adding a npc?
 
Well

1) You need new critter for your NPC

2) Add entry to Party.txt file

3) Write script for that NPC

That's all.
As You see without scripting you just can't add a real working NPC.
 
Back
Top