How to make FFA/deathmatch gametype?

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

Post Reply
User avatar
Broadus
Second Lance Corporal
Second Lance Corporal
Posts: 110
Joined: Thu Sep 21, 2006 1:23 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

How to make FFA/deathmatch gametype?

Post by Broadus »

How can I make a free-for-all gametype? I'm modding on the PSP, so I'm limited to making my own mission.lvl or hex-editing.
I just want it for one level, wherein I'd take Mos Eisley Hunt and exchange the Jawas/Tuskens for Heroes/Villains, because on Mos Eisley Hunt, players spawn in random areas irrelevant of what team they're on.
I got inspired by the FFA idea when, for the first time, I was playing with two friends on SWBF2 PSP (making for three players). Hero Assault is boring when all of the players just team up on the computers, but competition isn't terribly entertaining either when you have two versus one.
So, repeating my question, anyone know how I could make a FFA gametype?
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: How to make FFA/deathmatch gametype?

Post by Darth_Z13 »

Make it so only one unit spawns (you). Then the other team can try to kill you.
User avatar
Broadus
Second Lance Corporal
Second Lance Corporal
Posts: 110
Joined: Thu Sep 21, 2006 1:23 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: How to make FFA/deathmatch gametype?

Post by Broadus »

That's the opposite of what I'm going for. I'm trying to get everyone fighting eachother. As in a free-for-all, not me-versus-everyone.
Last edited by Broadus on Sat Feb 03, 2007 1:37 am, edited 1 time in total.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: How to make FFA/deathmatch gametype?

Post by Qdin »

He just told you wha tto do if you wanted a pure you-vs-everyone :P

but I see what you want: You want a completely chaotic battle, where everything just shoot at everything nomatter what team it is.

I'm currently thinking of the codes we once used for auto-targetting turrets... :roll: They just started shooting at whatever they wanted :D
shade...

Post by shade... »

wasnt that released in 1.8.1?

deathmatch?
im pretty sure you have to reprogram the ScriptCB_DoFile...
"GoTo", "ObjectiveTDM (hunt and eli)
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

Well if you want that then you need a different team for each unit.... it would be pretty difficult.
shade...

Post by shade... »

and impossible. you cant set more then two teams per game

unless you want to import some serious stuff like in campaign modes. they have more then 1 (just a tip)
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

Post by Darth_Z13 »

Wrong. You can have as many as 8 teams (I think it's 8 ) , only two can be playable.
User avatar
Broadus
Second Lance Corporal
Second Lance Corporal
Posts: 110
Joined: Thu Sep 21, 2006 1:23 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Broadus »

Well, in the PC SWBF1 Conversion Pack thing, there's free-for-all, isn't there? How did they manage that?
Though it's limited to Tantive IV and only half-works, it's still there.

I guess it's pretty hopeless, as the whole reason I want free-for-all is so three players can kill eachother without worrying about uneven teams, and if only two teams can be present with everyone on one team being unable to kill the people on that team (without friendly fire penalties), then there's just no FFA capabilities in SWBF2.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

I don't know if there is an 8 team limit, but I do know the team number can be over 8.

If you want a quick deathmatch, set each team to be an enemy of all the teams (including itself). There are some problems with this and the AI (they spawn camp and are very good at it), but it works.

I wrote a complicated Deathmatch which gets around this: Eveyone spawns on team 1. After a short while, they move over to team 2. Everyone on team 2 is in the 'deathmatch mode'. For anyone just playing the mode for the first time, it is extremely confusing (but it is fair and balanced). I have plans to make it simplier...

The source code will be online in a few days if you want to take a look at it. If its not, feel free to spam PM me until its online.
User avatar
Broadus
Second Lance Corporal
Second Lance Corporal
Posts: 110
Joined: Thu Sep 21, 2006 1:23 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Broadus »

When I set the teams to unally themselves, nobody can spawn because their own CPs are seen as "enemy" CPs. So, I guess that's out. I'll wait for the source code you made, then.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

oops, forgot about that.
Post Reply