Scripting new gametype
Moderator: Moderators
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Scripting new gametype
Hulla GT, i was wondering if there is any way to script a gametype where you have 50 allies against 50 enemies (teams 3 and 4) and the top says 50 out of 50 and you and the other team (1 and 2) have to kill the ai of the teams 3 and 4 and as they die the 50 out of 50 goes down, when there is none left on teams 3 or 4 then the ally of the team with men left wins? is this possible, ask if you need a better explanation. Thanks 
- AgentSmith_#27
- Rebel Warrant Officer

- Posts: 302
- Joined: Thu Feb 11, 2010 3:10 pm
- Projects :: No Projects I am ready to unveil
- xbox live or psn: No gamertag set
- Location: Zeroeditor
- Contact:
Re: Scripting new gametype
So to clarify, what you're asking is if you could, for example, have Team 1 and Team 3 as friends, and Team 2 and Team 4 as friends, and make it so you lose or win by Team 3 or 4's reinforcement count instead of your own?
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Scripting new gametype
I've tried this before and there's no way to show team 3's reinforcements in the HUD but you can give team 3 reinforcements and they will stop spawning when they run out.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Scripting new gametype
You could trigger messages when team 3 or 4's reinforcements reach certain points.
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Re: Scripting new gametype
could you connect team 3 losing directly to team 1 losing with a code and the message, like directions in the start like campaign, and so on till one teams ally is out? if so then how, wanna add somethin like this 
- 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: Scripting new gametype
So I'm a bit confused. Let me see if I get this right (which I probably won't)
**Teams 1 and 2 are player teams, but aren't "enemies" per say, though they are competing for points
**Teams 3 and 4 are basically target practice. Both teams try to either kill them off or hit a point limit.
If that's it in a nutshell it's not hard to code, and you can set it up so that the reinforcement count is is a team deathmatch scoreboard.
**Teams 1 and 2 are player teams, but aren't "enemies" per say, though they are competing for points
**Teams 3 and 4 are basically target practice. Both teams try to either kill them off or hit a point limit.
If that's it in a nutshell it's not hard to code, and you can set it up so that the reinforcement count is is a team deathmatch scoreboard.
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Re: Scripting new gametype
here is the script so far
would this work for the on timer elapse stuff with multiple command posts, and is this all set up right so far? also is there a way that i can have the mission be victory after the timer elapses and the Droids main cp not their ally's cps is capture i know the code would be missionvictoy, but can someone look over this for me? Thanks!

Hidden/Spoiler:
