Page 1 of 1
Help with Vehicles, then im done with map
Posted: Mon Jan 01, 2007 4:15 pm
by Dark117
My sniper map is almost done but before it can be complete im gonna need help with vehicles. Yes ive looked everywhere and three is some posts about this but none of them help my stuupid brain. I've even read Trainmasters topic and the people who helped him but i still need help.
Okay in Zeroediter i placed vehicle spawns... (im trying to spawn speeder bickes or wat ever using all_hover_combatspeeder) okay i placed that into the class fields of...
-ClassAllAtk
-ClassImpDef
Now i know i have to call for it in my lua, but this is the problem, i need straight forward answers as to where in the lua. Also i need to know for both eras. What i want it so that in both eras for wat ever side it spawns the speeders.
Thanks in advance,
~Dark117 :twisted:
RE: Help with Vehicles, then im done with map
Posted: Mon Jan 01, 2007 5:15 pm
by Dark117
EDIT:
[Ignore what was previously posted here before]
~Dark117
Posted: Mon Jan 01, 2007 5:20 pm
by Galactic_Marine
It's in the documentation (the Getting Started doc).
Posted: Mon Jan 01, 2007 5:26 pm
by Dark117
In the Getting Started Doc. It only shows how to place a vehicle spawn point correctly and some other stuff. Doesent show how to call for it in your Lua... >.< and some of that is SUPRISINGLY confusing...
EDIT
I found some help in the mission lua guide II doc. Im gonna post wat it said to do. Also double cheak to tell me if my vehical spawns and wat the mission lua II doc said will produce my desired result, once i get vehicles coverd ill be able to ship my map over here so you people can have some sniper fun!
Mission Lua Guide Doc. Says-
This next block of ReadDataFile calls loads all the infantry and vehicle units you’ll be using. If you are trying to use a certain unit or vehicle, and it just will not show up in the game, it’s a good idea to look here, and make sure you’re actually loading that character/vehicle.
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
“cis_hero_darthmaul”,
"cis_hover_aat")
And another question arises... Do i need to put all_hover_combatspeeder in all the sides for it too work for everyside in every era? For example...
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder",
"all_hover_combatspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
“cis_hero_darthmaul”,
"cis_hover_aat",
"all_hover_combatspeeder")
Thanks in advance,
~Dark117
Posted: Tue Jan 02, 2007 10:05 am
by Dark117
apperently im not getting any help and my dumb vehicles wont work even after i inserted all_hover_combatspeeder to every side in the lua and i called for them in the vehicle spawns under AllAtk and ImpDef...
Posted: Tue Jan 02, 2007 10:16 am
by wazmol
well if they are ALL that usually means there the alliance so add this to ur LUA.
ReadDataFile("SIDE\\all.lvl",
"all_hover_combatspeeder")
Posted: Tue Jan 02, 2007 10:22 am
by Dark117
Add it where in the lua? any examples?
add it where it says all or are you telling me to add that whole command line?
The GcW era has it already at the top but it has a bunch of rebel stuff filled out i think. The CW era doesent have it at all.
Please give me step by step so i can release my map... =(
Tell me if i set up my vehicle spawns right and show me how to set it up in and call for the vehicle in the lua.
For vehicle spawns i have all_hover_combatspeeder filled out in AllAtk and ImpDef.
Ill erase everything i did for the Lua for the vehicles, so you can give me that easy step by step guide. Thnaks!
*The vehicles need to spawn for any era and any side!*