[GameMode] Warfield - TDM/DM 0.3.7 (Mysql)
#1

Warfield

Introduction:
Hi everybody! So recently after my server was shut down I decided to release it, It is a team deathmatch gamemode where we took parts from the actual call of duty game and parts from SA-MP TDM servers

Features:

-Server sided weapon damage
-Support streaks which rewards you for capturing or killing enemies (Like in Call of duty)
-Round system
-Fourteen classes Each class has a special feature:

*Trooper: Kill streaks requires one less kill
*Sniper: Gets sniper weapon and cannot be seen on the map
*Suicider: You can use /suicide to suicide and kill enemies near you
*Medic: You can heal in range team mates and throw a medic kit using /deploymk
*Jettrooper: Ability to spawn a jetpack
*Bomberman: You can plant, Detonate and disarm a C4
*Engineer: You can drive a rhino and disarm C4s
*Pyroman: You get a flame thrower and Molotovs
*Scout: You can fly a seaspar, or get yourself a drone (/getdrone) that you use to locate enemies around and to detonate it (Like a C4)
*Support: You can refill in range mates's ammo using /sammo
*Pilot: You can fly both of hydra & hunter
*Spy: You disguise as enemy trooper
*Demolisher: This class was supposed to get more damage with every weapon but I did not manage to finish it
*Donor: This is unlocked for V.I.Ps only It gets you the best weapons (It is somewhat Overpowered)

