Page 1 of 2

Major issue. >_<

Posted: Thu Apr 13, 2006 8:11 am
by Epena
So I put this space clone pilot into a ground-map.

I go to his parent class and edit his weapons. (I copied from the engineer, so thee can't be any issues spelling-wise) I save. I find rep_inf_ep3spacepilot.tga and edit that. I save. I munge.

Now, my pilot spawns, BUT his skin is the old one, as are his weapons..

All other classes of units have changed skins, so, yes, I do have the dc:. :P

You guys have any clue? Bandu and OOM-9 couldn't find a problem..can you?

:?

RE: Major issue. >.<

Posted: Thu Apr 13, 2006 2:20 pm
by [RDH]Zerted
Sounds like something is overwriting your settings. Find the pilot being included in your map then follow the parents all the way to the top checking out all the settings. Make sure your files aren't read-only too.

RE: Major issue. >.<

Posted: Thu Apr 13, 2006 3:43 pm
by Epena
There's only one parent for each class...

And nothing is read only. >.<

Posted: Thu Apr 13, 2006 9:53 pm
by -_-
Tell me more details.

Posted: Fri Apr 14, 2006 7:58 am
by Epena
Err..such as?
LUA wrote: ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_pilot",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_plokoon",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")


ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")


ReadDataFile("dc:SIDE\\plo.lvl",
"rep_hero_plokoon")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 300,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_pilot",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 300,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_plokoon")
I doubt it's in the lua, because he spawns...but, yeah.
rep_inf_default_pilot.odf wrote:[GameObjectClass]
ClassParent = "rep_inf_default"

[Properties]
UnitType = "pilot"

WEAPONSECTION
WeaponName = "rep_weap_inf_shotgun"
WeaponAmmo = 8

WEAPONSECTION
WeaponName = "rep_weap_inf_fusioncutter"
WeaponAmmo = 0

WEAPONSECTION
WeaponName = "rep_weap_inf_detpack"
WeaponAmmo = 4
WeaponChannel = 1

WEAPONSECTION
WeaponName = "rep_weap_inf_powerup_dispenser"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION
WeaponName = "rep_weap_award_shotgun"
WeaponAmmo = 8

VOUnitType = 121
Can't think of anything else to give you, hope that helped.

Posted: Fri Apr 14, 2006 12:55 pm
by Schizo
Put the modified skin in your sides "MSH -> PC" folder.

See if that works. Sometimes my skins don't work just by putting them in the MSH folder. I gotta put them in the PC folder too for them to work. It's worth a shot.

Posted: Fri Apr 14, 2006 5:15 pm
by Epena
Nope, didn't work. >_<

Posted: Fri Apr 14, 2006 9:03 pm
by Schizo
I see what you're doing wrong. You said in your first post you were editing "rep_inf_spacepilot". The pilot's texture is "rep_inf_ep3spacepilot".

Posted: Fri Apr 14, 2006 9:30 pm
by Epena
Hehe.

No, I just typed it up wrong in the topic. It really was rep_inf_ep3spacepilot.tga. It replaced the old one, and I have a backup in my BF1 & 2 Stuff folder on C:.

Thanks for trying...but any other ideas?

Posted: Fri Apr 14, 2006 9:51 pm
by Big_rich
Humm, I know that this is a problem for the tat_hover_skiff also, editing the odf, for speed, and weapon loadouts does not produce any results in the game. Is it possible that certian figures are hardcoded into the game? Or is it possible that these "unchangeables" are in the .msh's? I have no clue about models, so is this even possible?

Posted: Sat Apr 15, 2006 11:50 am
by Epena
Possibly, Ihave no way to access mshs, but I doubt that much, because the MSH is the actual model. It may indeed be hardwired into the game. In that case, it would suck, but at least I would know my issue.

Anyone, help?

*coughackfaceIgotyourmoreinfocoughack*

Posted: Sat Apr 15, 2006 11:52 am
by -_-
lol :wink:

or I can just do a brand new side of what you want and just upload it for ya to d/l.

Now, tell me more :twisted:

Posted: Sat Apr 15, 2006 2:31 pm
by Epena
Lol.

Its rep...

It has reskined troopers for each class of rep. The other troopers are still reskinned... I dunno what you want me to tell you, lol...

Posted: Sat Apr 15, 2006 2:36 pm
by Vyse
I am kind of confused as to whats happening but I think I had this same problem with cloaked Anikan. If doesn't apply forget the post lol! :wink:

If you have your custom unit loading while you are also loading the orginal mesh from the shipped game loading the Shipped mesh's skin will override any skin you have on your custom unit.

In other words if this is happening in your LUA. You have the shipped unit loading and your unit loading it doesn't matter if they are named different if you load a shipped mesh and a custom mesh that are the same the shipped skin will always override your custom unit.

ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",

ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",

Posted: Sat Apr 15, 2006 3:40 pm
by Schizo
I did a quick test to see if it would work, and nothing seems to be wrong here:

Image

Posted: Sat Apr 15, 2006 8:07 pm
by Vyse
Just thought it might sound silly but you did re munge your common right? Anytime you change the LUA you have to re munge the common in Visual munge. Just a thought.

Posted: Sat Apr 15, 2006 9:13 pm
by PvtParts
and did you make sure to select rep under sides when you munged?

Posted: Sun Apr 16, 2006 9:36 pm
by Epena
I friggin love you PvtParts! It's always those tiny details I miss, and expect some large problem..

The weapons work...but the skin still isn't working...

Schiz, what tga did you overwrite?

Posted: Sun Apr 16, 2006 10:24 pm
by PvtParts
so you edited the weapons skin?

show me your guys odf file, the weapons he uses odf file, and tell me the name of your soldier and weapon tga.

i can fix this im sure, its something simple i can tell.

Posted: Sun Apr 16, 2006 10:45 pm
by Epena
No, I replaced the soldier's skin.

Soldier tga is (supposedly) rep_inf_ep3spacepilot.tga . If it's otherwise, let me know..