My 1-Flag CTF [Solved]
Moderator: Moderators
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
My 1-Flag CTF [Solved]
Ive come across a strange problem with my 1-Flag CTF game mode. It's that it only works in cw and not gcw. Whatever I do when trying to play the map on 1-Flag CTF in gcw, dosent work, and the result I get when playing the level is that no one spawns and you cant score points for your team. Im not sure why this happens but I've narrowed down two good options I can take from here 1) I can fix my game mode so it works in gcw 2) I can stop the person from selecting gcw era in the 1-Flag CTF game mode. What do you guys think I should do?
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: My 1-Flag CTF
I choose option 1. post your error log and relevant lua (ABCg_1flag.lua i think) and we'll see what we can do...SW_elite wrote:Ive come across a strange problem with my 1-Flag CTF game mode. It's that it only works in cw and not gcw. Whatever I do when trying to play the map on 1-Flag CTF in gcw, dosent work, and the result I get when playing the level is that no one spawns and you cant score points for your team. Im not sure why this happens but I've narrowed down two good options I can take from here 1) I can fix my game mode so it works in gcw 2) I can stop the person from selecting gcw era in the 1-Flag CTF game mode. What do you guys think I should do?
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: My 1-Flag CTF
The GCW 1 flag has errors upon creation, look at the lua for it and you will find it still references the CW era. Change the appropriate parts in the LUA (hint they are near the top sorry at work don't have modtools here to post bits.) then it should work fine.
You can also use a shipped maps gcw 1 flag lua for reference.
You can also use a shipped maps gcw 1 flag lua for reference.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: My 1-Flag CTF
Maybe we should put together a mod tools patch that fixes things like that for new map creations. We could add the SoldierAnimation pools to the default scripts too.
Hmmm.... *makes mental note*
Hmmm.... *makes mental note*
- [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: My 1-Flag CTF
Along with that, the addme.lua changes.
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: My 1-Flag CTF
Okay, so im going to do option 1. But just out of curiosity how do you do option 2?
Here is my .lua script for ABCg_1flag.
And here is my error log. Im giving you the whole thing cause im not sure what bits you want.
Here is my .lua script for ABCg_1flag.
Hidden/Spoiler:
Hidden/Spoiler:
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: My 1-Flag CTF
Post your Addme.lua
- StarkillerMarek
- Rebel Colonel

- Posts: 611
- Joined: Wed Aug 12, 2009 4:42 pm
- Location: I may be back.
Re: My 1-Flag CTF
Did you try doing this?FragMe! wrote:The GCW 1 flag has errors upon creation, look at the lua for it and you will find it still references the CW era. Change the appropriate parts in the LUA (hint they are near the top sorry at work don't have modtools here to post bits.) then it should work fine.
You can also use a shipped maps gcw 1 flag lua for reference.
- hammythepig
- Master Sergeant

- Posts: 175
- Joined: Mon Nov 24, 2008 6:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Canada
Re: My 1-Flag CTF
Can you guys please do that!Teancum wrote:Maybe we should put together a mod tools patch that fixes things like that for new map creations. We could add the SoldierAnimation pools to the default scripts too.
Hmmm.... *makes mental note*
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: My 1-Flag CTF
Believe it or not this line will prevent it from working right. It was the sev 3 error right at the bottom of your error log
SoundEvent_SetupTeams( REP, 'rep', CIS, 'cis' )
Change it to:
SoundEvent_SetupTeams( ALL, 'all', IMP, 'imp' )
The same kind of thing exists in the 2 flag mode as well for GCW, not that particular line but REP and CIS references where they should be ALL and IMP
SoundEvent_SetupTeams( REP, 'rep', CIS, 'cis' )
Change it to:
SoundEvent_SetupTeams( ALL, 'all', IMP, 'imp' )
The same kind of thing exists in the 2 flag mode as well for GCW, not that particular line but REP and CIS references where they should be ALL and IMP
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: My 1-Flag CTF
ahhh ha, thanks frag me!, you deserve an extra 10 !!!!!!!!!!
And also thanks to every one else who helped, btw, the patch wouldnt be a bad idear.
And also thanks to every one else who helped, btw, the patch wouldnt be a bad idear.
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: My 1-Flag CTF [Solved]
Looks like i was too late to help
The patch would be a good idea. Would it be possible to add extra modes/era's to the world creation munge for several major era mods like DT and KotOR?
The patch would be a good idea. Would it be possible to add extra modes/era's to the world creation munge for several major era mods like DT and KotOR?
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: My 1-Flag CTF [Solved]
I've seen lots of maps with only the CW era or GCW era avaliable to choose so I'm still curious about how it can be done.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: My 1-Flag CTF [Solved]
Read the v1.3 documentation.
