Page 1 of 1
How do i add vehicles to a map?
Posted: Sun Feb 26, 2006 11:19 am
by jim4feyenoord
i don't know how to add vehicles spawns to a map.
i read the documentation but it just doesnt work, when i test the map their is nothing.
Posted: Mon Feb 27, 2006 3:06 am
by Spacerocker
I'm also having this problem. What else besides what it says in the Getting Started doc do we need to do to get vehicles to spawn.
A little help for a couple of noobies please?
Posted: Mon Feb 27, 2006 8:32 am
by Talibanman
theres a tutorial for that
Posted: Mon Feb 27, 2006 10:35 am
by Teancum
Fistly, welcome to gametoast!
Secondly, I would look in the SWBF1 Modding forum at the stickies, and download any tutorials from the downloads section you can get your hands on. Usually they will cover anything you should need. If you still have trouble, tell us whether some vehicles are spawning, none, etc.
The community is glad to help, but we typically will refer you to the tutorials first. There's a help file tutorial in the Battlefront 1 downloads section that should help you both with vehicles, but I would also browse the BF1 modding stickies, and I'd also recommend our new "FAQ/Everything you need" section in this forum, as it is updated a couple of times a week as we all learn the new features of BF2.
Posted: Mon Feb 27, 2006 11:45 am
by jim4feyenoord
ok thanks i didn't look at the bf1 forums and tutorials yet
Posted: Mon Feb 27, 2006 3:27 pm
by Spacerocker
Thank you very much for pointing us in the right direction.
Posted: Mon Feb 27, 2006 3:46 pm
by Teancum
You've quite welcome.
Posted: Mon Feb 27, 2006 4:30 pm
by Spacerocker
One last question. At least I hope it is.
Ok. Im a little confused with one step in the tutorial. Ive added the vehical spawn to my map and opened up my LUA file, then the tutorial tells me this step-
10. If you choose GCW Era Mission LUA, look under the file for the line ReadDataFile("SIDE\\all.lvl",. If you had added the Alliance Combat Speeder to your map, you must type "all_hover_combatspeeder", under "all_inf_basicdesert",.
The only problem is that there isn't an "all_inf_basicdesert" in the LUA file for my map to type "all_hover_combatspeeder" under. Now Im sure Im in the right LUA because it has the other "all_~_~" lines in it. What should I do?
Posted: Tue Feb 28, 2006 3:42 am
by OGEB1103
the lua files for your map should be in data_###/Common/Scripts/###
### = your mod id
i have a problem with flyers in ground maps
i've added the spawn object into the world(on the conquest layer) and added the string name to it. i added this to the lua but the flyer didn't appear in-game. i've done the same for normal vehicles(namely the isp) and it works. and i'm pretty sure that there is a memory pool for flyers in the lua too
please help
Posted: Tue Feb 28, 2006 12:27 pm
by Leviathan
Space', using "all_hover_combatspeeder" independently of "all_inf_basicdesert" can be done, since this last entry is affiliated to the Rebel Alliance's units called by the level and not to vehicles present on it. Therefore, to sum up, you do not need to paste the "all_hover_combatspeeder" entry after a section named "all_inf_basicdesert", but equally after a one titled "all_inf_basic", "all_inf_basicsnow", etc...
Posted: Tue Feb 28, 2006 12:34 pm
by Teancum
Odd... I've had flyers in.. make sure you hit page down and fill in both ATK and DEF values in the spawn properties.
Posted: Tue Feb 28, 2006 12:37 pm
by OGEB1103
Why both? Surely if the ALL is ATK and the IMP DEF i only need to put my IMP flyer into the IMP DEF value.
Posted: Tue Feb 28, 2006 1:34 pm
by Darth-Derkie
When you cannot get your vehicles to spawn, assign your spawn points to a side. That worked for me.
Posted: Tue Feb 28, 2006 1:41 pm
by Teancum
It's just safer to fill in both. There's no reason not to. Especially if you change sides in your luas.
Posted: Tue Feb 28, 2006 2:03 pm
by OGEB1103
Darth-Derkie wrote:When you cannot get your vehicles to spawn, assign your spawn points to a side. That worked for me.
what does THAT mean
Posted: Tue Feb 28, 2006 8:07 pm
by Spacerocker
Leviathan wrote:Space', using "all_hover_combatspeeder" independently of "all_inf_basicdesert" can be done, since this last entry is affiliated to the Rebel Alliance's units called by the level and not to vehicles present on it. Therefore, to sum up, you do not need to paste the "all_hover_combatspeeder" entry after a section named "all_inf_basicdesert", but equally after a one titled "all_inf_basic", "all_inf_basicsnow", etc...
Thanks for the info Leviathan, it worked. Yay!
Posted: Wed Mar 01, 2006 2:21 am
by Darth_Plegueis
My vehicles are in, but they don't have sound. My second pilot's gun makes noise but nothing else.