Changing skins (help still needed)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Changing skins (help still needed)

Post by wishihadaname »

ok so i figure that the geometry name is the skin name (.msh) file that creates a units overcoat of colors but i wanna edit one of those msh file what program do i do that with cas it won't open in paint what program do i use?

EDIT: also i had another strange issue. i can't seem to have more then 4 weapons even though they are all labaled correctly i can't have more then 4 it won't let me switch also the lightsaber i gave to luke seems to keep him from being able use grenades/medpacks excetera

BTW here is my odf if you need it
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "soldier"
ClassParent = "all_inf_default"
GeometryName = "all_inf_stormtrooperlukeskywalker.msh"

[Properties]

UnitType = "Trooper"
IconTexture = "all_soldier_icon"

GeometryName = "all_inf_stormtrooperlukeskywalker"
GeometryLowRes = "all_inf_stormtrooperlukeskywalker_low1"
FirstPerson = "all\alllstrm;all_1st_stormtrooper"


HealthType = "person"
MaxHealth = 4200.0

MaxSpeed = 7.5
MaxStrafeSpeed = 4.5
MaxTurnSpeed = 4.00

WEAPONSECTION = 1
WeaponName1 = "all_weap_inf_rifle"
WeaponAmmo1 = 4

WEAPONSECTION = 2
WeaponName2 = "all_weap_lightsaber"
WeaponAmmo2 = 0

WEAPONSECTION = 3
WeaponName3 = "all_weap_inf_thermaldetonator"
WeaponAmmo3 = 4
WeaponChannel3 = 1

WEAPONSECTION = 4
WeaponName4 ="all_weap_inf_buff_health"
WeaponAmmo = 4
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName5 ="all_weap_sniper_rifle"
WeaponAmmo = 2

WEAPONSECTION = 6
WeaponName6 ="all_weap_buff_invuln"
WeaponAmmo = 1
WeaponChannel = 1

WEAPONSECTION = 7
WeaponName7 ="com_weap_inf_force_push"
WeaponAmmo = 0
WeaponChannel = 1

FoleyFXClass = "imp_inf_trooper"

SndHeroSelectable = ""
SndHeroSpawned = "hero_luke_spawn"
SndHeroDefeated = "hero_luke_exhausted"
SndHeroKiller = "hero_luke_exhausted"

VOSound = "all_off_response_hero_command SC_Follow"
VOSound = "all_off_response_hero_command SC_StopFollow"
VOSound = "all_off_response_hero_command SC_VehicleWaitUp"
VOSound = "all_off_response_hero_command SC_GetIn"
VOSound = "all_off_response_hero_command SC_GetOut"

VOSound = "hero_luke_AcquiredTarget AcquiredTarget"
VOSound = "hero_luke_KillingSpree4 KillingSpree4"

VOUnitType = 184
SoldierMusic = "all_hero_Luke_lp"
Last edited by wishihadaname on Wed Jul 09, 2008 12:41 pm, edited 1 time in total.
User avatar
Blade
Captain
Captain
Posts: 496
Joined: Fri Apr 04, 2008 11:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Changing skins

Post by Blade »

