Model replacing problem

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
Darth_Veritus

Model replacing problem

Post by Darth_Veritus »

I was trying to replace the remote droid model with another one. It doesn't work & I always get a default remote droid model ingame.

- I put the .msh & texture in the \msh
- I put the model name in the impshell.req
- I replaced the original remote's name with my model's name in the GeometryName line in the imp_weap_inf_remotedroid.odf
- To be sure that model will appear ingame I also renamed my model into "com_weap_probedroid.msh" & replaced the original model in the \Common\mshs
- I added my model with "com_weap_probedroid.msh" name in the \Sides\Common\msh
- I added ReadDataFile("dc:SIDE\\common.lvl") in the lua script

NOTHING changes. I still get original remote droid ingame :evil:

HALP?
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Model replacing problem

Post by Darth_Z13 »

This may sound stupid but... are you munging your side and common?
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: Model replacing problem

Post by Epena »

Also it might be because you didn't delete your map from addon before munging again or clean before munging. It sounds to me that it just doesn't know that you changed it. Be sure to clean your side as well as common before munging them both!
Darth_Veritus

Post by Darth_Veritus »

I ALWAYS Delete the mod from addon folder after each run.
I ALWAYS Clean ALL before munging.

No effect. I still get the default recon droid. Maybe I should just leave it be?
Darth_Veritus

Re: Are you replacing or adding a side

Post by Darth_Veritus »

psych0fred wrote:If you are trying to replace asseets from an existing side you are better off creating a new side and setting it up with new names. My guess is you are loading shipped assets and not modded ones in game because it's using the shipped side and not new assets. It works, so it's definitely something you are doing wrong.
Too late for making a whole new side. I've already replaced the default autoturret with my turret & it works fine. But the recon droid appears as the default. What should I do to make the game read common files from my mod?
PS: Adding dc:common.lvl doesn't work.
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: Re: Are you replacing or adding a side

Post by Epena »

Why is it too late? You can just copy over your turret.
Darth_Veritus

RE: Re: Are you replacing or adding a side

Post by Darth_Veritus »

Too late cuz I have a modded side. A few models left to make it fully changed. I don't want to mess with a new side.
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Post by authraw »

This sounds similar to a problem I had awhile back. Basically, I took the imperial sniper, reskinned him (as the unit in my avatar, actually) and put him in a custom side. For the longest time, he would only appear as the default skin. In order to get it to work, I had to change the name of everything (req, odf, tga, msh) in order to get the unit to work. It seemed like it would only load the default imperial sniper until I did that.

Another thing you might want to look into would be the parent files. Something in there may specify the default msh file. I have no actual reason to think this, but that's the only other place I can think that it could be specified.
Darth_Veritus

Post by Darth_Veritus »

Parent files are okay. There are GeometryName with my model in [GameObjectClass], [Properties] and [WeaponClass] in all odfs. My only hope is making completely a new item.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post by MercuryNoodles »

If I remember correctly, it's the texture name that goes in the xxxshell.req, though the file says "model".

If all else fails, try making a new file for the recon droid with the changes, and giving that to your unit. The new filename will make it so no other files conflict with it.
Darth_Veritus

Post by Darth_Veritus »

I made a new item but it still shows up as the default remote droid. Is there anyone who messed with remote before me?
Post Reply