PDA

View Full Version : GasRun! v1.02.4 - A mod for CS 1.6 (Updated 03-18-12)


Grinf4ce
02-19-2012, 05:10
GasRun! - v1.02.4
By Grinf4ce & Kitty the Cat

Description:
Both Teams (CT and Terrorists) have a gas-tank, and the other team, has the key for it. You have to get your key back from the enemies base and bring it to your gas-tank. If you reach the gas-tank, you activate a nerve-gas-alert. All players of your team are immune to the nerve-gas, but all player of the other team will die.

The enemy team can save their live, if every player change to his knife and press USE. But they have only 5 seconds - and the protecting-suite needs 3.5 seconds to be ready. The best way is, protect the key of the enemies and took your key from enemies base.

It's a deathmatch-mod, if you die, you will respawn after 3 seconds at your base and get a spawn protection. At spawn, a weaponmenu will open and you can choose between M4A1, AK47 and MP5. There is a grenade-backpack in the map, where you get HE and FBs - but one backpack for both teams. Once the grenade-backpack was picked up, it will respawn after 30 seconds. To restock your ammo, there is a ammo-backpack at both spawnpoints (respawning after 10 seconds).

Features:
Take the key from the enemy base back to your base.
Activate the gastank and let the world fill with gas.
Kill everyone from the enemy who is not protected.
Get free weapons using a weaponmenu on spawn.
Restock ammo and grenades by picking up backpacks.
Autorespawn after a specifed time.
Autoreturn after a specifed time.
Spawn protection with two different protect modes.
Block buying.
VOX-Voice for announcements.
HUD scorebord for gas alerts.
Removed roundtimer and objectives.
Edit entities (key, tanks, backpacks, ...) like you want.
ML system (included DE, EN, FR, ES, HU, SK and RO).
Change gamedescription in server-window.
Admin commands.

Installation:
Download gasrun.zip and extract it.
Download gasrun.amxx
Download gasrun.txt for the latest language file.
Put the extracted directories and files into your server-directory.
Put gasrun.amxx into your plugins directory.
Put gasrun.txt into your data/lang/ directory.
Open plugins.ini,add a new line gasrun.amxx and save it.
Restart your server - Have fun!
For testing this plugin, we created some entities-config-files.
** We highly recommend that you create your own entities-config-files using the GasRun!-DevTool. **

CVARs:
gr_active <0 - 1> - Turn the plugin off/on. [Default: 1]
gr_gamedesc <0 - 1> - Change game description in server-window to "GasRun! (vXX.XX)". [Default: 1]
gr_blockbuying <0 - 1> - Block buying on spawn. [Default: 1]
gr_delayfirstrnd <15.0 - X> - Delay in seconds until entities will spawn, should be more than 15. [Default: 30.0]
gr_delayrespawn <1.0 - X> - Delay in seconds until respawn, should be more than 1. [Default: 3]
new! gr_spawnprotect <0 - 2> - Turn the spawn protection on - 0: Off - 1: Remove on shoot, 2: Reduce damage of first bullet and remove. [Default: 1]
gr_spawnprotecttime <1 - X> - How many seconds should the protect time be? [Default: 4]
gr_spawnprotectnotice <0 - 1> - Protected player will be half transparent during their protecttime. [Default: 1]
gr_showthx <0 - 1> - Show translator-credits on first spawn?. [Default: 1]
gr_carrierhp <0 - 100> - Healthpoints on key pickup, 0 means no change. [Default: 100]
gr_carrierap <0 - 200> - Armorpoints on key pickup, 0 means no change. [Default: 200]
gr_returntime <0.0 - X> - How long should the key lie on the ground, until it returns? 0.0 means, no automatical return. [Default: 60.0]
gr_rewardscorer <0 - X> - Bonusscore for player who activate the gas. [Default: 5]
gr_rewardkiller <0 - X> - Bonusscore for player who killed the key carrier [Default: 2]
gr_rewardkilledgas <-X - X> - (Bonus-)score for player who died through nerve-gas [Default: -1]
gr_scorechannel1 <-1, 1 - 4> - Channel for HUD-Messages of HUD-Score T. Use -1 for auto channel. [Default: 1]
gr_scorechannel2 <-1, 1 - 4> - Channel for HUD-Messages of HUD-Score CT. Use -1 for auto channel. [Default: 2]

