The Mungelog is fine, but I get this when my vehicle doesn't spawn in the BFront2.txt:
Message Severity: 2
.\Source\VehicleSpawn.cpp(139)
Vehicle spawn command post "cp3" has no control region
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "tank"
Message Severity: 2
.\Source\VehicleSpawn.cpp(191)
Vehicle spawn missing class "tank"
cp3 is a control region and tank is in my LUA and in the req files and everything. How do I fix this?
-Alpha
Vehicle Spawn Errors
Moderator: Moderators
-
Alpha
-
Elmo
- Field Commander

- Posts: 962
- Joined: Wed Nov 08, 2006 5:13 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Rends
- Sith

- Posts: 1278
- Joined: Fri Oct 15, 2004 6:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
- Contact:
Alpha,
to correct you.
CP3 is a Command post and you need to assign a Control region to the CP. By the way vehicle spawn should work even withouit a control region.
About the class "tank". Is it a shipped class or did you create your own?
If it´s your own and you say it´s in the lua. did you also add it to your side req?
to correct you.
CP3 is a Command post and you need to assign a Control region to the CP. By the way vehicle spawn should work even withouit a control region.
About the class "tank". Is it a shipped class or did you create your own?
If it´s your own and you say it´s in the lua. did you also add it to your side req?
-
Alpha
I created it in its own side. Yes, I did add to the req and LUA. I'll try doing it with a default vehicle and see if it's my side or something else.
EDIT: Tried with an all_fly_snowspeeder after adding that to my LUA and nothing spawned still. Does the vehcile spawn have to be a certain layer? Is my class name wrong?
BTW, Rends:
Rends
-----
Joined: Oct 15, 2004
Posts: 1337
Xfire Username :: Germany
Status: Offline
Nice post count.
EDIT: Tried with an all_fly_snowspeeder after adding that to my LUA and nothing spawned still. Does the vehcile spawn have to be a certain layer? Is my class name wrong?
BTW, Rends:
Rends
-----
Joined: Oct 15, 2004
Posts: 1337
Xfire Username :: Germany
Status: Offline
Nice post count.
- Rends
- Sith

- Posts: 1278
- Joined: Fri Oct 15, 2004 6:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
- Contact:
Well without all informations we don´t know where to find the bug.
But did you :
1. Add a CP called CP3
2. Add a control region and name it CP3_control
3. back to CP3 and add CP3_control under object instance->control region
4. Add a vehicle spawn and type CP3_control under Object Instance->control zone
5. Add "tank" under Object Instance->class where it belongs to (for example classallatk)
well at least it should work with a standart "all_fly_snowspeeder" vehicle.
I´m not sure but it might be possible that you need to add the sidename in front of your new unit like "all_tank"
Oh and i have my vehicle spawns in the conquest layer but i think it should work in every layer.
But did you :
1. Add a CP called CP3
2. Add a control region and name it CP3_control
3. back to CP3 and add CP3_control under object instance->control region
4. Add a vehicle spawn and type CP3_control under Object Instance->control zone
5. Add "tank" under Object Instance->class where it belongs to (for example classallatk)
well at least it should work with a standart "all_fly_snowspeeder" vehicle.
I´m not sure but it might be possible that you need to add the sidename in front of your new unit like "all_tank"
Oh and i have my vehicle spawns in the conquest layer but i think it should work in every layer.
-
Alpha
Alright, the snow speeder spawns at cp8 now. However, my combat speeder will not spawn. This is a custom side made from the combat speeder from SWBF1.
The ODFs
I have these ODFs in the ODF folder for the side "tnk":
all_hover_combatspeeder
all_hover_combatspeeder_exp
all_hover_combatspeeder_cannon
all_hover_combatspeeder_cannon1
all_hover_combatspeeder_cannon1_exp
all_hover_combatspeeder_cannon1_ord
all_hover_combatspeeder_cannon_exp
all_hover_combatspeeder_cannon_ord
all_hover_combatspeeder_missile
all_hover_combatspeeder_missile_exp
all_hover_combatspeeder_missile_ord
REQs
I have these req files.
This one is the the req folder and has the name: all_hover_combatspeeder
and this is its contents:
the second Req is in the base of the side folder "tnk" and is titled "tnk"
and these are its contents:
Munged
I copied the clean.bat and munge.bat from the _Build/Sides/ALL folder in my map to here.
Effects
Empty
MSH
Here are the files in this folder:

-Alpha
The ODFs
I have these ODFs in the ODF folder for the side "tnk":
all_hover_combatspeeder
all_hover_combatspeeder_exp
all_hover_combatspeeder_cannon
all_hover_combatspeeder_cannon1
all_hover_combatspeeder_cannon1_exp
all_hover_combatspeeder_cannon1_ord
all_hover_combatspeeder_cannon_exp
all_hover_combatspeeder_cannon_ord
all_hover_combatspeeder_missile
all_hover_combatspeeder_missile_exp
all_hover_combatspeeder_missile_ord
REQs
I have these req files.
This one is the the req folder and has the name: all_hover_combatspeeder
and this is its contents:
Code: Select all
ucft
{
REQN
{
"class"
"all_hover_combatspeeder"
}
}
and these are its contents:
Code: Select all
ucft
{
REQN
{
"lvl"
"all_hover_combatspeeder"
}
}
I copied the clean.bat and munge.bat from the _Build/Sides/ALL folder in my map to here.
Effects
Empty
MSH
Here are the files in this folder:
-Alpha
- Rends
- Sith

- Posts: 1278
- Joined: Fri Oct 15, 2004 6:34 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany
- Contact:
-
Alpha
