Scripting Notes

EnderWiggin

First time out of the vault
As I am starting a new mod project from the ground up, I'm wondering if I can pull from the knowledge of those who have already worked in Fallout modding.

I'm sure that I will find a lot surfing through the archives of this very forum, which I intend to do. However, I'm wondering if any of the scripters/mappers have put together some personal notes they'd be willing to share.

Our mapper for instance is looking for info on catloguing the item numbers. Has anyone made a list of the global variables, or other such reference material that will be of help?

Thanks for your time.
 
global variables can be found in global.h in the scripts\headers folder that comes with the official mapper..

item numbers ( PID's i'm assuming you mean??? ) are stored in itempid.h in the headers folder..

critter numbers in critrpid.h
scenery in scenepid.h


please note that these numbers are by no means complete..
to find a PID of an object, edit its proto and change something ( like make it transparent or something easy like that.. ) and if you did your proto editing set up like it say's in my tutorial ( see link in my sig.. ) then it will save a text file in the relavent category directory under C:\fallout2\dev\proto\

in that text file it will list various details of the proto, one of which is it's PID number...


here is an example text file...
Code:
pid: 533 00000533
name: Environmental Armour MkII
message_num: 53300
fid: 52 robe
light_distance: 0
light_intensity: 0
flags: -1610612728
flags_ext: 40960
sid: -1
type: Armor
d.ac: 15
d.dam_resist0: 0
d.dam_resist1: 0
d.dam_resist2: 0
d.dam_resist3: 0
d.dam_resist4: 0
d.dam_resist5: 0
d.dam_resist6: 0
d.dam_thresh0: 0
d.dam_thresh1: 0
d.dam_thresh2: 0
d.dam_thresh3: 0
d.dam_thresh4: 0
d.dam_thresh5: 0
d.dam_thresh6: 0
d.perk: None
d.male_fid: 16777218 harobe,11,1
d.female_fid: 16777218 harobe,11,1
material: Metal
size: 1
weight: 10
cost: 0
inv_fid: 117440610 robeinv
the PID number is the first number after pid.. remember to put in preceeding zeros to make it an 8 digit number.. ( so 533 becomes 00000533 )
 
Back
Top