Major issue. >_<

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

User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Major issue. >_<

Post 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?

:?
Last edited by Epena on Fri Apr 14, 2006 9:28 pm, edited 2 times in total.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Major issue. >.<

Post 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.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 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: Major issue. >.<

Post by Epena »

There's only one parent for each class...

And nothing is read only. >.<
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post by -_- »

Tell me more details.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
Schizo

Post 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.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

Nope, didn't work. >_<
Schizo

Post 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".
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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?
Big_rich

Post 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?
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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*
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Post 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:
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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...
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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",
Schizo

Post by Schizo »

I did a quick test to see if it would work, and nothing seems to be wrong here:

Image
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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.
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post by PvtParts »

and did you make sure to select rep under sides when you munged?
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post 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?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

Post 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.
Last edited by PvtParts on Sun Apr 16, 2006 10:27 pm, edited 1 time in total.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

No, I replaced the soldier's skin.

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