Jump to content

[REL][GM] Attack & Defend 1.0.5


Recommended Posts

Brought to you by

m2s.png

Coming soon to a server near you...

mainlogo.png

Test it right now!

217.16.4.43 port 22003

This is a very standard Attack and Defend gamemode where players from each team have specific goals:

- Team Attack: Must spawn vehicle and find tactical ways to either kill all Defenders, or stay 20 seconds

(by default) in the checkpoint.

- Team Defend: Must successfully defend the checkpoint until time runs out or all Attackers are killed.

THIS MODE REQUIRES YOU TO USE THE LATEST ADMIN RESOURCE IF YOU WISH TO EDIT SETTINGS (meta.xml) INGAME:

Admin Resource Download HERE

Attack & Defend:

DOWNLOAD HERE

Available commands:

- User commands:

F1: Lobby spawn option menu

F2: Vehicle spawn option menu

F3: Teleport option menu

F4: Dueling option menu

F5: Base/arena browsing option menu

/s, /skin, /setskin [iD]: Change player skin

/f, /fight, /fstyle [iD]: Change player fighting style

/v, /car, /vehicle [iD/PartofName]: Spawn a vehicle in lobby

/tp [1-10]: Teleport to an exterior

/int [1-147]: Teleport to an interior

/teams: View playercount per team (out of round)

/votebase [baseid]: Start a vote for base

/votearena [arenaid]: Start a vote for arena

/spec: Spectate inround players

/specduel [PartofName]: Spectate dueling players

/kill: Kill yourself

/lounge: Teleport to the lounge

/credits: Show the credits

 

- Admin commands:

/startbase [baseid or -1(random)]: Only usable out of rounds, starts a base

/startarena [arenaid or -1(random)]: Only usable out of rounds, starts an arena

/createbase: Base creation menu (refreshall required after base creation)

/createarena: Arena creation menu (refreshall required after arena creation)

/delbase [baseid]: Deletes a base (refreshall required after base deletion)

/delarena [arenaid]: Deletes an arena (refreshall required after arena deletion)

/endround: Abruptly ends the current round (no winner)

/add [playername]: Bring a player into the round

/remove [playername]: Remove a player from the round

/givemenu [playername]: Put a player back into weapon selection

/readd [playername]: Readd a player to the round

/switch [playername]: Switch a player's team

/swap: Swap the teams (Attack to Defense)

/balance: Balance the teams (Attack/Defense)

/allvs [clanTag]: put clanmembers into the same team, the rest vs them

/pause: Pause/unpause the round

/ann [msg]: Announce command for admins

 

Admins can use the admin resource included to change gamemode settings directly ingame (requires "restart aad" in console)

You will be able to change the following settings in your meta.xml, or directly ingame via the ADMIN resource:

