Raised This Month: $120 Target: $400
 30% 

CS Battle Royale (PUBG) v2.6 [UPDATED 10/01/18] [ALL MAPS SUPPORTED]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 08-01-2018 , 11:06   CS Battle Royale (PUBG) v2.6 [UPDATED 10/01/18] [ALL MAPS SUPPORTED]
Reply With Quote #1

by DoNii

Version: 2.6

Video Preview (Old Version)

Description:
- You must have already heard of the Battle Royale games which are taking over the planet, yes, I'm talking about PUBG and Fortnite.
This mod revamps the default game play into a new survival game play, where you have to kill everyone to survive.


Information regarding the mod
- The mod now supports any map, you only have to create spawn points/origins for the Airplane, Zone and Weapons/Healings, for which you will have a tutorial in the next post.

Requirements:

• Official HLDS, you can't use this mod if you're using ReGameDLL.
Orpheu (I've tested using latest version).
Random Origin Generator by HamletEagle. (if using automatic spawn points)

Features
  • Battle Royale (Team up with your friends or go alone in the battlefield)
  • Air Plane dropping (All players spawn into an airplane from where they can jump)
  • Random dropped weapons and healings
  • Fake teams (You're able to create up to 32 teams)
  • Customizable API (Almost everything is changeable through .ini files)
  • Round Manager (Will take care of the game play, no admins needed in the server)
  • Red Zone (Seen in Fortnite [storm], players outside of the zone will take damage)
  • A lot more, find out for yourself.

Configuration Files:
Spoiler


Commands
Spoiler


API:
Spoiler


WHATS NEW? (Changelogs) *CHECK
Code:
* v1.0
        • Initial Release

* v1.1
        • Some fixes

* v1.2 
        • Deleted remove_entity_name("armoury_entity") from NewRound, should be in plugin_init

* v2.0 - Closed BETA:
        • Instead of removing armoury_entity every round, moved to plugin_init()
        • Fixed weapons not being spawned
        • Completely re-wrote Round Manager, last version was glitchy.
        • Starting from v2.0, you don't need CVAR Util, Infinite Round and No Objectives by VEN anymore. I implemented them in the mod
        • Fixed fake teams, they would put in your team people who weren't even alive
        • Added new method of fake teams, now instead of directly blocking spawn for player if he doesn't have a team, it checks if there's an available team for him.
        • Added a bunch of new forwards
        • Optimization
        • Added new sound when taking zone damage
        • Added new sound for airplane
        • Added auto team join on connect
        • I got tired of counting.

* v2.1
        • Fixed the problem that was causing round to end because of the timer
        • Fixed some parts that could bug
        • Fixed bug that was colliding players when jumping
        • Fixed bug that made players invisible
        • Fixed bug that made player invicible
        • Added a task to check if current alive players count is less than minimum, client_disconnect wasn't working properly
        • Fixed bug that caused player who won the game to not re-spawn
        • Fixed win manager, it was bugged before
        • Fixed MOTD not appearing on people who die
        • Added a code that blocks connect MOTD

* v2.2
        • Fixed fake teams when doing duos/squads
        • Removed the task I added in 2.1, added client_disconnect again but with a different method.
        • Hopefully fixed the bug that made some players sometimes invisible and invicible. Will try to fix it if it occurs again.

* v2.3
        • Added a code that might prevent players from remaining SOLID_NOT
        • Added more commands for backpack
        • Fixed damage stats

* v2.4
        • Added new method of checking disconnect, now it works.
        • Added new native SetPlayersInTeam (don't use it if you don't know what you're doing)
        • Fixed ReLocatePlayer (was int should be float)

* v2.5
        • The mod now supports every map! You only have to add spawnpoints/origins yourself.
        • Made the mod 200% times more configurable, added a bunch of new .ini and .cfg files for easy access to the user.
        • Added method to save player wins in Vault file.
        • Removed money HUD
        • Added option to choose whether to use automatic or custom spawn points
        • Fixed some possible future bugs
        • Optimized the code as always
        • Fixed parachute velocity appearing if admin slayed player
        • Fixed bug that was giving Victory Royale when players was killed by the zone

* v2.6
        • AirDrop now creates weapons on the ground instead of giving them to the player, StripWeapons .inc isn't needed anymore.
        • Added automatic way to create missing directory and files when playing on an unregistered map
        • Constant Update of Friend HUD, now it will show the status of the teammates, Dead/Alive.
        • VoiceChat limited to teammates - not tested
        • Added DHUD showing newbies how to jump from the plane
        • Added new camera angle, now it is similar to PUBG/Fortnite.
Downloads
V2.4 - (324)
V2.5 - (129)

Credits
• HamletEagle - If it wasn't for him, this mod wouldn't have been completed. Huge props.
• EFFx - Airplane code.
• Ghosted - Player->Zone 2D calculation and a lot of other help.
• Natsheh - For his circle creation stock which I used for the red zone.
• KliPPy - Backpack code, I was lost in my old code.
• Arkshine - fix for WeaponList.
Attached Files
File Type: zip Orpheu Signatures.zip (4.3 KB, 647 views)
File Type: txt cs_battleroyale.txt (6.7 KB, 604 views)
File Type: zip CS Battle Royale v2.4.zip (815.9 KB, 606 views)
File Type: zip CS Battle Royale v2.5.zip (824.1 KB, 325 views)
File Type: zip CS Battle Royale v2.6.zip (824.4 KB, 763 views)
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Santas vs Monsters New Private Mod

Juice Wrld

Last edited by edon1337; 10-01-2018 at 12:21. Reason: Updated 10/01/2018
edon1337 is offline
Send a message via Skype™ to edon1337
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 08-01-2018 , 11:07   Re: CS Battle Royale [BETA]
Reply With Quote #2

Adding Support for new maps

Tutorial
Adding Custom Spawn Points for your weapons and healings:
Spoiler


Adding Zone Starting Origins:
Spoiler


Adding Plane Directions:
Spoiler


Add-Ons

CsBattleRoyaleEntTracker.sma
- Keep track of your spawned entities, it will show the count of spawned weaponboxes and healing items. Say /track.

CsBattleRoyaleWeaponModelsReplacer.sma
- In case you want to replace any weapon's model, then this add-on can do it for you.

Download them below.
Attached Files
File Type: sma Get Plugin or Get Source (CsBattleRoyaleEntTracker.sma - 98 views - 599 Bytes)
File Type: sma Get Plugin or Get Source (CsBattleRoyaleWeaponModelsReplacer.sma - 114 views - 5.8 KB)
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Santas vs Monsters New Private Mod

Juice Wrld

Last edited by edon1337; 10-21-2018 at 16:56.
edon1337 is offline
Send a message via Skype™ to edon1337
iceeedr
Senior Member
Join Date: Apr 2017
Location: Brazil
Old 08-01-2018 , 11:36   Re: CS Battle Royale [BETA]
Reply With Quote #3

PHP Code:
[bp]
EMERGENCY_DROP Drop de emergencia!
AIRDROP_ARRIVED O airdrop aterrissouva pegar!
TAKE_ITEM_MEDKIT Voce recebeu %d de HP usando o kit Medico.
TAKE_ITEM_DRINK Voce recebeu +%d de HP bebendo o Drink.
ADDED_ITEM_BACKPACK = %s foi adicionado a sua mochila.
CANT_TAKE_MEDKIT Voce nao pode usar o kit medico quando sua HP e maior ou igual a %d.
CANT_TAKE_DRINK Voce nao pode usar o Drink quando sua HP e maior ou igual a %d.
ROUND_WINNER = ~ Ganhador do RoundTime %~
YOUR_TEAM_PLACED = ~ Colocacao do seu time#%d ~
ROUND_STARTS_IN AtencaoO round comeca em %d segundo%s
ZONE_APPEARS 
A zona vai aparecer em %d segundos.
ZONE_TIGHTEN A zona comecou a fechar.

HUD_YOUR_TEAM Seu time:
HUD_INFO = | ** Seu time: %** |^n| ** Times Restantes: %** |^n| ** Players vivos: %** |^n| ** Seus kills: %** | 

Last edited by iceeedr; 08-01-2018 at 11:37.
iceeedr is offline
Send a message via Skype™ to iceeedr
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-01-2018 , 11:45   Re: CS Battle Royale [BETA]
Reply With Quote #4

I see you have remove_entity_name on weaponbox. This calls remove_entity, and creates a leak. It will destroy the box, without the weapons from the box, as I explained before.
call_think is the proper way.

Also please avoid declaring variables in a loop.
__________________

Last edited by HamletEagle; 08-01-2018 at 11:46.
HamletEagle is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 08-01-2018 , 11:58   Re: CS Battle Royale [BETA]
Reply With Quote #5

Quote:
Originally Posted by iceeedr View Post
PHP Code:
[bp]
EMERGENCY_DROP Drop de emergencia!
AIRDROP_ARRIVED O airdrop aterrissouva pegar!
TAKE_ITEM_MEDKIT Voce recebeu %d de HP usando o kit Medico.
TAKE_ITEM_DRINK Voce recebeu +%d de HP bebendo o Drink.
ADDED_ITEM_BACKPACK = %s foi adicionado a sua mochila.
CANT_TAKE_MEDKIT Voce nao pode usar o kit medico quando sua HP e maior ou igual a %d.
CANT_TAKE_DRINK Voce nao pode usar o Drink quando sua HP e maior ou igual a %d.
ROUND_WINNER = ~ Ganhador do RoundTime %~
YOUR_TEAM_PLACED = ~ Colocacao do seu time#%d ~
ROUND_STARTS_IN AtencaoO round comeca em %d segundo%s
ZONE_APPEARS 
A zona vai aparecer em %d segundos.
ZONE_TIGHTEN A zona comecou a fechar.

HUD_YOUR_TEAM Seu time:
HUD_INFO = | ** Seu time: %** |^n| ** Times Restantes: %** |^n| ** Players vivos: %** |^n| ** Seus kills: %** | 
Thanks!

Quote:
Originally Posted by HamletEagle View Post
I see you have remove_entity_name on weaponbox. This calls remove_entity, and creates a leak. It will destroy the box, without the weapons from the box, as I explained before.
call_think is the proper way.

Also please avoid declaring variables in a loop.
Done.

I should also delete remove_entity_name("armoury_entity") from NewRound/RoundEnd and put it in plugin_init, right?
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Santas vs Monsters New Private Mod

Juice Wrld

Last edited by edon1337; 08-01-2018 at 12:25.
edon1337 is offline
Send a message via Skype™ to edon1337
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-01-2018 , 12:37   Re: CS Battle Royale [BETA]
Reply With Quote #6

Yes, if armoury_entity is removed once it won't be respawned.
__________________
HamletEagle is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 08-01-2018 , 12:44   Re: CS Battle Royale [BETA]
Reply With Quote #7

Quote:
Originally Posted by HamletEagle View Post
Yes, if armoury_entity is removed once it won't be respawned.
Done. Does Arkshine's Infinite Round block even sv_restartround? Because that's what I'm using to end the current round and start a new one.

If someone could test the mod in a live server with some friends, and leave a feedback of their experience, it would help me a lot.
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Santas vs Monsters New Private Mod

Juice Wrld

Last edited by edon1337; 08-01-2018 at 12:52.
edon1337 is offline
Send a message via Skype™ to edon1337
RaZ_HU
Member
Join Date: May 2015
Old 08-01-2018 , 14:30   Re: CS Battle Royale [BETA]
Reply With Quote #8

Quote:
[hu]
EMERGENCY_DROP = Elsősegély Csomag!
AIRDROP_ARRIVED = A Csomag megérkezett, menj és szerezd meg!
TAKE_ITEM_MEDKIT = %d HP-d van a MedKit használata után.
TAKE_ITEM_DRINK = Kaptál +%d HP-t az Italtól.
ADDED_ITEM_BACKPACK = %s belekerült a táskádba.
CANT_TAKE_MEDKIT = Nem használhatsz Medkitet ha több vagy egyenlő a HP-d mint %d.
CANT_TAKE_DRINK = Nem használhatsz Italt ha több vagy egyenlő a HP-d mint %d.
ROUND_WINNER = ~ A kör nyertese a %d csapat ~
YOUR_TEAM_PLACED = ~ A csapatod helyezése: #%d ~
ROUND_STARTS_IN = Figyelem: A kör kezdetét veszi %d másodpercen belül.
ZONE_APPEARS = A Zóna megjelenik %d másodpercen belül.
ZONE_TIGHTEN = A Zóna elkezdett szűkölni.

HUD_YOUR_TEAM = A Csapatod:
HUD_INFO = | ** A Csapatod: %d ** |^n| ** Hátralévő Csapatok: %d ** |^n| ** Élő Játékosok: %d ** |^n| ** Öléseid: %d ** |
Sounds cool, too bad I can't test it
(Orpheu is unreliable on ReHLDS/ReGameDLL - even if it works for some plugins I have tried.)

Last edited by RaZ_HU; 08-01-2018 at 14:31.
RaZ_HU is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-01-2018 , 14:35   Re: CS Battle Royale [BETA]
Reply With Quote #9

Quote:
Originally Posted by RaZ_HU View Post
Sounds cool, too bad I can't test it
(Orpheu is unreliable on ReHLDS/ReGameDLL - even if it works for some plugins I have tried.)
Quote:
Requirements:

• Official HLDS, ReHLDS won't be supported due to Orpheu being used.
__________________
HamletEagle is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 08-01-2018 , 14:40   Re: CS Battle Royale [BETA]
Reply With Quote #10

Quote:
Originally Posted by RaZ_HU View Post
Sounds cool, too bad I can't test it
(Orpheu is unreliable on ReHLDS/ReGameDLL - even if it works for some plugins I have tried.)
Your translation has Unicode characters.
I was hoping not to use Orpheu and make it compatible for ReHLDS too but it was too much work, also I don't know how to use ReAPI functions.

* Video preview added
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Santas vs Monsters New Private Mod

Juice Wrld

Last edited by edon1337; 08-01-2018 at 14:43.
edon1337 is offline
Send a message via Skype™ to edon1337
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:48.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode