SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF2 Modding => Topic started by: Delta327 on January 27, 2015, 05:42:17 AM

Title: Solved! how to add a coustom vehicle
Post by: Delta327 on January 27, 2015, 05:42:17 AM
Instruction
1. Create a side using BFbuilder pro

2. Name the Side exactly on the req

3. Localize the coustom vehicle
   Ex:
entity
      rep
          rep_walk_txt

4. Add the vehicle spawn point on zeroeditor

5. Edit the LUA on Bfbulder pro
When you add the coustom vehicle you need to add it in the side it belongs to
Ex: ReadDataFile//"atxt.lvl,
"rep_wall_atxt");
ReadDataFile//"rep.lvl,
"rep_walk_atxt");

6.Then add the Memorypools like when you normally add a vehicle in BF1.

7.Then munge

8. When it done mungeing, put your world in your add-on folder

9. Enjoy

Title: Re: Solved! how to add a coustom vehicle
Post by: Phobos on January 28, 2015, 04:58:24 AM
Nice tutorial, also id like to point out if you wanted a vehicle to spawn only ONCE (not respawn), you would just add the vehicle ODF directly.

If you want them to respawn, the vehiclespawn ODF must be placed within a "control region" for the team its assigned to in zero editor.

and for the mission LUA, there are memorypools used for each major type of vehicle. Hover, Flyer, Walker, CommandHover, and CommandWalker are the main ones I think.

1 more thing to  mention is that you cant respawn vehicles for natives/locals. Only teams 1 and 2 can respawn vehicles I learned this the hard way with NOTLD.
Title: Re: Solved! how to add a coustom vehicle
Post by: Delta327 on January 28, 2015, 07:07:22 AM
Thanks by the way but can't you just place the odf by the control zone?
Title: Re: Solved! how to add a coustom vehicle
Post by: Snake on February 02, 2015, 09:30:44 PM
Use the search button when you want to know how to do something, or want to know if anyone else has explained this because this particular topic has been explained a few times.
EhPortal 1.34 © 2025, WebDev