<setting name="*gametype" value="Attack n Defend"  
                    friendlyname="The gamemode name"
                    group="Mode"
                    accept="*"
                    desc="Changes the gamemode name" />
 
        <setting name="*URL" value="www.menace2society.org"
                    friendlyname="Your website URL"
                    group="Visual"
                    accept="*"
                    desc="Changes the URL in bottom right corner of lobby" />
 
        <setting name="*welcomemsg" value="#FFFFFFWelcome to #FFD700Menace #FF0000II #FFD700Society#FFFFFF A/D Server"
                    friendlyname="The chat welcome message"
                    group="Visual"
                    accept="*"
                    desc="Changes the chat welcome message" />
 
        <setting name="*urlmsg" value="#FFFFFFVisit us @ #FFD700www.menace#FF00002#FFD700society.org"
                    friendlyname="The chat url message"
                    group="Visual"
                    accept="*"
                    desc="Changes the chat url message" />
 
        <setting name="*teamkill" value="[false]"
                    friendlyname="Team kill"
                    group="Mode"
                    accept="false,true"
                    desc="Set to true to enable friendly fire" />
 
        <setting name="*headshots" value="[false]"
                    friendlyname="Headshots"
                    group="Mode"
                    accept="false,true"
                    desc="Set to true to enable headshots" />
 
        <setting name="*fastfire" value="[true]"
                    friendlyname="Bug: fastfire"
                    group="Mode"
                    accept="false,true"
                    desc="Set to false to disable fastfire" />
 
        <setting name="*quickreload" value="[true]"
                    friendlyname="Bug: quickreload"
                    group="Mode"
                    accept="false,true"
                    desc="Set to false to disable quickreload" />
 
        <setting name="*fastmove" value="[true]"
                    friendlyname="Bug: fastmove"
                    group="Mode"
                    accept="false,true"
                    desc="Set to false to disable fastmove" />
 
        <setting name="*lobbyarmor" value="[true]"
                    friendlyname="Allow armor in lobby"
                    group="Lobby"
                    accept="false,true"
                    desc="Set to false to disable armor" />
                   
        <setting name="*roundarmor" value="[true]"
                    friendlyname="Allow armor in rounds"
                    group="Round"
                    accept="false,true"
                    desc="Set to false to disable armor" />
                   
        <setting name="*duelarmor" value="[true]"
                    friendlyname="Allow armor in duels"
                    group="Lobby"
                    accept="false,true"
                    desc="Set to false to disable armor" />
 
        <setting name="*CPtime" value="[20]"
                    friendlyname="Base takeover time"
                    group="Round"
                    accept="1-60"
                    desc="Time the attacker must stay in the checkpoint to win" />
 
        <setting name="*CPcolor" value="#FF0000"
                    friendlyname="Checkpoint color"
                    group="Mode"
                    accept="*"
                    desc="The checkpoint's color in HEX" />
 
        <setting name="*attname" value="Attack"
                    friendlyname="First team's name"
                    group="Mode"
                    accept="*"
                    desc="Changes the first team's name" />
 
        <setting name="*defname" value="Defense"
                    friendlyname="Second team's name"
                    group="Mode"
                    accept="*"
                    desc="Changes the second team's name" />
 
        <setting name="*refname" value="Referee"
                    friendlyname="Third team's name"
                    group="Mode"
                    accept="*"
                    desc="Changes the third team's name" />
 
        <setting name="*attcolor" value="#FF0000"
                    friendlyname="First team's color"
                    group="Mode"
                    accept="*"
                    desc="Changes the first team's color" />
 
        <setting name="*defcolor" value="#0000FF"
                    friendlyname="Second team's color"
                    group="Mode"
                    accept="*"
                    desc="Changes the second team's color" />
 
        <setting name="*refcolor" value="#00FF00"
                    friendlyname="Third team's color"
                    group="Mode"
                    accept="*"
                    desc="Changes the third team's color" />
 
        <setting name="*attskin" value="[18]"
                    friendlyname="Attackers' skin"
                    group="Mode"
                    accept="7, 9-29,30-41,43-64,66-73,75-85,87-118,120-148,150-207,209-238,240-264,274-288"
                    desc="Attackers' skin" />
 
        <setting name="*defskin" value="[285]"
                    friendlyname="Defenders' skin"
                    group="Mode"
                    accept="7, 9-29,30-41,43-64,66-73,75-85,87-118,120-148,150-207,209-238,240-264,274-288"
                    desc="Defenders' skin" />
 
        <setting name="*refskin" value="[20]"
                    friendlyname="Referees' skin"
                    group="Mode"
                    accept="7, 9-29,30-41,43-64,66-73,75-85,87-118,120-148,150-207,209-238,240-264,274-288"
                    desc="Referees' skin" />
 
        <setting name="*introRand" value="[true]"
                    friendlyname="Intro screen coordinates randomized"
                    group="Visual"
                    accept="false,true"
                    desc="Randomize intro location" />
 
        <setting name="*introXYZ" value="[[-1062.76,1055.50,1347.65]]"
                    friendlyname="Intro screen coordinates"
                    group="Visual"
                    accept="*"
                    desc="Must be valid coordinates" />
 
        <setting name="*introIntID" value="[10]"
                    friendlyname="Intro screen interior ID"
                    group="Visual"
                    accept="*"
                    desc="Must be a valid interior ID or 0 for outside" />
 
        <setting name="*lobbyXYZ" value="[[365.34,2537.29,16.9]]"
                    friendlyname="Lobby coordinates"
                    group="Lobby"
                    accept="*"
                    desc="Must be valid coordinates" />
 
        <setting name="*lobbyIntID" value="[0]"
                    friendlyname="Lobby interior ID"
                    group="Lobby"
                    accept="*"
                    desc="Must be a valid interior ID or 0 for outside" />
 
        <setting name="*lobbySkins" value="[[0,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,75,76,77,78,79,80,81,82,83,84,85,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288]]"
                    friendlyname="Lobby allowed skins"
                    group="Lobby"
                    accept="*"
                    desc="Lobby allowed skin ID" />
 
        <setting name="*lobbyWepsMelee" value="[[2,3,5,6,7,10,11,12,14,15]]"
                    friendlyname="Lobby allowed melee weapons"
                    group="Lobby"
                    accept="*"
                    desc="Lobby allowed melee weapon IDs" />
 
        <setting name="*lobbyWepsGuns" value="[[22,23,24,25,26,27,29,28,32,30,31,33,34]]"
                    friendlyname="Lobby allowed weapons"
                    group="Lobby"
                    accept="*"
                    desc="Lobby allowed weapon IDs" />
 
        <setting name="*baseWepsHand" value="[[16,1]]"
                    friendlyname="Round allowed handheld weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed handheld weapon IDs" />
 
        <setting name="*baseWepsGun1" value="[[23,150]]"
                    friendlyname="Round allowed first weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed first weapon IDs" />
 
        <setting name="*baseWepsGun2" value="[[24,150]]"
                    friendlyname="Round allowed second weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed second weapon IDs" />
 
        <setting name="*baseWepsGun3" value="[[25,80,30,250,31,250,33,50,34,50]]"
                    friendlyname="Round allowed third weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed third weapon IDs" />
 
        <setting name="*arenaWepsHand" value="[[17,1]]"
                    friendlyname="Round allowed handheld weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed handheld weapon IDs" />
 
        <setting name="*arenaWepsGun1" value="[[24,150]]"
                    friendlyname="Round allowed first weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed first weapon IDs" />
 
        <setting name="*arenaWepsGun2" value="[[23,150]]"
                    friendlyname="Round allowed second weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed second weapon IDs" />
 
        <setting name="*arenaWepsGun3" value="[[27,80,30,250,31,250,33,50,34,50]]"
                    friendlyname="Round allowed third weapons"
                    group="Round"
                    accept="*"
                    desc="Round allowed third weapon IDs" />
 
        <setting name="*gunlimits" value="[[34,2,27,1]]"
                    friendlyname="Gun limits inround (GUN,LIMIT)"
                    group="Round"
                    accept="*"
                    desc="Limit how many times a gun can be selected per team (ex: 24, 2 --> deagle can be selected twice maximum per team!)" />
 
        <setting name="*LobbyCars" value="[[602,496,401,518,527,589,419,533,526,474,545,517,410,600,436,580,439,549,491,445,604,507,585,587,466,492,546,551,516,467,426,547,405,409,550,566,540,421,529,581,509,481,462,521,463,510,522,461,448,468,586,485,431,438,437,537,574,420,525,408,449,552,416,433,427,490,528,407,523,470,598,596,597,599,601,428,499,609,498,524,532,578,486,406,573,455,588,403,423,414,443,515,531,456,459,422,482,605,530,418,572,582,413,440,543,583,478,554,536,575,534,567,535,576,412,402,542,603,475,441,501,465,564,568,424,504,457,483,508,571,500,444,556,557,471,495,539,429,541,415,480,562,565,434,494,502,503,411,559,561,560,506,451,558,555,477,579,400,404,489,479,442,458]]"
                    friendlyname="Cars & Bikes"
                    group="Lobby"
                    accept="*"
                    desc="Cars & Bikes IDs" />
 
        <setting name="*LobbyPlanes" value="[[511,548,512,593,417,487,553,488,497,563,519,460,469,513,472,473,493,595,484,430,453,452,446,454]]"
                    friendlyname="Boats & Planes"
                    group="Lobby"
                    accept="*"
                    desc="Boats & Planes IDs" />
 
