Additional command posts not working
Moderator: Moderators
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Additional command posts not working
i have added a cp to my map but it is not showing up in the game. what do i do to make it show up?
it is a land battle.
it is a land battle.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: added command posts not working
More details, please. What layer did you add it to? Did you reference it in the LUA? Did you set up spawn paths/capture regions/control regions correctly? Did you double-check their names and their names in the cp's object instance box?
And did you read the getting started doc?
And did you read the getting started doc?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: added command posts not working
conquest (the only layer i edited)What layer did you add it to?
the JTAc_con and the JTAg_con.Did you reference it in the LUA?
i think so.Did you set up spawn paths/capture regions/control regions correctly?
i dont know what you mean.Did you double-check their names and their names in the cp's object instance box?
yepAnd did you read the getting started doc?
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: added command posts not working
did you munge?
Also did you set a team for it
Also did you set a team for it
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: added command posts not working
Not setting up a team would result in a neutral cp.
I mean go back into the conquest layer. Select the cp. Now check everything in the object instance box. This is a vital step. Then double-check your LUA.
I mean go back into the conquest layer. Select the cp. Now check everything in the object instance box. This is a vital step. Then double-check your LUA.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: added command posts not working
ok this is what the object instance says:
captureRegion:
cp5_capture
ControlRegion
cp5_control
SpawPath:
cp5_Spawn
TurretPath
(blank)
AllyCount
(blank)
Radius
0.0
ValueBleed_Alliance
10
ValueBleed_CIS
10
The LUA file JTAc_con:
the othe LUA file JTAg_con:
the LUA files were in: C:\BF2_ModTools\data_JTA\Common\scripts\JTA
captureRegion:
cp5_capture
ControlRegion
cp5_control
SpawPath:
cp5_Spawn
TurretPath
(blank)
AllyCount
(blank)
Radius
0.0
ValueBleed_Alliance
10
ValueBleed_CIS
10
The LUA file JTAc_con:
Hidden/Spoiler:
the othe LUA file JTAg_con:
Hidden/Spoiler:
the LUA files were in: C:\BF2_ModTools\data_JTA\Common\scripts\JTA
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: added command posts not working
The CP is named cp5 in Zero Editor correct?
And I don't mean to insult you but did you munge? (I didn't for a good while when I started and I got frustrated)
And I don't mean to insult you but did you munge? (I didn't for a good while when I started and I got frustrated)
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: added command posts not working
i did munge with visulemunge before i started to edit my map.
name is: cp5 (exacly as i typed it).
name is: cp5 (exacly as i typed it).
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: added command posts not working
Double-check the names of the spawn paths and regions, and their properties. Make sure their names match their properties.
Also, I notice you have cp5_Spawn. Does the spawn path have a capital S?
Also, I notice you have cp5_Spawn. Does the spawn path have a capital S?
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: added command posts not working
Every time you have made an edit, munge. The file isn't updated automatically.501st_commander wrote:i did munge with visulemunge before i started to edit my map.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: added command posts not working
cp5_control region property was cp2_controlDouble-check the names of the spawn paths and regions, and their properties. Make sure their names match their properties.
and my spawn nodes dont have properties (neither does the other 4 preset cp`s)
with visualmunge? the map does save when i done editing it.Every time you have made an edit, munge. The file isn't updated automatically.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: added command posts not working
But those changes don't go to your addon folder
Go to BF2_Modtools/Data_***/_BUILD and run visual munge from in there
*** is your 3 letter word name, in this case JTA
Go to BF2_Modtools/Data_***/_BUILD and run visual munge from in there
*** is your 3 letter word name, in this case JTA
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: added command posts not working
Yes, when you have the wld file it only saves, well, the wld file, and visualmunge compiles it into the lvl files that go in the addon folder.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: added command posts not working
When you change something under the Common folder you also need to check Common when using VisualMunge.
So to fix your CPs:
1) run VisualMunge
2) check Common
3) click Munge
So to fix your CPs:
1) run VisualMunge
2) check Common
3) click Munge
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: added command posts not working
i did have commen checked but it sitll dont work.
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: added command posts not working
And you munged again after you added the CP?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
-
Master_Ben
- Lieutenant General

- Posts: 675
- Joined: Wed Nov 12, 2008 9:50 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Watching your PC over your shoulder. No, the other sholder....
Re: Additional command posts not working
lol501st_commander wrote:2 times.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Additional command posts not working
i give up.
But how can i add stairs to a premade map (jedi temple).
But how can i add stairs to a premade map (jedi temple).
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Additional command posts not working
Follow the editing shipped maps tutorial in the Everything You Need to Know thread and add them in ZE
Here's the tutorial
Here's the tutorial
