new gamemode - keep the base [source included!]
#1
Hi all,

I always thought a "base" mode would be a great thing for AC. As I said on another thread, I'm making one. This is how it works :

1) a "base" is the zone around a flag.
2) when you come in enemy base, you score for your team every 10 seconds.
3) you cannot take the enemy base, if yours is taken.
4) if you are more than 1 in the enemy base, only the first player in can score
5) if you are more than 1 and the scorer die, you don't lose the base, the owner become one of your mates in enemy base.
6) you can see your enemies on the mini map when they are in your base

Actually, I'm trying to see how to delimit bases. I may use a dyn light, but it's too bright then :/

Do you like the idea ? Any idea to make it better ? :)
Thanks


Download & install :
If you are using windows :
Download http://iafclan.free.fr/mods/e/release.zip.
Unpack it and copy/paste it into your AC install directory
then run assaultcube_tktb.bat
If you are not using windows, you'll have to compile it yourself.

Sources
Sources download link :
http://iafclan.free.fr/mods/e/src.zip
If you want to see the code I wrote, search for both "// base mode" and "// shuffle tag" comments


Team Keep The Base
/mode 16 then /map yourmap
There are 2 bases (defined by an area around each flag)
You have to be in enemy base to score (10 s in enemy base = 1 point)
You can't take the enemy base if your base is taken
Bases are delimited by cylinders on the map

Team Keep The Zone

/mode 17 then /map yourmap
There is 1 zone located at the middle of a map by the mapper
The first team in scores (10 s in the zone = 1 point)
This zone is delimited by a yellow cylinder, and a flag in the middle

How to map for this modes
If you want to create a flag with a base size of 25, you have to type
/newent ctf-flag 0 25 (for CLA)
/newent ctf-flag 1 25 (for RVSF)
/newent ctf-flag 2 25 (for TKTZ mode)

How to shuffle teams with tags
/callvote 13 "list of tags"
for example :
/callvote 13 "IAF| =MyS="

you can use an alias :
/alias shuffletag [callvote 13 $arg1]

then
/shuffletag "IAF| =MyS="

(server side check functions are crap, I know, I have to re-make them :)

(Thanks to everybody who helped me to test, especially to Pakit, who never lost patience when I was asking him to connect and connect again to my server... :P)
Thanks given by:
#2
Good idea, but what makes it great is that you are actually doing it yourself :)

4) not sure if that's a good idea - maybe give the others some points to make them stay and support the first guy?
6) I don't think that's necessary, better make the base icon blink or something if there are enemies near the base - makes the minimap clearer.
Thanks given by:
#3
4) points maybe, but not "flags" :)
6) ok, you must be right.
Thanks given by:
#4
*Spam removed*
Thanks given by:
#5
Great more spam -_-
Thanks given by:
#6
Why not search&destroy as new mode?
It's a real *team* mode.
Thanks given by:
#7
Go play CoD, "Ghost".
jk.
Thanks given by:
#8
Tempest, Search & Destroy is a great mode... Why not use it also in ac?
Thanks given by:
#9
You missed my "jk".
Thanks given by:
#10
Yam's mod included a similar, experimental mode. It worked like 'regen capture' in Sauer. I thought it was really cool and interesting, but since the forums have been nuked, I'm not sure if we can find his post with his download link and stuff anymore.
Thanks given by:
#11
I made it anyway, I'll post it later, when it's really finished.
Thanks given by:
#12
(19 Sep 10, 09:37AM)Luc@s Wrote: I made it anyway, I'll post it later, when it's really finished.
Someone has already made a mod similar to this its on youtube heres the link: http:/www.youtube.com/watch/fehn24g/awesomeACmod

Mod edit:

<333 joshy-poo
Thanks given by:
#13
(19 Sep 10, 09:42AM)Ext3rmin8er Wrote:
(19 Sep 10, 09:37AM)Luc@s Wrote: I made it anyway, I'll post it later, when it's really finished.
Someone has already made a mod similar to this its on youtube heres the link: http:/www.youtube.com/watch/fehn24g/awesomeACmod
awesome

Mod Edit:

:D

