wishihadaname wrote:ok so i figure that the geometry name is the skin name (.msh) file that creates a units overcoat of colors but i wanna edit one of those msh file what program do i do that with cas it won't open in paint what program do i use?
Actually, the skin name is a .tga. They are found in the MSH folder of each side. Get a program like The GIMP (Can be downloaded at http://www.gimp.org/), and then browse to the MSH folder for the side that you want to change the skins, look around for the skin you want to change, open it up, and mess around with it to your liking. A good skinning tutorial can also be found at http://www.gametoast.com/forums/viewtop ... 27&t=13184, to answer other questions you may have.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Changing skins

Post by Teancum »

You can have a max of 8 weapons, but only 4 on each channel. That's why only 4 secondary weapons show up.
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: Changing skins

Post by wishihadaname »

ok thanks for the skinning tip and tutorial. but what about my weapons? i only have 7 and i have 4 secondaries 3 primaries but it only shows up the first 2 primaries and first 2 secondaries what gives? also when i try to use a secondary it won't let me im guessing its because i have a lightsaber how do i fix this problem?
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: Changing skins

Post by elfie »

wishihadaname wrote:ok thanks for the skinning tip and tutorial. but what about my weapons? i only have 7 and i have 4 secondaries 3 primaries but it only shows up the first 2 primaries and first 2 secondaries what gives? also when i try to use a secondary it won't let me im guessing its because i have a lightsaber how do i fix this problem?
The thing with the lightsaber is if you set it as the first primary:
Hidden/Spoiler:
[code]WEAPONSECTION = 1
WeaponName1 = "jed_weap_lightsaber_obiwan"
WeaponAmmo1 = 0
[/code]
then you will not be able to change weapons. If you set it as the second (or later) primary:
Hidden/Spoiler:
[code]
WEAPONSECTION = 1
WeaponName1 = "all_weap_inf_rifle"
WeaponAmmo1 = 3
WEAPONSECTION = 2
WeaponName2 = "jed_weap_lightsaber_obiwan"
WeaponAmmo2 = 0
[/code]
with a ranged weapon before it that doesn't have WeaponChannel before it than you will be able to switch from blaster the lightsaber/ melee weapon at your liking. I would also recommend reading the jedi creation.doc included in the modtools under documentation.

Oh, and offtopic: Blade, thanks for directing him to my tutorial. I hope it helped!
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Changing skins

Post by Teancum »

Also weapons should be organized by channels. Primary weapons should all be first and secondary should be last.
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Re: Changing skins (still need help)

Post by wishihadaname »

disregard all that from earlier i figured it out took like 2 hours though :funny2:. anyway i have only one well two problems before i can finally finish up my unit.

problem uno) why won't he use his secondaries? idk why but i can neigther switch nor use my secondary weapons its really skrewy and its not even lightsaber related cas i tried replacing it with a shotgun any ideas as to whats up?

problem dos) how do i edit the actual shape of my unit he looks too much like a swamp trooper. what do i do to change his geometry (what file is that anyway ?)

ahh ya and here is my odf
[GameObjectClass]
ClassLabel = "soldier"
ClassParent = "com_jedi_default"
GeometryName = "all_inf_stormtrooperlukeskywalker.msh"

[Properties]
AISizeType = "HOVER"

GeometryName = "all_inf_stormtrooperlukeskywalker"
GeometryLowRes = "all_inf_stormtrooperlukeskywalker_low1"
FirstPerson = "all\alllstrm;all_1st_stormtrooper"



JetJump = "10.0" //The initial jump-push given when enabling the jet
JetPush = "0.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "10.0" // for characters with jet jump, use this acceleration for in air control
JetEffect = ""
JetFuelRechargeRate = "0.0" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.0" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.0" //4initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.0" //minimum fuel to perform a jet jump(fuel is 0 to 1)
JetShowHud = 0
JetEnergyDrain = 10.0

CollisionScale = "0.0 0.0 0.0" // don't take damage from collisions

WEAPONSECTION = 1
WeaponName = "all_weap_inf_rifle"
WeaponAmmo = 10

WEAPONSECTION = 2
WeaponName = "all_weap_lightsaber"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "all_weap_inf_shotgun"
WeaponAmmo = 3

WEAPONSECTION = 4
WeaponName = "all_weap_award_rifle"
WeaponAmmo = 5

WEAPONSECTION = 5
WeaponName = "all_weap_award_shotgun"
WeaponAmmo = 3

WEAPONSECTION = 6
WeaponName ="com_weap_inf_force_push"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 7
WeaponName ="all_weap_inf_buff_health"
WeaponAmmo = 4
WeaponChannel = 1

WEAPONSECTION = 8
WeaponName ="all_weap_inf_autoturret_dispencer"
WeaponAmmo = 4
WeaponChannel = 1

VOUnitType = 184
SoldierMusic = "all_hero_Luke_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
//ShockFadeOutTime = "0.8"
//ShockFadeInTime = "2.0"
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"

FoleyFXClass = "all_inf_soldier"

SndHeroSelectable = ""
SndHeroSpawned = "hero_luke_spawn"
SndHeroDefeated = "hero_luke_exhausted"
SndHeroKiller = "hero_luke_exhausted"

VOSound = "all_off_response_hero_command SC_Follow"
VOSound = "all_off_response_hero_command SC_StopFollow"
VOSound = "all_off_response_hero_command SC_VehicleWaitUp"
VOSound = "all_off_response_hero_command SC_GetIn"
VOSound = "all_off_response_hero_command SC_GetOut"

VOSound = "hero_luke_AcquiredTarget AcquiredTarget"
VOSound = "hero_luke_KillingSpree4 KillingSpree4"
Post Reply