Files

> > CS2D > Lua Scripts > [MECH/MAP] Entity-06-Safezone
Files overviewCS2D overviewLua Scripts overview

English [MECH/MAP] Entity-06-Safezone >

9 comments3 kb, 519 Downloads

old [MECH/MAP] Entity-06-Safezone

VADemon
User Off Offline

[Mechanics/Map/World] Entity #06: Safezone Entity script

Here is yet another Safezone script, so you will want to know how different it is:

• map editor integration: just edit entities in map editor, no need to edit configs
• visual feedback: players will know that someone is in a safezone
• Entering/leaving message (no hudtxt)
• safezones can have names for greetings/farewell messages
• players can still be healed in the safezone

> Video: https://youtu.be/uXgJ5F8isrM

∗ What is a safezone?
A safezone is a place where you will not get any damage! You are completely invulnerable to weapon shots, grenades etc.

∗ How to use?
• Place Env_Hurt on map
• Change Name: to "safezone" or "safezone=Custom Name"
• Done! Nothing else needed

> you can set Damage: -1 if you want players to be healed for 1hp/sec (any negative value)

You can add new zones without editing the map >


∗ How to Install
1) Add the script to autorun/ folder
2) Bundle the script with a map: cs2d cmd mp_luamap

∗ License: MIT

This script follows the series of user Pseudon scripts that enhance the map editor entities. Check them out:
file cs2d Entity-01-Shield
file cs2d Entity-02-Animated Tree
file cs2d Entity-03-Damage Mirror
file cs2d Entity-04-Boxes
file cs2d Entity-05-Stealth Bush [Fix Update I]

° Other safezones scripts:
file cs2d Automatic Safe-Zone script
file cs2d [Gajos] Safezone [v1.0]
edited 6×, last 13.05.17 05:13:57 pm
Approved by Sparty

Download Download

3 kb, 519 Downloads

Comments

9 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Avo
User Off Offline

I like the visuals when a player receives damage.
I like it!

old

carb0n
BANNED Off Offline

seems nice !
I like it!

old

Ishara
User Off Offline

You know, yesterday I was thinking... 'what about a safezone in CS2D? That would be cool'

10/10 - best mind reading.
I like it!

old

Masea
Super User Off Offline

Where is the 5th one of Entity files?

EDIT: Oh I see, you only didn't want to mention that in your file. Anyways, good script.
I like it!

old

Gaios
Reviewer Off Offline

Not bad. I hope so, the hat image will disappear on player leave.
I like it!

old

sonkii
User Off Offline

Nice idea,but i prefer the cs2d entity env_hurt -1 because of unfair game (like awping people from safezones.
I like it!

old

VADemon
User Off Offline

...but it's in green!

old

the bamboozle
User Off Offline

This is a nice mod but whenever you entered the safe zone you will get the damage indicator so this is kinda weird i must say.
I like it!
To the start Previous 1 Next To the start