Post by dengarde on Jul 8, 2011 23:20:55 GMT -5
How to Create or Alter survivors (Version 1)
Any information related to survivors (Aside from how they're placed in game) is located in datafile.big, in the items.txt file. There are many parameters used to determine how exactly a survivor acts.
Survivor entries come after the command cSurvivorItem Xxx. Replace xxx with whatever you would like this survivor to be called in the coding. It does not matter what it is as long as it is not in use my anything else. For the sake of this tutorial, I'm going to use srv_pat.
Now you should enter the various commands that create the survivor. Remember, anything besides "sSurvivorItem Xxx" needs to be sealed in {}. Otherwise, anything past that entry the game will not read.
Survivor property commands
Here, you'll find a list of commands to give your character. I'll go tough them one at a time. Remember to place X with any value you need.
Age = "X"
Determines what the displayed age is in the notebook.
Numbers Only. Leaving blank, not including, or using text in this field will result in the displayed age being "0"
AssetFilename = "data/models/npcs/X"
Determines which model will be used for said character. Chuck's clothing parts may also be used. Within he spoiler tag is a(n incomplete) list of character models that may be used with an unmodified npcs.big
boss_boykin //Sargent Boykin
boss_chef //Antione Thomas
boss_diva_t1 // Bibi love (High quality Model)
boss_hangman // Seymour Reddings
boss_looter // Looters (Low quality model)
boss_looter_t1 // Looters (High quality model)
boss_magician1 // Reed Wallbeck (Low quality model)
boss_magician1_t1 // Reed Wallbeck (High quality model)
boss_magician2 // Roger Withers (Low quality model)
boss_magician2_t1 // Roger Withers (High quality model)
boss_mascot // Brent Earnst
boss_mascotgirlfriend // Louise Jameson
boss_mechanic // Jed Wright (From Case Zero)
boss_mercenary // Mercenary in orange jumpsuit.
boss_militiamen1 // Deetz Hartman (Low quality model)
boss_militiamen1_t1 // Deetz Hartman (High quality model)
boss_militiamen2 // Derrick Duggan (Low quality model)
boss_militiamen2_t1 // Derrick Duggan (High quality model)
boss_militiamen3 // Earl Flaherty (Low quality model)
boss_militiamen3_t1// Earl Flaherty (High quality model)
boss_militiamen4// Johnny James (Low quality model)
boss_militiamen4_t1 // Johnny James (high quality model)
boss_postman // Carl Schliff
boss_protester // Brandon Whittaker (Low quality model)
boss_protester_t2 // Brandon Whittaker (High quality model)
boss_sexdeviant // Randy Tugman
boss_sexdeviantbride // Zombie bride
boss_ted_t1 // Ted Smith
boss_tk // Tyrone King (No coat/no injury)
boss_twingold // Amber Baily (Low quality model)
boss_twingold_t1 // Amber Baily (High quality model)
boss_twinsilver // Crystal Baily (Low quality model)
boss_twinsilver_t1 // Crystal Baily (High quality model)
boss_ultimatefan // Leon Bell
cast_katey // Katey Greene (Low quality model)
cast_kater_pro_t1 // Katey Greene (Case Zero model)
cast_katey_t1 // Katey Greene (High quality model)
cast_rebecca // Rebecca Chang (Low quality model)
cast_rebecca_bound // Rebecca Chang (Low quality model)
cast_rebecca_injured // Rebecca Chang (Low quality model)
cast_rebecca_t1 // Rebecca Chang (High quality model) See note 1
cast_stacey // Stacey Forsythe (Low quality model)
cast_stacey_t1 // Stacey Forsythe (High Quality model)
cast_sullivan // Raymond Sullivan (Low quality model)
cast_sullivan_boss // Raymond Sullivan (Boss model)
cast_sullivan_t1 // Raymond Sullivan (High quality model)
cast_tk_coat // Tyrone King (With coat/No injury/Low quality model)
cast_tk_coat_t1 // Tyrone King (With coat/No injury/High quality model)
cast_tk_coat_injured // Tyrone King (With coat/Injured/Low quality model)
cast_tk_coat_injured_t1 // Tyrone King (With coat/Injured/High quality model)
cast_tk_shirt // Tyrone King (No coat/No injury/Low quality model)
cast_tk_shirt_injured // Tyrone King (No coat/injured/Low quality model)
cast_tk_shirt_injured_t1 // Tyrone King (No coat/injured/High quality model)
cast_tk_shirt_t1 // Tyrone King (No coat/injured/Low quality model)
Note 1: Using Rebecca's high quality model anywhere where it's meant to be results in the bullet-hole always being visible.
Assisttype = "X"
Assisttype determines what kind of assintance your survivor will need. Hit the spoiler tag for details.
Assisttype = "0"
No assistance needed, no prompt will appear.
Assisttype = "1"
Character can be carried over shoulder.
Assisttype = "2"
Chuck can hold hands with the character
Assisttype = "3"
Chuck will carry the character on his back.
Assisttype = "4"
Chuck will carry the character in him arms.
Assisttype = "5 (And beyond)"
Glitch. Chuck is completely unable to move in this state,
CanDefect = "true/false"
CanFollow = "true/false"
As the name suggests, CanDefect determines whether or not a character can turn against you if you hurt them too much. CanFollow seems to have no effect, as the character can join you when called to do so anyways. If you find out what this does, feel free to leave a message.
Nature = "X"
Nature is one of the values that determine the idle animations for a character. The animations are different depending on whether or not the character is male or female.
Note that Nature = "0", will cause the survivor to always emit crying voices, regardless if Emitsurvivorhelp or emitsurvivorcall is enables or not.
Nature = "0"
Nature = "1"
Nature = "2"
Nature = "3"
Nature = "4"
Nature = "5 (and beyond)"
MORE INFO TO COME WHEN I'M NOT SO TIRED.
Any information related to survivors (Aside from how they're placed in game) is located in datafile.big, in the items.txt file. There are many parameters used to determine how exactly a survivor acts.
Survivor entries come after the command cSurvivorItem Xxx. Replace xxx with whatever you would like this survivor to be called in the coding. It does not matter what it is as long as it is not in use my anything else. For the sake of this tutorial, I'm going to use srv_pat.
Now you should enter the various commands that create the survivor. Remember, anything besides "sSurvivorItem Xxx" needs to be sealed in {}. Otherwise, anything past that entry the game will not read.
Survivor property commands
Here, you'll find a list of commands to give your character. I'll go tough them one at a time. Remember to place X with any value you need.
Age = "X"
Determines what the displayed age is in the notebook.
Numbers Only. Leaving blank, not including, or using text in this field will result in the displayed age being "0"
AssetFilename = "data/models/npcs/X"
Determines which model will be used for said character. Chuck's clothing parts may also be used. Within he spoiler tag is a(n incomplete) list of character models that may be used with an unmodified npcs.big
boss_boykin //Sargent Boykin
boss_chef //Antione Thomas
boss_diva_t1 // Bibi love (High quality Model)
boss_hangman // Seymour Reddings
boss_looter // Looters (Low quality model)
boss_looter_t1 // Looters (High quality model)
boss_magician1 // Reed Wallbeck (Low quality model)
boss_magician1_t1 // Reed Wallbeck (High quality model)
boss_magician2 // Roger Withers (Low quality model)
boss_magician2_t1 // Roger Withers (High quality model)
boss_mascot // Brent Earnst
boss_mascotgirlfriend // Louise Jameson
boss_mechanic // Jed Wright (From Case Zero)
boss_mercenary // Mercenary in orange jumpsuit.
boss_militiamen1 // Deetz Hartman (Low quality model)
boss_militiamen1_t1 // Deetz Hartman (High quality model)
boss_militiamen2 // Derrick Duggan (Low quality model)
boss_militiamen2_t1 // Derrick Duggan (High quality model)
boss_militiamen3 // Earl Flaherty (Low quality model)
boss_militiamen3_t1// Earl Flaherty (High quality model)
boss_militiamen4// Johnny James (Low quality model)
boss_militiamen4_t1 // Johnny James (high quality model)
boss_postman // Carl Schliff
boss_protester // Brandon Whittaker (Low quality model)
boss_protester_t2 // Brandon Whittaker (High quality model)
boss_sexdeviant // Randy Tugman
boss_sexdeviantbride // Zombie bride
boss_ted_t1 // Ted Smith
boss_tk // Tyrone King (No coat/no injury)
boss_twingold // Amber Baily (Low quality model)
boss_twingold_t1 // Amber Baily (High quality model)
boss_twinsilver // Crystal Baily (Low quality model)
boss_twinsilver_t1 // Crystal Baily (High quality model)
boss_ultimatefan // Leon Bell
cast_katey // Katey Greene (Low quality model)
cast_kater_pro_t1 // Katey Greene (Case Zero model)
cast_katey_t1 // Katey Greene (High quality model)
cast_rebecca // Rebecca Chang (Low quality model)
cast_rebecca_bound // Rebecca Chang (Low quality model)
cast_rebecca_injured // Rebecca Chang (Low quality model)
cast_rebecca_t1 // Rebecca Chang (High quality model) See note 1
cast_stacey // Stacey Forsythe (Low quality model)
cast_stacey_t1 // Stacey Forsythe (High Quality model)
cast_sullivan // Raymond Sullivan (Low quality model)
cast_sullivan_boss // Raymond Sullivan (Boss model)
cast_sullivan_t1 // Raymond Sullivan (High quality model)
cast_tk_coat // Tyrone King (With coat/No injury/Low quality model)
cast_tk_coat_t1 // Tyrone King (With coat/No injury/High quality model)
cast_tk_coat_injured // Tyrone King (With coat/Injured/Low quality model)
cast_tk_coat_injured_t1 // Tyrone King (With coat/Injured/High quality model)
cast_tk_shirt // Tyrone King (No coat/No injury/Low quality model)
cast_tk_shirt_injured // Tyrone King (No coat/injured/Low quality model)
cast_tk_shirt_injured_t1 // Tyrone King (No coat/injured/High quality model)
cast_tk_shirt_t1 // Tyrone King (No coat/injured/Low quality model)
Note 1: Using Rebecca's high quality model anywhere where it's meant to be results in the bullet-hole always being visible.
Assisttype = "X"
Assisttype determines what kind of assintance your survivor will need. Hit the spoiler tag for details.
Assisttype = "0"
No assistance needed, no prompt will appear.
Assisttype = "1"
Character can be carried over shoulder.
Assisttype = "2"
Chuck can hold hands with the character
Assisttype = "3"
Chuck will carry the character on his back.
Assisttype = "4"
Chuck will carry the character in him arms.
Assisttype = "5 (And beyond)"
Glitch. Chuck is completely unable to move in this state,
CanDefect = "true/false"
CanFollow = "true/false"
As the name suggests, CanDefect determines whether or not a character can turn against you if you hurt them too much. CanFollow seems to have no effect, as the character can join you when called to do so anyways. If you find out what this does, feel free to leave a message.
Nature = "X"
Nature is one of the values that determine the idle animations for a character. The animations are different depending on whether or not the character is male or female.
Note that Nature = "0", will cause the survivor to always emit crying voices, regardless if Emitsurvivorhelp or emitsurvivorcall is enables or not.
Nature = "0"
Nature = "1"
Nature = "2"
Nature = "3"
Nature = "4"
Nature = "5 (and beyond)"
MORE INFO TO COME WHEN I'M NOT SO TIRED.