Bunch 'O' Questions

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
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!

Re: Bunch 'O' Questions

Post by EGG_GUTS »

I really have no Idea how I did it but I got it working. So My local problem is over. :) YAY :mrgreen:

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
User avatar
Teancum
Jedi Admin
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

Re: Can You spot the fault with the locals?

Post by Teancum »

I know what I forgot to tell you. AddAIGoal(3, "Deathmatch", 100) should go in the scriptPostLoad section (up top)
User avatar
Teancum
Jedi Admin
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

Re: Bunch 'O' Questions

Post by Teancum »

Topics merged. It's way to hard to follow the same problem in two topics.
EGG_GUTS
Master Bounty Hunter
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!

Re: Can You spot the fault with the locals?

Post by EGG_GUTS »

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
User avatar
Teancum
Jedi Admin
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

Re: Bunch 'O' Questions

Post by Teancum »

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
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!

Re: Bunch 'O' Questions

Post by EGG_GUTS »

But I wish For team 1 and 2 to play death match as well.
User avatar
Teancum
Jedi Admin
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

Re: Bunch 'O' Questions

Post by Teancum »

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.
Post Reply