Page 1 of 1

Battle Droid 1st Person [Solved]

Posted: Mon Dec 31, 2012 2:28 pm
by Glitch25
Hex Edited 1st Person Geonosis Skin "cis_1st_gdroid.msh"
Uses the tga file "cis_1st_bdroid_hand2"
Hidden/Spoiler:
Image
Hex Edited 1st Person Normal Skin "cis_1st_ndroid.msh"
Uses the tga file "cis_1st_bdroid_hand1"
Hidden/Spoiler:
Image
This is what appears in game (Hand 1 Left, Hand 2 Right) As you can see both 1st person models do not appear in game.
Hidden/Spoiler:
Image
odf code (Geonosis)

Code: Select all

[GameObjectClass]
ClassParent         = "cis_inf_default_rifleman"


[Properties]
GeometryName            = "cis_inf_bdroid"
GeometryLowRes          = "cis_gb1_bdroid_low1"
SkeletonName            = "bdroid"
SkeletonLowRes          = "bdroidlz"

FirstPerson             = "CIS\cisbdrd;cis_1st_gdroid"

OverrideTexture         = "cis_inf_battledgeo1"
odf code (Normal)

Code: Select all

[GameObjectClass]
ClassParent         = "cis_inf_default_rifleman"


[Properties]
GeometryName            = "cis_inf_bdroid"
GeometryLowRes          = "cis_inf_bdroid_low1"
SkeletonName            = "bdroid"
SkeletonLowRes          = "bdroidlz"

FirstPerson             = "CIS\cisbdrd;cis_1st_ndroid"

OverrideTexture         = "cis_inf_battledroid"
The original tga file name within the msh files was "cis_1st_bdroid_hands" I simply replaced the "s" with a "1" or "2" keeping the original name length. I did several manual cleans in the hopes that it would work. It did not. I've checked and rechecked both the hex edited msh's and the odf files, nothing stood out...

Can someone please help? :(

Re: Battle Droid 1st Person

Posted: Mon Dec 31, 2012 3:09 pm
by Dreadnot9
Alright, what you're going to want to do is add the models into your sides req files like so:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"lvl"
"your_units_names_go_here"
}

REQN
{
"model"
"put the names of your first person models here"
}
}[/code]
After that, in your odf use this line:
Hidden/Spoiler:
[code]FirstPerson = "*side name*\*side name*;*name of first person model*"[/code]
Obviously put the appropriate names in the appropriate place. Once that's done, munge and your first person(s) should show up.

Re: Battle Droid 1st Person

Posted: Mon Dec 31, 2012 3:15 pm
by AceMastermind
You customized the 1st person msh files, the game needs to know this. The custom 1st person msh files won't get packed into the side lvl file unless you specify this in the side req. This will let Visual Munge know what to do with them when munging. What steps did you take to set this custom side up with custom 1st person msh files?

http://www.gametoast.com/forums/viewtop ... 33#p466233

Re: Battle Droid 1st Person

Posted: Mon Dec 31, 2012 3:19 pm
by Glitch25
1. Created two tga files for the 1st person skins. "cis_1st_bdroid_hand2" and "cis_1st_bdroid_hand1"
2. Opened up msh's "cis_1st_gdroid" and "cis_1st_ndroid" in a hex editor
3. Replaced the "s" in "cis_1st_bdroid_hands" with a "1" or "2" keeping the original name length

I'm about to give Dreadnot9's suggestion a munge. I'll get back to this.

Edit: Worked! Thanks guys! :D
Image