Forum

> > CS2D > General > Editor: Player Speed/Health
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Editor: Player Speed/Health

6 replies
To the start Previous 1 Next To the start

old Editor: Player Speed/Health

Masterdave122
User Off Offline

Quote
On Editor, Are you able to make it when you step on an area Your speed goes up or down or
That Your Hp Goes Up

??

Admin/mod comment

title fixed. "Help" is not not very precise. /DC

old Re: Editor: Player Speed/Health

Pro
COMMUNITY BANNED Off Offline

Quote
about the "health up" part, you can do this with the entity "Hurt". edit it and instead of positive numbers like 10,25,81 as example, they will hurt you and decrease your HP/kill you if you step on it. but if you give it negative numbers like -8 or -14 it will increase your HP if you step on it.

so let's say you have a tile and you want that if you walk on it your life gets increased by let's say 20 points, simply take the Hurt entity and place it on the tile, open it and set in the number of how much you want to increase the HP by with a "-" like -10 -50 -20 etc.

old Re: Editor: Player Speed/Health

DC
Admin Off Offline

Quote
you have to use a Lua map script for the speed thing.
that's a Lua file with the same name as the map, saved in the maps folder.

however you need lua scripting experience for that. it is more difficult than making maps.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview