Units missing on some maps [solved]
Moderator: Moderators
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Units missing on some maps [solved]
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??
Last edited by skelltor on Wed Feb 03, 2010 10:05 pm, edited 1 time in total.
-
Darth_Spiderpig
- Sith Master

- Posts: 2631
- Joined: Fri Mar 27, 2009 10:23 am
- Projects :: Something cool...
- xbox live or psn: Has no xbox....Yup
- Location: Does whatever a Spiderpig does
- Contact:
Re: units missing
Lua and error log, please.
and if you could tell us what exaczly you changed, it would be useful too.

and if you could tell us what exaczly you changed, it would be useful too.
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: units missing
...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?
If you think, this is spam, then delete it. (to admins)
Did you put the dc: in all maps?
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: units missing
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??
EDIT i could post the unit odfs for the main two that arent working if that wound help??
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: units missing
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.
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.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: units missing
whats the bfont2 and where is it at?? i have the BF2_modtools_NoDVD version btw
here are the odfs
here are the odfs
Hidden/Spoiler:
Hidden/Spoiler:
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: units missing
This is where you put the dc: That's an example of a mod i'm making.
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")- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Units missing on some maps
yah they are there in the dc but not in game
-
Coley
- Sergeant Major

- Posts: 249
- Joined: Sun Aug 09, 2009 11:27 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
Re: Units missing on some maps
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.
1. Just because I´m curiouse :
Why is the unit type special?
Hidden/Spoiler:
Hidden/Spoiler:
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: Units missing on some maps
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.)Coley wrote:A few questions & answers
1. Just because I´m curiouse :
Why is the unit type special?Hidden/Spoiler:
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Units missing on some maps
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.
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.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Units missing on some maps
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???
edit i put an older version of the units when they worked but they still dident show up any ideas???