Commands:
say /weapon (everyone) - Let you choose a new weapon on your next respawn..
say /spawn (everyone) - Force respawn..
gr_resetscore (ADMIN_KICK) - An admin can reset the HUD-Scores of both teams.
gr_resetents (ADMIN_KICK) - Allows an admin, to reload the entities origins.

Screenshots:
Screenshot 1 (http://img687.**************/img687/6331/2012021900001.jpg) - Counter-Terrorists-Spawn (incl. gastank) & Menu
Screenshot 2 (http://img52.**************/img52/5487/2012021300007.jpg) - Counter-Terrorists-Spawn
Screenshot 3 (http://img856.**************/img856/1136/2012021300006.jpg) - Terrorists-Spawn
Screenshot 4 (http://img192.**************/img192/9316/2012021300002.jpg) - Ammo Backpack
Screenshot 5 (http://img215.**************/img215/1520/2012021300005.jpg) - Grenade Backpack
Screenshot 6 (http://img826.**************/img826/2116/2012021300009e.jpg) - Enemy has your key!
Screenshot 7 (http://img851.**************/img851/35/2012021300010.jpg) - Enemy scored!
Screenshot 8 (http://img29.**************/img29/6742/2012021300012.jpg) - Put on protecting-suite
Screenshot 9 (http://img3.**************/img3/156/2012021300013.jpg) - Gas!

GasRun!-DevTool - v1.01
Is used for setup the entities (gastanks, keys and backpacks). We recommend, that you only activate the DevTool, if you want to change entity-coordinates or angles. You can activate a live preview, so you can view your entity position and angle directly. Disable the plugin otherwise. The config-files are located in amxx/configs/gasrun/<mapname>.cfg. If there is no file located for the current map, GasRun will be deactivated. We created some config files for testing, but we recommend you reset our config files (Screenshot (http://img21.**************/img21/6807/2012030100002.jpg)).

How to use:

Activate gasrun_dev.amxx in your plugins.ini
Start server and change to your new map.
The plugin will create a config-file in configs/gasrun/<mapname>.cfg
Type /grdev in chat - a menu will open.
It shows you the current entity name and the currently saved coordinates.
Optional: Press (9) to activate the entity-preview.
Press (1) to save your actuell position and viewangle as new entity coordinates.
Press (2),(3) to navigate through the entities.
Set all coordinates.
Optional: Deactivate gasrun_dev.amxx in your plugins.ini.
Type gr_resetents into your console or restart the server to reload the entities coordinates.
If you created config-files for custom maps, you can post them and we will add them to our release :)

Requirement:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fakemeta>
#include <cstrike>
#include <hamsandwich>

Recommends:
Roundend Blocker by Nextra (http://forums.alliedmods.net/showthread.php?p=758720)
We recommend gungame maps for GasRun!, because the bases are similar.

Translations:
Thanks to everyone who translated GasRun!
Some of this languages are not fully translated.
We're looking for more translations - Visit our Translationthread (http://forums.alliedmods.net/showthread.php?t=178341).
[EN] - Done by Grinf4ce (http://forums.alliedmods.net/member.php?u=11378) & Kitty the Cat
[DE] - Done by Grinf4ce (http://forums.alliedmods.net/member.php?u=11378) & Kitty the Cat
[ES] - Thanks to Tallulah (http://forums.alliedmods.net/member.php?u=160724)
[HU] - Thanks to blue_zebra (http://forums.alliedmods.net/member.php?u=79748) & Exolent ID (http://forums.alliedmods.net/member.php?u=173750)
[FR] - Thanks to teol (http://forums.alliedmods.net/member.php?u=62500)
[SK] - Thanks to sulinek (http://forums.alliedmods.net/member.php?u=145293)
[RO] - Thanks to stelistcristi (http://forums.alliedmods.net/member.php?u=52840)
[RU] - Thanks to NiHiLaNTh (http://forums.alliedmods.net/member.php?u=52968)

Credits:
Special thanks to following users :)

VEN (http://forums.alliedmods.net/member.php?u=3695) for his No Objectives v0.3 (+no round timer) (http://forums.alliedmods.net/showthread.php?p=463407) plugin.
sulinek (https://forums.alliedmods.net/member.php?u=145293) for detecting the respawn bug.
Everyone who create tutorials for beginner.
Everyone who post useful posts and snippets.


Changelogs:

GasRun! - Mod
Version 1.0 (02-19-12)
[>] Initial Release
Version 1.01 (02-20-12)
[+] Added spawn protection.
[+] Added idle return of keys.
Version 1.02 (02-22-12)

Fixed: Unknow command message if an admin use "gr_resetscore"
[+] The resetscore command prints now a message to all players (ADMIN XXX reseted the teamscores.)
[+] Forbid buying for all players, use the CVAR (gr_blockbuying) to allow buying again.
[+] Added admin command gr_resetents to reset the entities (reload coordinates and respawn entities).
Version 1.02.1 (03-04-12)

Fixed: Terrorists' respawn did not work correctly.
[+] Added languages: RO, SK
Version 1.02.2 (03-11-12)

Fixed: Dead players dont get the protection, if they started the protection process before they died.
Fixed: Romanian translation (by stelistcristi)
[#] Changed: You can only protect yourself, when the gas countdown starts.
[+] Added languages: HU (sorry I forget to add!)
Version 1.02.3 (03-12-12)

Fixed: A problem in our language file. Please update to the latest language file.
[#] Changed: If you shoot during your spawn protection time, you will lose your spawn protection.
[+] Added a CVAR: gr_removespawnprotect [0-1] to enable/disable the changed feature above.
[+] Added ML-Phrases (No buying, Admincommand and HUD-Score)
[+] Added language: RU
Version v1.02.4 (03-15-12)

Fixed: A rar bug, where the backbag disappeared.
[#] Changed languages: HU, FR
[+] Added Spawnprotection modes: 0 - Off, 1 - Remove protection on shoot, 2 - Reduce first bullet damage and remove protection.
[-] Removed CVar: gr_removespawnprotect.

GasRun! - DevTool
Version 1.0 (02-19-12)
[>] Initial Release
Version 1.01 (03-01-12)
[+] Added entity preview.

If you found a bug, or have suggestions please leave a post :)
We hope you like our plugin and have fun using it.

JoKeR LauGh
02-19-2012, 05:28
sexy!

Grinf4ce
02-20-2012, 12:27
Heyho :)
We released an update to version 1.01.
We also rent a gameserver, where you can test the mod - Have fun!

Changelog version 1.01 (02-20-12)
[+] Added spawn protection.
[+] Added idle return of keys.

GuTo
02-21-2012, 16:37
very nice

coolbabu
02-22-2012, 08:55
actuallly liked the concept +karma hope it gets approved

pacheco
02-23-2012, 10:33
sexy!

GJ.. I will test it.

Grinf4ce
02-23-2012, 14:19
Heyho :D
We released the new version 1.02 of GasRun!
The plugin version on our testserver is updated too.
Have fun!

Version 1.02 (02-22-2012)

Fixed: Unknow command message if an admin use "gr_resetscore"
[+] The resetscore command prints now a message to all players (ADMIN XXX reseted the teamscores.)
[+] Forbid buying for all players, use the CVAR (gr_blockbuying) to allow buying again.
[+] Added admin command gr_resetents to reset the entities (reload coordinates and respawn entities).

---
very nice
actuallly liked the concept +karma hope it gets approved
GJ.. I will test it.
Thank you guys! Nice to hear :)

SyluxLockjaw100
02-23-2012, 23:17
You got this idea from TFC din't you? :) Great plugin! Testing out now...

kramesa
02-24-2012, 08:54
gj

Grinf4ce
02-26-2012, 01:45
You got this idea from TFC din't you? :) Great plugin! Testing out now...
Thats right Sylux, I got this idea from rock2 :) Hope you like it.

gj
Thank you!

Grinf4ce
03-01-2012, 05:13
Heyho everyone!
We updated the GasRun!-DevTool and added an entity-preview.
If you enable the preview, you can see the changes directly.

We added a screenshot of GasRun!-DevTool in our description.

Dev-Changelog version 1.01 (03-01-12)
[+] Added preview of entities.

sulinek
03-04-2012, 08:18
respawn does not work for T team. Not even when I write /respawn
I also have the plugin Roundend Blocker. Try to look at later or please advise me. I have tried various scripts respawn after 3 seconds, but it works only for CT

sulinek
03-04-2012, 11:05
ok, respawn problem fixed - change this line in // SPAWN-PLAYER-ROUTINE

if(!equal(TeamPlayer,"CT") && !equal(TeamPlayer,"TERRORIST"))

and in // PREPARE FOR FORCE SPAWN AFTER 6 SECONDS..

if(equal(PlayerTeam,"CT") || equal(PlayerTeam,"TERRORIST"))


:) ist working ...

Grinf4ce
03-04-2012, 13:38
Hello sulinek,
Thanks for you feedback.

What a shame! I'll fix it in few seconds in version 1.02.1 :)
Thank you - GJ!

- -

Updated GasRun! to Version 1.02.1
Version 1.02.1 (03-04-12)
Fixed: Terrorists' respawn did not work correctly.
[+] Added languages: RO, SK

Download gasrun.txt for the latest language-file :)

sulinek
03-04-2012, 17:46
I have an idea. in description of the plugin is written that "But they have only 5 seconds - and the protecting-suite needs 3.5 seconds to be ready". but when the tank activates the countdown start after about 8 seconds. together it is 13 second. and it would be good to use the USE command after coutdown start. you will have 5 second and 3.5 seconds be preparing protecting-suite. player will have only 1.5 second to press the USE button. enemy must be fast and ready :)

Sorry for my English with evil I hope you understand, I tried to write as clearly as possible

Grinf4ce
03-05-2012, 00:56
Sounds like a missed feature. I'll check this after work :)

Lucho
03-05-2012, 08:15
May I translate it into Spanish?

Grinf4ce
03-05-2012, 11:11
May I translate it into Spanish?

Hello Lucho!
Please check out the language file (gasrun.txt) or the translation thread. Tallulah already translated it, but if anything is wrong, please correct it :)

Greetings,
Grinf4ce

Grinf4ce
03-11-2012, 05:33
Hello everyone!
We updated our GasRun!-Mod to version 1.02.2. We added HU and a updated RO translation - for the latest languagefile download gasrun.txt :)

Changelog:
Version 1.02.2 (03-11-12)

Fixed: Dead players dont get the protection, if they started the protection process before they died.

Fixed: Romanian translation (by stelistcristi)
[#] Changed: You can only protect yourself, when the gas countdown starts.
[+] Added languages: HU (sorry I forget to add!)

Doc-Holiday
03-11-2012, 05:59
not sure if it has been suggested but you should look into how arkshine blocks round end and objectives using orpheu

Grinf4ce
03-11-2012, 11:37
Heyho Doc-Holiday,
Thanks for your suggestion.

Currently I don't understand orpheu. I'll try using orpheu, when I understand the basics of orpheu, otherwise I cant support the orpheu-part in GasRun!.

Doc-Holiday
03-11-2012, 21:44
Read into his plugin for the most part it maks it very easy to understand

stelistcristi
03-12-2012, 10:04
Can you provide a sv_downloadurl to download the files needed for GasRun! ?

And a little suggestion, change "sounds" to "sound". The generic folder is "sound", not "sounds" in CS client.

And another thing: the new texts for multilingual plugin are not activated. I translated the texts, I added the txt with the changes (so also the newest version of the plugin), and the texts are still in english.

And I don't like respawn. It's great the feature, but if a player is respawned, some seconds I can't kill him, but he can kill me. He is a little translucent and he can kill me.

And yes, I have a GR server, in testing and I know these things because I have a server. :)

Doc-Holiday
03-12-2012, 11:04
He must have spawn protection. @plugin maker. You can hook ham primary attack and disable spawn protection and also hook ham secondary attack for knife only so users can still silence and switch fire mode but not attack

Grinf4ce
03-12-2012, 12:40
Heyho stelist and doc,
Can you provide a sv_downloadurl to download the files needed for GasRun! ?
Let me see. I'll update if I can provide one - Should be no problem.
Try: http://gasrun.pg-web.at/cstrike/

And a little suggestion, change "sounds" to "sound". The generic folder is "sound", not "sounds" in CS client.
Yup, this is a mistake. I'll correct it in few minutes.

the new texts for multilingual plugin are not activated. I translated the texts, I added the txt with the changes (so also the newest version of the plugin), and the texts are still in english.
I working on it since yesterday, but i had an exam today, so i'll start the work again now :)

I have a GR server
Glad to hear - If you want, post your IP-Adress :)

You can hook ham primary attack and disable spawn protection and also hook ham secondary attack for knife only so users can still silence and switch fire mode but not attack
Great idea - Thank you!

Working on an update :)

Grinf4ce
03-12-2012, 16:00
Updated to Version 1.02.3
Version 1.02.3 (03-12-12)
Fixed: A problem in our language file. Please update to the latest language file.
[#] Changed: If you shoot during your spawn protection time, you will lose your spawn protection.
[+] Added a CVAR: gr_removespawnprotect [0-1] to enable/disable the changed feature above.
[+] Added ML-Phrases (No buying, Admincommand and HUD-Score)
[+] Added language: RU

We recommand downloading the latest language file. Its saved as UTF8 w/o BOM and should now work correctly. We also added RU.

stelistcristi
03-14-2012, 08:01
This is not a good solution, to disable protection when respawned player is shooting. You can restrict weapons in that moments. ;) It's my opinion. ;)

Grinf4ce
03-14-2012, 08:45
Why is this a bad solution?

When I restrict weapons in that moment, the spawned player cant do anything except waiting for better times.
Disable the protection, when a player is shooting or using his knife, is a fair method, because if the player is looking in his weapon menu, he cant get shoot, but if the player get his weapon on spawn, he can shot the other player and can be killed too.

stelistcristi
03-14-2012, 11:07
Why is this a bad solution?

When I restrict weapons in that moment, the spawned player cant do anything except waiting for better times.
Disable the protection, when a player is shooting or using his knife, is a fair method, because if the player is looking in his weapon menu, he cant get shoot, but if the player get his weapon on spawn, he can shot the other player and can be killed too.

The player can make a headshot with a bullet. :))

Grinf4ce
03-14-2012, 12:41
The player can make a headshot with a bullet. :))
Hmmm.. Youre right, let me see. I'll try to find a fair solution :)

Updated gasrun.txt (ML-file) - Updated SK translation.

Doc-Holiday
03-14-2012, 15:48
This was very badly written from my phone..

Check out Headshot Modes in the plugin section (approved) for information how to hook trace attack and block or move headshots :) feel free to use any code in there.

Grinf4ce
03-15-2012, 10:43
Updated the ML-File (gasrun.txt)
Added an updated HU and FR translation.

@Doc-Holiday:
I think I have a good idea - let me see :)

Doc-Holiday
03-15-2012, 19:10
Updated the ML-File (gasrun.txt)
Added an updated HU and FR translation.

@Doc-Holiday:
I think I have a good idea - let me see :)

I have fixed my post above it was poorly written using my phone

Grinf4ce
03-18-2012, 03:35
Updated to version 1.02.4 :)
Version v1.02.4 (03-15-12)

Fixed: A rar bug, where the backbag disappeared.
[#] Changed languages: HU, FR
[+] Added Spawnprotection modes: 0 - Off, 1 - Remove protection on shoot, 2 - Reduce first bullet damage and remove protection.
[-] Removed CVar: gr_removespawnprotect.