-Sniper deathmatch arena
-Deagle DM with server sided auto C-Bug
-Duel system
-Race duel system (Same as the normal duel but instead of killing your enemy, You will have to defeat him in a race)
-Skydive pickup: Allows you to deploy on any zone your team own, Or you can deploy on any zone even if it doesn't belong to your team incase you're a VIP, This pickup can be found in each team base.
-Skin changer pickup: You can use it to change your skin (Available on each team base)
-Vehicle spawner pick (Also available on each team base)
-Capture zones
-Nuke system: You need to go to missile factory (A Capture zone) capture it then go to the nuke pickup, And launch it on enemy base.
-Airstrike system: Your team needs to own radio base then launch an airstrike at your position using /airstrike command
-Prototype system: Just like in other SA-MP Tdm servers
-Bunker system (This can be found inside of bunker capture zone) that will protect you from MOAB (A kill streak)
-A basic event system
-Mysql saving system
-Full admin system
-Antenna in each team base that can be destroyed with a C4: You can't use your team radio incase your antenna is destroyed
-Base shield: Destroys every enemy heavy vehicle that enter your base, You can destroy it using a C4 and raid bases
-Weapon drop: Whenever you die, The weapon you were holding will be dropped on the ground
-Ranks
-Ammo box (Can be found anywhere on the map) you can use them obviously for refilling your ammo every 3 Minutes
-Bombers: Rustlers that are able to drop bombs
-Can be accessed through both clients 03DL & 0.3.7 (Using adrianGraber's inc)
(I believe there are a lot more that I did not mention)
etc...

Pictures:

https://imgur.com/a/kgkPN8M

Credits:
-JamesT85
-Zeex & Yashas for izcmd https://sampforum.blast.hk/showthread.php?tid=576114
-MapAndreas https://sampforum.blast.hk/showthread.php?tid=273263
-Roguedrifter for his anti cheat pack https://github.com/RogueDrifter/Anti_cheat_pack
-Incognito for streamer https://sampforum.blast.hk/showthread.php?tid=102865
-Maddinat0r for sscanf2 https://sampforum.blast.hk/showthread.php?tid=602923
-Emmet for easyDialog https://sampforum.blast.hk/showthread.php?tid=475838
-Kar for foreach https://github.com/karimcambridge/SAMP-foreach
-Maddinat0r for Mysql (41-4) https://github.com/pBlueG/SA-MP-MySQL/releases
-Gamer931215 for his OnPlayerJackedVehicle include https://sampforum.blast.hk/showthread.php?tid=278082
-Slice for weapon config https://sampforum.blast.hk/showthread.php?tid=563387
-YourShadow for Pawn.RakNet https://sampforum.blast.hk/showthread.php?pid=3922270#pid3922270
-AdrianGraber for dl-compat https://sampforum.blast.hk/showthread.php?tid=652917
-Maddinat0r (again lol) for his discord connector https://sampforum.blast.hk/showthread.php?tid=631562
-Gammix for his PreviewModelDialog inc https://sampforum.blast.hk/showthread.php?tid=570213
-Twixxx for his player_geolocation inc https://sampforum.blast.hk/showthread.php?tid=658087
-Kar for his antiadvertising inc https://sampforum.blast.hk/showthread.php?tid=604086
-Crayder for his Anti troll https://forum.sa-mp.com/showpost.php...60&postcount=1
Download link:
https://github.com/KaryM4Life/Warfield


Note: You need both of SAfull.hmap & SAmin.hmap in your scriptfiles folder.

Reply
#2

Sounds good. However, it's missing some screens, can you upload some?
Reply
#3

Why you release Your script?
Reply
#4

Quote:
Originally Posted by BanSilog
Посмотреть сообщение
Why you release Your script?
This.
Quote:

So recently after my server was shut down I decided to release it

Reply
#5

Quote:
Originally Posted by TopShooter2
Посмотреть сообщение
Sounds good. However, it's missing some screens, can you upload some?
Done, Thread updated!
Reply
#6

You did a good job with the script. And good luck for your future. I suppose this means departure from the SA-MP scene?
Reply
#7

nooooooooo. it should not be released that was awsome server

EDIT: you forgot upload link "ANTITLC" include
Reply
#8

Could u upload AntiTLG.inc?
Reply
#9

Quote:
Originally Posted by Turret
Посмотреть сообщение
Could u upload AntiTLG.inc?
Here is the link (Scroll down) https://forum.sa-mp.com/showpost.php...60&postcount=1
Reply
#10

Will try this, Good job
Reply
#11

good job.
Reply
#12

nice thanks i'll check it out
Reply
#13

I uploaded all the required files, recompiled and got this:

Quote:

Warfield\pawno\include\PreviewModelDialog.inc(10) : fatal error 100: cannot read from file: "memory.inc"

Reply
#14

Quote:
Originally Posted by D1am0nd
Посмотреть сообщение
I uploaded all the required files, recompiled and got this:
The previewModelDialog requires memory.inc

https://sampforum.blast.hk/showthread.php?tid=645166
Reply
#15

Quote:
Originally Posted by KaryM4Life
Посмотреть сообщение
The previewModelDialog requires memory.inc

https://sampforum.blast.hk/showthread.php?tid=645166
Okay, I added memory.inc in pawno/includes and then I recompiled the gamemode, but for some reason, pawno is recompiling very slow and in the end it doesn't recompile. Program itself doesn't respond
Reply
#16

Quote:
Originally Posted by D1am0nd
Посмотреть сообщение
Okay, I added memory.inc in pawno/includes and then I recompiled the gamemode, but for some reason, pawno is recompiling very slow and in the end it doesn't recompile. Program itself doesn't respond
You can contact me on discord !KM711👑 I will send you the files
Reply
#17

How can I add a new capture zone? I tried to add in ''new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =''

But then I get this error: ''initialization data exceeds declared size''

PHP код:
new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =
{
    {
"Meat Factory"MEATFACTORY_GANGZONE,MEATFACTORY_CP,MEATFACTORY_SPAWN_POINT},
    {
"Snake Farm",SNAKEFARM_GANGZONE,SNAKEFARM_CP,SNAKEFARM_SPAWN_POINT},
    {
"Radio base",RADIOBASE_GANGZONE,RADIOBASE_CP,RADIOBASE_SPAWN_POINT},
    {
"Missile factory"MISSILEFACTORY_GANGZONEMISSILEFACTORY_CPMISSILEFACTORY_SP},
    {
"Bunker"BUNKER_GANGZONE, {-55.4366,1821.8054,17.6476},{-46.8643,1846.6771,17.6406}},
    {
"Area 51 Airfield", {114.4282981944.034179330.4282832096.034179},{206.3778,1984.4216,17.6406}, {261.5969,2054.3059,17.6407}},
    {
"Healing point", {-219.9593812328.514648, -91.9593812472.514648}, {-170.0381,2341.7070,51.1565}, {-183.7791,2382.4951,55.9716}},
    {
"Desert airport", {205.6069332398.045410453.6069332622.045410}, {404.1522,2535.3142,16.5458}, {413.7609,2536.4856,19.1484}}
}; 
How it's possible to add more capture zones?
Reply
#18

Quote:
Originally Posted by Ercha
Посмотреть сообщение
How can I add a new capture zone? I tried to add in ''new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =''

But then I get this error: ''initialization data exceeds declared size''

PHP код:
new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =
{
    {
"Meat Factory"MEATFACTORY_GANGZONE,MEATFACTORY_CP,MEATFACTORY_SPAWN_POINT},
    {
"Snake Farm",SNAKEFARM_GANGZONE,SNAKEFARM_CP,SNAKEFARM_SPAWN_POINT},
    {
"Radio base",RADIOBASE_GANGZONE,RADIOBASE_CP,RADIOBASE_SPAWN_POINT},
    {
"Missile factory"MISSILEFACTORY_GANGZONEMISSILEFACTORY_CPMISSILEFACTORY_SP},
    {
"Bunker"BUNKER_GANGZONE, {-55.4366,1821.8054,17.6476},{-46.8643,1846.6771,17.6406}},
    {
"Area 51 Airfield", {114.4282981944.034179330.4282832096.034179},{206.3778,1984.4216,17.6406}, {261.5969,2054.3059,17.6407}},
    {
"Healing point", {-219.9593812328.514648, -91.9593812472.514648}, {-170.0381,2341.7070,51.1565}, {-183.7791,2382.4951,55.9716}},
    {
"Desert airport", {205.6069332398.045410453.6069332622.045410}, {404.1522,2535.3142,16.5458}, {413.7609,2536.4856,19.1484}}
}; 
How it's possible to add more capture zones?
1. Goto your includes folder
2. open WF_Defines
3. Search for #define MAX_CAPTURE_ZONES 7
4. Make it to #define MAX_CAPTURE_ZONES 10 //or more
Reply
#19

Quote:
Originally Posted by Ercha
Посмотреть сообщение
How can I add a new capture zone? I tried to add in ''new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =''

But then I get this error: ''initialization data exceeds declared size''

PHP код:
new const gZone[MAX_CAPTURE_ZONES][e_ZONE] =
{
    {
"Meat Factory"MEATFACTORY_GANGZONE,MEATFACTORY_CP,MEATFACTORY_SPAWN_POINT},
    {
"Snake Farm",SNAKEFARM_GANGZONE,SNAKEFARM_CP,SNAKEFARM_SPAWN_POINT},
    {
"Radio base",RADIOBASE_GANGZONE,RADIOBASE_CP,RADIOBASE_SPAWN_POINT},
    {
"Missile factory"MISSILEFACTORY_GANGZONEMISSILEFACTORY_CPMISSILEFACTORY_SP},
    {
"Bunker"BUNKER_GANGZONE, {-55.4366,1821.8054,17.6476},{-46.8643,1846.6771,17.6406}},
    {
"Area 51 Airfield", {114.4282981944.034179330.4282832096.034179},{206.3778,1984.4216,17.6406}, {261.5969,2054.3059,17.6407}},
    {
"Healing point", {-219.9593812328.514648, -91.9593812472.514648}, {-170.0381,2341.7070,51.1565}, {-183.7791,2382.4951,55.9716}},
    {
"Desert airport", {205.6069332398.045410453.6069332622.045410}, {404.1522,2535.3142,16.5458}, {413.7609,2536.4856,19.1484}}
}; 
How it's possible to add more capture zones?
Quote:
Originally Posted by ZigGamerx
Посмотреть сообщение
1. Goto your includes folder
2. open WF_Defines
3. Search for #define MAX_CAPTURE_ZONES 7
4. Make it to #define MAX_CAPTURE_ZONES 10 //or more
MAX_CAPTURE_ZONES is supposed to be equal to your zones count.
Reply
#20

You can also remove MAX_CAPTURE_ZONES and simply loop through the zones using sizeof(gZone).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)