PDA

View Full Version : some questions about the editor


jetero
03-01-2006, 12:39 PM
Hello, i started learning zero editor and i have a question about including vehicles in my map.
I followed the "getting started" tutorial, but i am stuck where i want to insert a vehicle.
The vehicle doesnt appear ingame...
So, do i need to include thevehicle.odf and ALL the files that are written in the odf ? because theres a LOT of files to add then...
OR
Is every vehicle already included in the installed game? and i only need to include the name of the vehicle here? :
ReadDataFile("sound\\yav.lvl;yav1cw")
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")


I am a bit confused and i don't know if i am clear enough.
thanks.

JerAir
03-01-2006, 12:59 PM
I don't think the tutorials were very good at all...
I'm also confused on things like that which the tutorials left out/ did not address clearly.

taclled
03-01-2006, 02:50 PM
I don't think the tutorials were very good at all...
I'm also confused on things like that which the tutorials left out/ did not address clearly.I think it was okay but myskill with tutorials is ...........well, let's not go there

GordZilla
03-01-2006, 07:42 PM
This part here is important;
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",

the yavin map for clones must have those vehicles in it., check it's ula for the particular game type you need. i.e. for a conquest game in yavin during the Clone era it is "yav1c_con.lua". ... found in:DRIVE_LETTER:\BF2_ModTools\assets\scripts\YAV

Compare that section to your own make sure they match.
Also you do need to place a 'vechicle spawn' in the map and assign it's properties
Vehical spawn" found in;
"DRIVE_LETTER:\BF2_ModTools\data_ABC\Common\odfscom _item_vehicle_spawn.odf"
http://img222.imageshack.us/img222/2649/61ht.jpg (http://imageshack.us)