I HATE YOU
Thanks given by:
#14
Clever clever.
Thanks given by:
#15
I made this for the minimap :

[Image: minimapj.jpg]
Thanks given by:
#16
* Ronald_Reagan <3's Lucas
Thanks given by:
#17
Omigosh I love you
Thanks given by:
#18
So this mode is definitely not meant for 1v1?

As for using dynamic lighting, that's a great idea. I thought you could set the brightness for it in the source code? Though I don't think delimiting it visibly is really necessary.

Also, bases covering equal amounts of area that players can actually be in may become an issue.
Thanks given by:
#19
lol ty guys

(19 Sep 10, 04:07PM)DES|V-Man Wrote: So this mode is definitely not meant for 1v1?
Why ? :)

(19 Sep 10, 04:07PM)DES|V-Man Wrote: As for using dynamic lighting, that's a great idea. I thought you could set the brightness for it in the source code? Though I don't think delimiting it visibly is really necessary.
I tried it : couldn't get a lower brightness, and it was not precise. If I manage to do the same for the compass (I mean same as minimap), it would be useless to do it on the map I think :)

(19 Sep 10, 04:07PM)DES|V-Man Wrote: Also, bases covering equal amounts of area that players can actually be in may become an issue.
We need to test the mode to know that.

Maybe should I do something like this :
if there are x players in a team, there must have x/n players in a base so it is "taken", with n like 2 or 3 for example (and with a min. value of 1 of course)
Thanks given by:
#20
FIRST RELEASE GUYS :D

What you have to do :
1) download these files :
Binaries
http://iafclan.free.fr/mods/b/ac_client.exe
http://iafclan.free.fr/mods/b/ac_server.exe

Packages (needed, not of mine, I can't find the author akimbo is down)
http://iafclan.free.fr/mods/a/revolver.zip

Source/src
http://iafclan.free.fr/mods/b/src.zip

2) open your install folder of ac
3) open the bin_win32 folder
4) backup ac_client.exe and ac_server.exe and replace ac_client.exe and ac_server.exe with the binaries you downloaded.
5) Unpack revolver.zip in your install folder > packages > models > weapons so there is a folder named "revolver" next to rifle, assault, etc. :)

Documentation : ( :o )
1) mode 16; map yourmap to run a map in TKTB
2) mode 17; map yourmap to run a map in iCTF
3) /setsecondary 1 to change your secondary weapon to pistol (default) or /setsecondary 10 to change it to "revolver" (sorry for stupid name)
This may bugs on server (means you have to reconnect after change. I'm fixing. But you can use it against bots, if you don't want to have to reconnect :p)

Note : it's just a test, you CAN'T play on other AC servers with this version (only servers made for it)

Anyway I changed protocol
oh and it's buggy, not finished etc.
Just for guys who wanna help me to test ;)
Thanks given by:
#21
What is the revolver for? Is it just an added weapon?
Thanks given by:
#22
yes
25 hp damage, not precise, lot of recoil
maybe over powered, I don't know, we have to test it to know :)

EDIT : 6/18 ammo, 24 max
Thanks given by:
#23
No source code and windows binaries only? :S
Thanks given by:
#24
Not atm, please be patient :o

There is a bug in this release (related to weapon and cubescript), I will edit soon.
Thanks given by:
#25
The idea is great, waiting for a Mac beta to test it :D
(but don't worry, don't got time atm ;) )
Thanks given by:
#26
Binaries
http://iafclan.free.fr/mods/b/ac_client.exe
http://iafclan.free.fr/mods/b/ac_server.exe

Packages (needed, not of mine, I can't find the author akimbo is down)
http://iafclan.free.fr/mods/a/revolver.zip

Source/src
http://iafclan.free.fr/mods/b/src.zip

Server
/connect iafmatch.com 28700
if down, run yours !
Thanks given by:
#27
Just played both modes, very awesome! I'd love to see these implemented in the game.
Thanks given by:
#28
I think there is an ideas thread for you to post this in so the devs can shoot it down.
Thanks given by:
#29
this gametype sounds like a campers wet dream!
Thanks given by:
#30
ty for comments

lol @ mike :D
yes, a mode for campers :D
Thanks given by: