|
2 years Il y a ::
Oct 09, 2011 - 7:31PM
#1
|
|
|
Is it possiable to model swap an NPC for another?
|
|
|
|
2 years Il y a ::
Oct 10, 2011 - 9:44AM
#2
|
|
|
Yes it is, are you looking for a tutorial on how to do it or did you just want to know?
Modder of Saint's Row 2 for two years.
|
|
|
|
2 years Il y a ::
Oct 10, 2011 - 11:53AM
#3
|
|
|
A tutorial would be nice, or just a simple explanation.
|
|
|
|
2 years Il y a ::
Oct 11, 2011 - 8:18AM
#4
|
|
|
A tutorial would be nice, or just a simple explanation.
Every NPC has 4 files allocated to it; a "name_cha.xtbl", a "name_pre.xtbl", a "name_des.xtbl" and "name.xtbl".
In the _cha file, it has all the technical stuff. Namely the mesh file, morph file, height, etc.
In the _des file, it has how the NPC can be spawned. Most of them have the same entry, so never mind that.
In the normal .xtbl file, it has all the parts of the NPC. These are not editable. Any changes will not take effect.
And finally, the one we need, the _pre file. It has character flags, what gang they belong to, and their behaviour when spawned.
But the best entry is "character". It references character.xtbl where it lists all the possible NPCs.
So if I changed that entry in "npc_Tobias_pre.xtbl" from "<character>npc_Tobias</character>" to "<character>npc_ZombMale_C</character>", then in any missions, Tobias would be a zombie.
Same with snpc files, which are cutscene NPCs.
This explanation requires some slight knowledge of SR2 modding.
Modder of Saint's Row 2 for two years.
|
|
|
|
2 years Il y a ::
Oct 11, 2011 - 7:11PM
#5
|
|
|
Thanks for the help, but when I rename the files, the character I want doesn't appear. Am I suppose to change everything except name.xtbl, _cha file and _pre file, or just the _pre file?
|
|
|
|
2 years Il y a ::
Oct 12, 2011 - 9:15AM
#6
|
|
|
Thanks for the help, but when I rename the files, the character I want doesn't appear. Am I suppose to change everything except name.xtbl, _cha file and _pre file, or just the _pre file?
Why are you renaming the files? And you ONLY have to change the _pre file, replacing the <character> parameter with another character's.
Modder of Saint's Row 2 for two years.
|
|
|
|
2 years Il y a ::
Oct 12, 2011 - 1:45PM
#7
|
|
|
You mean like this?: <Preset> <Name>npc_stripper_female</Name> <Character>npc_elderly_male</Character> <Spawn_Info_Rank>Civilian - Normal</Spawn_Info_Rank> <Team>Civilian</Team> <AI_Personality>civilian normal</AI_Personality> <_Editor> <Category>Entries</Category> </_Editor> <Flags> <Flag>use_gang_color_scheme</Flag> <Flag>never_use_walk_variants</Flag> If this is what your talking about, I did this.
|
|
|
|
2 years Il y a ::
Oct 13, 2011 - 11:00AM
#8
|
|
|
Yep, that's the way.
Modder of Saint's Row 2 for two years.
|
|
|
|
2 years Il y a ::
Oct 13, 2011 - 3:41PM
#9
|
|
|
My male strippers are having problems DX, but thanks for the help though
|
|
|
|
2 years Il y a ::
Oct 14, 2011 - 8:54AM
#10
|
|
|
Modder of Saint's Row 2 for two years.
|
|
|