Files

> > CS2D > Lua Scripts > Entity-03-Damage Mirror
Files overviewCS2D overviewLua Scripts overview

English Entity-03-Damage Mirror >

15 comments6 kb, 331 Downloads

old Entity-03-Damage Mirror

Pseudon
User Off Offline

Well, this isn't something special, it's acting like a mirror because when you attack it, you are the one who's getting damaged.
• To place it place Func_DynWall and name it "mirror" .
• Every time you hit it, your current health will go to half.
• If you shoot it having 1 HP you die.
> This entity was suggested by @user Mora: .

• It seems useless, but it can add some flavor to the gameplay.
• Good to be added in wide areas to make the player think twice before random/blind shooting.
• Also, looks nice.
INFO
The image is rotating/moving.
edited 1×, last 21.06.14 07:15:57 pm
Approved by EngiN33R

Download Download

6 kb, 331 Downloads

Comments

15 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

MikuAuahDark
User Off Offline

Reminds me to Terraria when you attack Demon Altair
I like it!

old

Sebax
User Off Offline

@user BlackWizard: What is wrong with you dude, you only come here and comment "ehm."

Nice one BTW.
I like it!

old

Pseudon
User Off Offline

@user VADemon: It doesn't reacts for projectiles.

old

VADemon
User Off Offline

Please choose more specific entity names (like "csm_mirror" - custom entity: mirror)

I wonder how this entity will be used. Do you also get damage by an HE if it explodes nearby?
I like it!

old

Hellcat
GAME BANNED Off Offline

Oh good!
I like it!

old

Pseudon
User Off Offline

@user Mora: Weird, I tried and for me is working from all the sides, also about the error, it's just something I forgot to delete, removed now.
edited 1×, last 25.06.14 01:27:12 pm

old

Mora
User Off Offline

@user Pseudon: lol, whatever.
1
ERROR: spawnobject - wrong tile properties!
idk, why
but all is work-s perfect...
also, why this hitzone work only in UP place of wall and LEFT place of wall? when i attack it in DOWN place i got no effect. I hope you understand me, or i go make screens/art.
I like it!

old

Pseudon
User Off Offline

@user Mora: Like, when you die because you shot it, it will appear "Pseudon M4A1" ? I can do that.

old

Mora
User Off Offline

Thank you @user Pseudon: ,is good, perfect, like, download...
Also if it will reset damage of your weapons, will be s**t, with it will need make that Mirror entity kill you by your weapon...what i talk?
I like it!

old

Pseudon
User Off Offline

@user XoOt: Not sure if @user Pseudon: can do this... Maybe if I'd remake the bullets to continue after it hits the entity.

old

XoOt
Super User Off Offline

How about an obstacle that blocks projectile dmg like he and also flash but you're still able to shoot through it?
I like it!

old

Rainoth
Moderator Off Offline

You don't really have to make projectile. Just making linear calculations would suffice.
I like it!

old

Pseudon
User Off Offline

@user Rainoth: I'd like to do that, but I have no idea how to work with "directions" and custom objects/projectiles , if you know what I mean.

old

Rainoth
Moderator Off Offline

Why don't you change it so that it actually reflects bullets once when you hit it. It would add possibilities for some strategical fights. I love my idea

// Half as in
100 > 50 > 25 > 12 > 6 > 3 > 1 > Death
or it damages you for half damage of the weapon?
e.g. m4a1 damage is X so it damages x/2
I like it!
To the start Previous 1 Next To the start