Page 1 of 1
adding vehicles
Posted: Sat Apr 12, 2008 4:56 pm
by -hcbk-mjrldr.killer
i do wat it says put its team set wat cp and give it like rep_walk_atte or all_hover_combatspeeder wher it gose and the vehicle wont show up
Re: adding vehicles
Posted: Sat Apr 12, 2008 4:59 pm
by ryukaji
Are the vehicles loaded in your .lua?
Re: adding vehicles
Posted: Sat Apr 12, 2008 5:02 pm
by -hcbk-mjrldr.killer
idk.....meaby...noo...idk how
Re: adding vehicles
Posted: Sat Apr 12, 2008 5:18 pm
by trainmaster611
Download Boeing's ODF Guide for dummies. Its either in the released or the assets section. Not sure.
Re: adding vehicles
Posted: Sat Apr 12, 2008 5:29 pm
by ryukaji
Example:
Code: Select all
ReadDataFile("SIDE\\rep.lvl",
"rep_walk_atte)
What vehicle are you trying to add
Re: adding vehicles
Posted: Sat Apr 12, 2008 6:46 pm
by trainmaster611
Dude, there's quite a few things that he could be doing wrong. It might not just be the LUA thing. Like I said, read Boeing's doc (its better than the getting_started).
Re: adding vehicles
Posted: Sat Apr 12, 2008 8:37 pm
by -hcbk-mjrldr.killer
trying to add a atte and spiderwalkers and give me a link wher the boeing guide is
Re: adding vehicles
Posted: Sat Apr 12, 2008 9:09 pm
by ryukaji
thats easy you dont need the odf guide you just need to load them in your lua
Did you put what I showed above in?
under ReadDataFile("SIDE\\rep.lvl", put "rep_walk_atte") at the bottom of the list
and under ReadDataFile("SIDE\\cis.lvl", put "cis_walk_spider") at the bottom of the list
Then munge keeping common box checked and then tell me if your vehicles work
Re: adding vehicles
Posted: Sun Apr 13, 2008 5:54 am
by Aman/Pinguin
Walker always need a WalkerType Memorypool, add this under your team setups:
Code: Select all
AddWalkerType(2, 3) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 0) -- 2 attes with 3 leg pairs each
and an AT-TE is a commandwalker (you can spawn at it) so you need to add this MemoryPool:
Code: Select all
SetMemoryPoolSize("CommandWalker", 5)
(this would be for 5 AT-TE's, but you can have a higher MemoryPool than you need)
Re: adding vehicles
Posted: Sun Apr 13, 2008 8:22 am
by -hcbk-mjrldr.killer
so i put it under C:\BF2_ModTools\data_WRW\Common\scripts\WRW??????????
Re: adding vehicles
Posted: Sun Apr 13, 2008 9:14 am
by elfie
WRWc_con.lua
Re: adding vehicles
Posted: Sun Apr 13, 2008 10:36 am
by -hcbk-mjrldr.killer
how
Re: adding vehicles
Posted: Sun Apr 13, 2008 1:40 pm
by Aman/Pinguin
Open it with a text editor and put it in.
Re: adding vehicles
Posted: Sun Apr 13, 2008 5:26 pm
by -hcbk-mjrldr.killer
dont have it...

i think
Re: adding vehicles
Posted: Sun Apr 13, 2008 5:56 pm
by Taivyx
First off, learn more about the Windows operating system
Right-click, choose Open, select "Select the program from a list" and click "OK".
Choose Wordpad, check the box at that says "Always use the selected program to open this kind of file", and hit OK.
It'll open then, and from then on you just have to double click the icon to open it in Wordpad.
Just for future reference, any file in the modtools you don't know how to open, use that method first to check if it can be opened with Wordpad.
Re: adding vehicles
Posted: Sun Apr 13, 2008 7:13 pm
by MercuryNoodles
Well, you can open just about anything with a text editor (depending on your system's capability

), so I'll add that if you see what looks like complete gibberish (random characters strung together in giant blocks) when you open the file or it takes forever to open (not instant), then it's likely not meant to be edited with a text editor.
Just as a quick general list, these files are what you'll most often be editing with a text editor:
lua
req
odf
combo
sky
There are more, but I don't have the time to chase them all down.