SWBF CUSTOM

The best way to custom your games.
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [résolu]Overriding 1st person texture?

View previous topic View next topic Go down 
AuthorMessage
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: [résolu]Overriding 1st person texture?   8/25/2012, 8:35 pm

I'd like to use 3 different types of 1st person skins. Normal, Geonosis, and Forest.

cis_1st_bdroid_hands_nor.tga
cis_1st_bdroid_hands_fcam.tga
cis_1st_bdroid_hands_geo.tga

How do I get those to appear in game? Even when I replace the original texture the skin stays the same.


Last edited by Glitch on 12/31/2012, 7:47 pm; edited 3 times in total
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
avatar

Messages : 1233
Registration Date : 2010-07-29
Age : 36
Location : Bespin: Cloud City

PostSubject: Re: [résolu]Overriding 1st person texture?   8/27/2012, 11:56 pm

Well my friend, I think its time for you to learn hexing. Real easy and simply for using multi skins on multi units of the same model.

Grab a hex editor Smile

Open the mesh model in the hex editor Wink (cis_1st_bdroid)

Find the texture name. (cis_1st_bdroid_hands)
NOTE: Some of them have 2 of the same name
cis_1st_bdroid_hands
cis_1st_bdroid_hands

Now simply change it (cis_1st_bdroid_hand1) and save

I changed the s in hands to 1.

cis_1st_bdroid_hand1
cis_1st_bdroid_hand1

Now your texture needs to be renamed to cis_1st_bdroid_hand1 or what ever you named it too.

IMPORTANT
----------------------------------------------------------
Do not exceed the name lenght (cis_1st_bdroid_hands) when hexing.

Bad: cis_1st_bdroid_elite_commando_super_powerful_hands
Unless you know how to calculate the size of the new name and the model its being done too.

Then model name can be changed to any lenght.

original 1st person view
-------------------------------------------------------------------


Hex 1st person view
-----------------------------------------------------------------------
Back to top Go down
View user profile
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [résolu]Overriding 1st person texture?   8/28/2012, 1:04 am

Awesome! Where did you find XSI Hex Editor? I googled it, not sure where the official site is.
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
avatar

Messages : 1233
Registration Date : 2010-07-29
Age : 36
Location : Bespin: Cloud City

PostSubject: Re: [résolu]Overriding 1st person texture?   8/28/2012, 1:15 am

Its not an xsi hex editor but an hex editor Laughing .

I use this one for fast model chunk insertion and quick name change

HxD
--------------------------------------------------------------------
http://mh-nexus.de/en/hxd/

And this one for calculating model chunks after inserting them

XVI31
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

Both are free.
Back to top Go down
View user profile
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [résolu]Overriding 1st person texture?   9/3/2012, 2:14 pm

Awesome. I'll let you know if I need any help with it. Thanks! Smile
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [résolu]Overriding 1st person texture?   12/21/2012, 3:18 am

After successfully hex editing a few skins. I decided to go back and correct things I never got around to. I attempted to hex edit the first person models, they worked in the msh viewer but not in game. I've done several manual cleans and gone over all the edited and new files several times. Nothing stood out.

Standard Skin (Hand1)
cis_1st_bdroid.msh
cis_1st_bdroid_hand1.tga
cis_1st_bdroid.msh.option (-nocollision -nogamemodel -keepmaterial override_texture)
cis_1st_bdroid_hand1.tga.option (-8bit -maps 1)

Geonosis Skin (Hand2)
cis_1st_bdroid_geo.msh
cis_1st_bdroid_hand2.tga
cis_1st_bdroid_geo.msh.option (-nocollision -nogamemodel -keepmaterial override_texture)
cis_1st_bdroid_hand2.tga.option (-8bit -maps 1)

Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
avatar

Messages : 1233
Registration Date : 2010-07-29
Age : 36
Location : Bespin: Cloud City

PostSubject: Re: [résolu]Overriding 1st person texture?   12/21/2012, 3:49 am

You must keep the names in same lenght.

my_default_skin_name
my_custom1_skin_name

if you go over the name lenght

my_default_skin_name
my_custom1_skin_name_five

you need to calculate the new bits in the msh

_five

then save.
Back to top Go down
View user profile
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

Messages : 408
Registration Date : 2012-04-02
Age : 22
Location : Baktoid Combat Automata

PostSubject: Re: [résolu]Overriding 1st person texture?   12/31/2012, 7:52 pm

Hex Edited 1st Person Geonosis Skin "cis_1st_gdroid.msh"
Uses the tga file "cis_1st_bdroid_hand2"

Hex Edited 1st Person Normal Skin "cis_1st_ndroid.msh"
Uses the tga file "cis_1st_bdroid_hand2"

added the appropriate lines to all req files (This is why it didnt work previously)
Spoiler:
 
Result
Spoiler:
 
Back to top Go down
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
Sponsored content




PostSubject: Re: [résolu]Overriding 1st person texture?   

Back to top Go down
 

[résolu]Overriding 1st person texture?

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» 3rd person view
» First Person That Comes To Your Mind When You Hear A Love SONG!
» Another new person topic
» rFactor texture issues
» Terrain Texture Links & Interesting Effects

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-