Page 1 of 1
Units missing on some maps [solved]
Posted: Mon Jan 25, 2010 1:10 pm
by skelltor
i just have been editing some sides i changed some odfs and now the units dont appear on all the maps on some maps they are there but not all i am puzzled any ideas??
Re: units missing
Posted: Mon Jan 25, 2010 1:17 pm
by Darth_Spiderpig
Lua and error log, please.
and if you could tell us what exaczly you changed, it would be useful too.

Re: units missing
Posted: Mon Jan 25, 2010 1:34 pm
by Coley
...there´s nothing left to say...
If you think, this is spam, then delete it. (to admins)
Did you put the dc: in all maps?
Re: units missing
Posted: Mon Jan 25, 2010 2:42 pm
by skelltor
whats the dc?? and i just changed some wepons and health and stamina ammounts i have done that with other units and it works fine by lua do u mean the map thing cuz i dident chang the map lua at all and the error log are u talking about the thing with the top half of the screen green cuz idk how to get a log up for it its just like playing normal with the units missing
EDIT i could post the unit odfs for the main two that arent working if that wound help??
Re: units missing
Posted: Mon Jan 25, 2010 2:50 pm
by Coley
I meant the dc: in the ***.lua
Yes I think odfs could help...
Errorlog is if you run the thing with the green quare. When it crashs, you open the BFront2 and post it here.
Re: units missing
Posted: Mon Jan 25, 2010 3:25 pm
by skelltor
whats the bfont2 and where is it at?? i have the BF2_modtools_NoDVD version btw
here are the odfs
Re: units missing
Posted: Mon Jan 25, 2010 9:35 pm
by genaral_mitch
This is where you put the dc:
Code: Select all
ReadDataFile("dc:SIDE\\41st.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_officer",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_officer_rocketeer",
"rep_hero_luminara")
That's an example of a mod i'm making.
Re: Units missing on some maps
Posted: Tue Jan 26, 2010 12:39 am
by skelltor
yah they are there in the dc but not in game
Re: Units missing on some maps
Posted: Tue Jan 26, 2010 11:37 am
by Coley
A few questions & answers
1. Just because I´m curiouse :
Why is the unit type special?
2. Are you sure that you have all the files from these weapons in the right folder of your side?
With the other odf, too. I´m to 90% sure that you don´t have all the weapon files in the right folders.
Re: Units missing on some maps
Posted: Tue Jan 26, 2010 2:35 pm
by genaral_mitch
Coley wrote:A few questions & answers
1. Just because I´m curiouse :
Why is the unit type special?
In your .lua, you will see where it loads you units. and the five unit classes are; Soilder, Rocketeer, Sniper, Engineer, Special, and (jettrooper, droideka wookie, etc.)
Re: Units missing on some maps
Posted: Tue Jan 26, 2010 4:52 pm
by MercuryNoodles
No, and no. -_- UnitType is not related at all to the lua "classes". What you see in the lua are just placeholders defined in setup_teams.lua, and they only really affect metagames, where you can buy a class. The UnitType parameter actually determines what set of AI behaviors the game will use for a unit.
He's probably asking why the UnitType is set to special, and I'm curious myself, since I cannot find any unit odf that uses "special". I've only ever seen trooper, pilot, support, assault, and scout. Based on that, I'm thinking it's an invalid value.
Re: Units missing on some maps
Posted: Tue Jan 26, 2010 5:45 pm
by skelltor
hmm i dident change the unit class thing btw these are the bfx assests with 9 units per side and other units use the dart rifle and incinerator and work fine i copyed and pasted the odfs mshs and effects requiered for the wepons 2 so idk i will try changing the invisabilit to stealth cuz when that unit dose show up it uses the stealth properties i will try putting the other wepons in units that work and c if they still work
edit i put an older version of the units when they worked but they still dident show up any ideas???