Page 1 of 2
Mines now working but trooper scaling failing [Solved]
Posted: Wed May 09, 2012 3:53 pm
by Dakota
I have been working on a mod for a few months now and all of a sudden it started crashing. I haven't changed the mines at all since over a month ago but now they are giving grief.
heres the error i have in the log.
i've looked in the odfs and couldn't find a problem but here are the odfs anyway.
here is the mine
here is the dispenser
Re: Entity class for landmine not being read
Posted: Wed May 09, 2012 10:20 pm
by Fiodis
The dispenser should have an Ordnance line telling it what to dispense, I believe. Or is that not the whole odf, or a common odf?
Re: Entity class for landmine not being read
Posted: Sun May 20, 2012 3:42 pm
by Dakota
that was the common odf here is the side one.
Re: Entity class for landmine not being read
Posted: Mon May 21, 2012 10:19 am
by Lephenix
I don't know much in odfs, but two OrdnanceName isn't too much ?
Re: Entity class for landmine not being read
Posted: Mon May 21, 2012 12:57 pm
by THEWULFMAN
Lephenix wrote:I don't much in odfs, but two OrdnanceName isn't too much ?
Well it shouldn't really matter, he has the first one commented out. It shouldn't be there either way, as it just clutters the ODF up needlessly.
Re: Entity class for landmine not being read
Posted: Mon May 21, 2012 5:51 pm
by Dakota
any ideas what could be wrong with it? i have made sure it was the mines, it doesn't crash on maps without the mines and it crashes on all maps with mines. so far i'm completely unsure what is wrong with it.
i've actually been at a complete stop on my mod i've been working on.
Re: Entity class for landmine not being read
Posted: Tue May 22, 2012 2:24 am
by lucasfart
This is random, and probably not right, but could it be something to do with a .req file. Usually the classes are composed through .req, and if it can't find the entity class, it might not be in your req? That's probably just with units though....
Re: Entity class for landmine not being read
Posted: Tue May 22, 2012 4:57 pm
by Dakota
its in my ingame.req for the common side but its not in the reqs of my sides, i also noticed that the error was in there twice so maybe this is whats wrong. i am munging now and will be back with results.
EDIT: Didn't work, but now there is only 1 of the errors in the log.
Re: Entity class for landmine not being read
Posted: Wed May 23, 2012 1:28 am
by lucasfart
Could you post the whole error log?
Re: Entity class for landmine not being read
Posted: Wed May 23, 2012 2:26 am
by icemember
Just curious what the names of your odf files are and what folders there in?
Re: Entity class for landmine not being read
Posted: Wed May 23, 2012 4:15 pm
by Dakota
Names and folders:
com_weap_inf_mine_dispenser.odf: sides/common/odf
com_weap_inf_landmine_exp.odf: sides/common/odf
com_weap_inf_landmine_destroyed_exp.odf: sides/common/odf
com_weap_inf_landmine.odf: sides/common/odf
imp_weap_inf_mine_dispenser.odf: sides/imp/odf
That last one is also in the all side since they use the same weapon, it also calls for the mine from the odf in the common folder.
i'll have to edit in the full error log later as its too big to post here.
EDIT
uploaded it to minus as i can't use gamefront as of now.
http://minus.com/mFCGUMwct
Re: Entity class for landmine not being read
Posted: Wed May 23, 2012 6:53 pm
by icemember
Have you checked that the odf file "com_weap_inf_landmine" is in the commons folder?
I would suggest a manual side cleaning then remunging.
Manual side cleaning
--------------------------------------------------------------------------------------------
Delete all files and folder here: C:\BF2_ModTools\data_ABC\_BUILD\Sides\IMP
But do not delete the clean.bat and munge.bat.
Delete your imp.lvl and impshell.lvl here: C:\BF2_ModTools\data_ABC\_LVL_PC\SIDE
Lastly delete your imp.lvl and impshell.lvl in your addon folder, where ever you have it. (games directory)
Then remunge.
Just even more curious, what OS are you running?
What patch of the game are you using?
Re: Entity class for landmine not being read
Posted: Fri May 25, 2012 10:26 am
by Dakota
its in the common folder and the common folder in sides, i am using windows XP and i have the 1.1 patch and Zerted's 1.3 patch.
i'll try the manual clean again soon.
Re: Entity class for landmine not being read
Posted: Fri May 25, 2012 11:06 am
by lucasfart
You did munge the common side first, right?
Re: Entity class for landmine not being read
Posted: Fri May 25, 2012 6:55 pm
by Dakota
yes it has already been munged.
Re: Entity class for landmine not being read
Posted: Fri May 25, 2012 10:21 pm
by lucasfart
Try moving the common landmine files (mesh, texture and odf) into your custom side and see if that makes a difference. Do a manual clean before you munge just to be sure.
Re: Entity class for landmine not being read
Posted: Sun May 27, 2012 12:27 pm
by Dakota
munged, still not working.
Re: Entity class for landmine not being read
Posted: Sun May 27, 2012 12:32 pm
by Marth8880
Try adding the completely stock mine weapon, test it, and gradually edit it to be like your new one, munging after most changes.
Re: Entity class for landmine not being read
Posted: Sun May 27, 2012 2:58 pm
by Dakota
i was thinking of that, the only thing modded in my mine is the lifespan and the explosion damage but i'll test it out anyway.
Re: Entity class for landmine not being read
Posted: Sun May 27, 2012 5:02 pm
by Marth8880
Wow, and it doesn't work? Ouch.