CP problem(no AI spawning)
Moderator: Moderators
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: cp problem
Woops, guess not.
You can always download Word Viewer from Microsoft's website.
You can always download Word Viewer from Microsoft's website.
- [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: cp problem
Or use OpenOffice.org.
-
allthetutorials123
- Second Lance Corporal

- Posts: 118
- Joined: Tue Apr 28, 2009 8:56 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Xfire - allthetutorials123
Re: cp problem
Wow. I am not trying to be mean or anything, but maby you should learn all the basic things on your computer like NotePad (or for that matter the start program) before you start modding. Also, for a new modder I would just use the 4 cps that are in there by default. You can move them around if you want (but of course you have to move the regions and everything with it), but I would learn to put objects and stuff in before you add new cps. That's what I did. Also, read all the boring docs. first. I know you suffer when you go through them, but they are really helpful. Of course, I am not the modding genius either, but that is just a tip.
EDIT:
To open all the docs (its already been told I am just colaborating) you go to My Computer in the start menu/C:/BF2_modtools/documentaions/ and right click on the doc you want. Then click open with and find WordPad.click once. Then it will come up with this...
Keep on clicking "yes" until it the pad loads. You will have no pics but you will have docs.
Edit:
One more thing. I had trouble with this when I first started modding and joined GT. The everything you need to know thread is not the FAQ at the top. It is in SWBF2 Modding and is stickied like another user said (to lazy to go back to look at the name sorry)
Link: http://www.gametoast.com/forums/viewtop ... 27&t=13806
EDIT:
To open all the docs (its already been told I am just colaborating) you go to My Computer in the start menu/C:/BF2_modtools/documentaions/ and right click on the doc you want. Then click open with and find WordPad.click once. Then it will come up with this...
Hidden/Spoiler:
Keep on clicking "yes" until it the pad loads. You will have no pics but you will have docs.
Edit:
One more thing. I had trouble with this when I first started modding and joined GT. The everything you need to know thread is not the FAQ at the top. It is in SWBF2 Modding and is stickied like another user said (to lazy to go back to look at the name sorry)
Link: http://www.gametoast.com/forums/viewtop ... 27&t=13806
Last edited by allthetutorials123 on Mon Aug 31, 2009 6:40 pm, edited 3 times in total.
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: cp problem
I have to agree with him, learn the programs that are on your computer, take a look in the "Everything You Need" thread stickied at the top of the forum, and find out which programs open which files, it will save you tons of trouble later on.
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: cp problem
well thats not what it says. it says this: would you like to open this file or save this file.never mind this topic i now know all this lua stuff. now im awsome right?
im even more awsome now that i allso opened the docs. You just right click then click open with... notepad!
-
allthetutorials123
- Second Lance Corporal

- Posts: 118
- Joined: Tue Apr 28, 2009 8:56 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Xfire - allthetutorials123
Re: cp problem
GOOD JOB!!!!genaral_mitch wrote:well thats not what it says. it says this: would you like to open this file or save this file.never mind this topic i now know all this lua stuff. now im awsome right?im even more awsome now that i allso opened the docs. You just right click then click open with... notepad!
Let me warn you luas are simple compared some of the stuff you can do with BF2 ModTools.
By the way, you would push open.
Tips:
1.Make sure to read the rest of the documentions (epicially Getting Started for you.)
2.Still look at the other programs on your computer and learn them.
3.Try to figure out the question before you post it on GT
One question. So I assume you got the CPs working right?
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: cp problem
sorry but this whole thread was basicly about opening the docs,not my cp problem.
so they still dont work
so they still dont work
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: cp problem
Post your lua (data_modID\Common\scripts\modID\modIDc_con). Also, how many CPs do you have in your map at the present time including the one there by default?
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: cp problem
i have 3 cps and heres my .lua:Use hide tags please ~Staff
Hidden/Spoiler:
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: cp problem
if you have 3cps then remove cp4
so it looks like this:
Code: Select all
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}
--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}
--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
Code: Select all
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}
--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: cp problem
ok thanks.
