In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.
Moderator: Moderators
EGG_GUTS
Master Bounty Hunter
Posts: 1626 Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!
Post
by EGG_GUTS » Fri Aug 31, 2007 5:53 pm
I really have no Idea how I did it but I got it working. So My local problem is over.
YAY
EDIT
Sorry For X2 Post. But would I switch this? (It's at the top of the LUA
Switch This:
Code: Select all
--
-- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")
With This:
Code: Select all
--
-- Mos Eisley Hero Deathmatch (uses Space Assault rules)
-- First team to reach 100 kills wins
--
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveTDM")
Thanks
Teancum
Jedi Admin
Posts: 11080 Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana
Post
by Teancum » Fri Aug 31, 2007 6:11 pm
I know what I forgot to tell you. AddAIGoal(3, "Deathmatch", 100) should go in the scriptPostLoad section (up top)
Teancum
Jedi Admin
Posts: 11080 Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana
Post
by Teancum » Fri Aug 31, 2007 6:22 pm
Topics merged. It's way to hard to follow the same problem in two topics.
EGG_GUTS
Master Bounty Hunter
Posts: 1626 Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!
Post
by EGG_GUTS » Sat Sep 01, 2007 10:29 am
But that topic this one
Sorry For X2 Post. But would I switch this? (It's at the top of the LUA
Switch This:
--
-- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")
With This:
--
-- Mos Eisley Hero Deathmatch (uses Space Assault rules)
-- First team to reach 100 kills wins
--
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveTDM")
Thanks
Was about giving the conquest sides a death match goal
Teancum
Jedi Admin
Posts: 11080 Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana
Post
by Teancum » Sat Sep 01, 2007 7:06 pm
If you're only wanting team 3 not to capture CPs then all you have to do is move your AddAIGoal(3, "Deathmatch", 100) from where you have up to the ScriptPostLoad() section. That's where it should be anyhow. Teams 1 and 2 will play Conquest, and team 3 will just play team deathmatch. No need to change anything else.
EGG_GUTS
Master Bounty Hunter
Posts: 1626 Joined: Thu Dec 07, 2006 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: CANADA!
Post
by EGG_GUTS » Sat Sep 01, 2007 9:56 pm
But I wish For team 1 and 2 to play death match as well.
Teancum
Jedi Admin
Posts: 11080 Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana
Post
by Teancum » Sun Sep 02, 2007 1:28 am
Then yeah, change it like you had it above, but make sure you do the AddAIGoal for teams 1 and 2 as well as 3 in the ScriptPostLoad() section. Then remove any capture regions.