SWBF CUSTOM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SWBF CUSTOM

The best way to custom your games.
 
HomeLatest imagesSearchRegisterLog in

Share
 

 [résolu]Overriding 1st person texture?

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

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

[résolu]Overriding 1st person texture? Empty
PostSubject: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime8/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
Icemember

Messages : 1241
Registration Date : 2010-07-29
Age : 43
Location : Bespin: Cloud City

[résolu]Overriding 1st person texture? Empty
PostSubject: Re: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime8/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
-------------------------------------------------------------------
[résolu]Overriding 1st person texture? Cisoriginal

Hex 1st person view
-----------------------------------------------------------------------
[résolu]Overriding 1st person texture? Cisnewhands
Back to top Go down
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

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

[résolu]Overriding 1st person texture? Empty
PostSubject: Re: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime8/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
Icemember

Messages : 1241
Registration Date : 2010-07-29
Age : 43
Location : Bespin: Cloud City

[résolu]Overriding 1st person texture? Empty
PostSubject: Re: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime8/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
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

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

[résolu]Overriding 1st person texture? Empty
PostSubject: Re: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime9/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

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

[résolu]Overriding 1st person texture? Empty
PostSubject: Re: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime12/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)

[résolu]Overriding 1st person texture? Derpsv
Back to top Go down
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
Icemember

Messages : 1241
Registration Date : 2010-07-29
Age : 43
Location : Bespin: Cloud City

[résolu]Overriding 1st person texture? Empty
PostSubject: Re: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime12/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
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

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

[résolu]Overriding 1st person texture? Empty
PostSubject: Re: [résolu]Overriding 1st person texture?   [résolu]Overriding 1st person texture? I_icon_minitime12/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
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Sponsored content




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

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

-
» [résolu]Overriding Low Res Texture?
» [résolu]Overriding Skin
» [résolu]Need help with sound
» Blocky Texture issue
» Change texture names on models

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