I followed the tutorial on adding vehicles to maps that is availible in the downloads section, but every time I open the map in-game, there is nothing there. Mungelog doesn't complain, and, as far as I can tell, neither does BF2_Modtools.exe.
Here is what I do. I create a new world, open it in zeroeditor. I created a region called cp2_control, and gave it a type of cp2_control. I placed the region around cp2, and then in the object instance box, I set cp2's control region to cp2_control.
I place a com_item_vehiclespawn inside the control region, and set its controlregion field to cp2_control, then, since cp2 is owned by the republic, I set its ClassRepDef to be rep_hover_fightertank.
I close zeroeditor, go to Data_WHT/common/scripts/WHT/WHTc_con.lua, check the republic side loading segment, and see that "rep_hover_fightertank",
is already there.
I scroll down to the memory pools to check that, and the
SetMemoryPoolSize("EntityHover", 32)
line is uncommented and ready to go.
I clean and munge, but the vehicle does not exist ingame.
After doing this, I tried going back into zeroeditor and assigning the vehicle spawns to the republic team but that didn't work either.
What am I doing wrong?
Getting vehicles to spawn.
Moderator: Moderators
-
t551
- General

- Posts: 791
- Joined: Sat Jul 16, 2005 3:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
-
t551
- General

- Posts: 791
- Joined: Sat Jul 16, 2005 3:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
xwingguy
Getting Started Doc wrote:The first parameter, ControlZone refers to what CP this vehicle is associated to. The value that should be entered here is the name of the CP, NOT THE NAME OF THE CONTROL REGION, that you want this vehicle to be associated to. For example, cp1, or cp5. NOT cp1_control, or cp5_control.
-
t551
- General

- Posts: 791
- Joined: Sat Jul 16, 2005 3:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Squirrel7Hunter
-
t551
- General

- Posts: 791
- Joined: Sat Jul 16, 2005 3:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
