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 Skin

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 Skin Empty
PostSubject: [résolu]Overriding Skin   [résolu]Overriding Skin I_icon_minitime6/3/2012, 11:45 pm

Created a new class that replaced the droideka. (A Jet Droid)

Made a new skin for it and named it "cis_inf_battledroid_jetdroid"
I added OverrideTexture "cis_inf_battledroid_jetdroid"

Heres how "cis_inf_droideka.odf" is set up

[Properties]
OverrideTexture = "cis_inf_battledroid_jetdroid"

GeometryName = "cis_inf_battledroid_jet2"
GeometryLowRes = "cis_inf_bdroid_low1"
SkeletonName = "bdroid"
SkeletonLowRes = "bdroidlz"

FirstPerson = "CIS\cisbdrd;cis_1st_bdroid"

AISizeType = "HOVER"

ControlSpeed = "jet 1.50 1.25 1.25"

JetJump = "5.0" //7 //The initial jump-push given when enabling the jet
JetPush = "8.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "30.0" //Acceleration while hovering.
JetEffect = "cis_sfx_jet_droid"
JetType = "hover"
JetFuelRechargeRate = "0.12" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.16" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.25" //initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.24" //minimum fuel to perform a jet jump(fuel is 0 to 1)

CAMERASECTION = "STAND"

EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 3.5"
TiltValue = "7.5"

//These probably need to be set
//CAMERASECTION = "STANDZOOM"
//EyePointOffset = "0.0 1.8 0.0"
//TrackCenter = "0.0 1.8 0.0
//TrackOffset = "0.4 0.05 2.8"
//TiltValue = "3.5"

CAMERASECTION = "CROUCH"

EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "0.0 1.3 0.0
TrackOffset = "0.0 0.15 3.5"
TiltValue = "7.5"

//These probably need to be set
//CAMERASECTION = "CROUCHZOOM"
//EyePointOffset = "0.0 1.3 0.0"
//TrackCenter = "0.0 1.3 0.0
//TrackOffset = "0.4 0.2 2.8"
//TiltValue = "3.5"


CollisionScale = "0.0 0.0 0.0"

EngineSound = "rep_inf_Jetpack_engine_parameterized"
TurnOnSound = "rep_weap_jetpack_turnon"
TurnOffSound = "rep_weap_jetpack_turnoff"
TurnOffTime = 0.0

I have no idea why the skin wont show up in game. It just uses the original battle droid skin every time i munge.
Can you help me? (I highlighted the changes I made to the original jettrooper odf info)

(Icemember I tried a different method, Instead of naming it "cis_inf_battledroid_green" and replacing a file, I named it "cis_inf_battledroid_jetdroid" Not sure if that will make a difference but its worth a try)

This is the skin I'm trying to add, I'm thinking about editing the head a bit as well.

[résolu]Overriding Skin 21bq7w7


Last edited by Glitch on 8/26/2012, 3:20 am; 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 Skin Empty
PostSubject: Re: [résolu]Overriding Skin   [résolu]Overriding Skin I_icon_minitime6/4/2012, 12:12 am

Let try this for ruling out problems.

For the time being try it in this order.

----------------------------------------------------------------
GeometryName = "cis_inf_battledroid_jet2"
GeometryLowRes = "cis_inf_bdroid_low1"
SkeletonName = "bdroid"
SkeletonLowRes = "bdroidlz"

FirstPerson = "CIS\cisbdrd;cis_1st_bdroid"

OverrideTexture = "cis_inf_battledroid_jetdroid"

Also your model should have an option file telling it to keep the override texture.
Example
--------------------------------------------
cis_inf_bdroid<-----------------------model name
cis_inf_bdroid.msh<------------------option file name

Inside the option file: -keepmaterial override_texture

Look at your assets, the CIS folder and simply grab an option file. (cis_inf_bdroid.msh) .option

The option file must be the same name of your model.

In your case: cis_inf_battledroid_jet2.msh.option

Same rules for the low rez model.




Last edited by Icemember on 6/4/2012, 12:17 am; edited 2 times in total (Reason for editing : Adding info)
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 Skin Empty
PostSubject: Re: [résolu]Overriding Skin   [résolu]Overriding Skin I_icon_minitime6/4/2012, 6:22 pm

Fixed it. It was the option file. Thanks!
Back to top Go down
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
Sponsored content




[résolu]Overriding Skin Empty
PostSubject: Re: [résolu]Overriding Skin   [résolu]Overriding Skin I_icon_minitime

Back to top Go down
 

[résolu]Overriding Skin

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

 Similar topics

-
» [résolu]Overriding Low Res Texture?
» [résolu]Overriding 1st person texture?
» Need help for a new skin-mod
» Need Help with my first skin-mod
» [résolu]Animation

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