Page 1 of 1

Changing skins (help still needed)

Posted: Mon Jul 07, 2008 11:14 pm
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"

Re: Changing skins

Posted: Tue Jul 08, 2008 9:28 am
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.

Re: Changing skins

Posted: Tue Jul 08, 2008 10:17 am
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.

Re: Changing skins

Posted: Tue Jul 08, 2008 11:28 am
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?

Re: Changing skins

Posted: Tue Jul 08, 2008 11:58 am
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!

Re: Changing skins

Posted: Tue Jul 08, 2008 1:12 pm
by Teancum
Also weapons should be organized by channels. Primary weapons should all be first and secondary should be last.

Re: Changing skins (still need help)

Posted: Tue Jul 08, 2008 3:12 pm
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"