Edited by Guest
Link to comment
  • Replies 87
  • Created
  • Last Reply

Top Posters In This Topic

Thanks :wink:

More screens, in round mostly (click to see full size screenshot):

The kill message, with custom spin around you in slow motion when you die!

killsmall.png

A quick look at inround GUIs

inroundsmall.png

Base/Arena countdown screen, where you can see the ID, name, description, and a camera spin around the checkpoint

basecdsmall.png

The inround weapon menu screen (completely configurable)

inroundwepssmall.png

The checkpoint takeover countdown screen

cptakeoversmall.png

The attackers win final result screen

attwinssmall.png

The defenders win final result screen

defwinssmall.png

More to come later!

Edited by Guest
Link to comment

Thanks guys :)

Base ingame creation system: enter name, description, move your player to the spawns/CP locations you want, click the button, refreshall in console and play your newly created base/arena right away

:)

creationsmall.png

...and Arenas:

acreationsmall.png

Custom made duel zones:

duelarenasmall.png

Link to comment
MTA is getting too familiar with Basemode, however this gamemode would be very nice for the clans that are going to come from samp.

This mode can be configured to have anything Basemode offers ;) You can even remake bases/arenas on the fly ingame to match whatever you want to do, or to create one for a clanwar if you need it right away. Takes 2 minutes.

Link to comment

************************

Attack & Defend

by [M2S]moe

************************

THIS MODE REQUIRES YOU TO USE THE LATEST ADMIN RESOURCE IF YOU WISH TO EDIT SETTINGS (meta.xml) INGAME:

http://menace2society.org/admin.zip

Attack & Defend:

Mirror: http://menace2society.org/aad.zip

MTASA Forum Thread:

https://forum.multitheftauto.com/viewtop ... 08&t=27500

Feel free to post comments, opinions or any questions you may have.

Enjoy! :)

Edited by Guest
Link to comment
Thank you very much moe :D

But when I run my server it says 1 failed, when i checked it appear add.zip failed to start...

how to fix pls ? :)

Did you download the mode from the community website? I updated it there so you dont have to edit anything.

https://community.multitheftauto.com/index.php?p= ... ils&id=728

Just make sure you also download dxscoreboard and put it in your resources folder.

BTW you do NOT need 1.0.4 to play this mode. It works perfectly well on 1.0.3 (but it also works on 1.0.4 if thats what you're using.)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...