Forum

> > CS2D > Scripts > DE respawning LUA help + Timer->CT win
Forums overviewCS2D overview Scripts overviewLog in to reply

English DE respawning LUA help + Timer->CT win

2 replies
To the start Previous 1 Next To the start

old DE respawning LUA help + Timer->CT win

Fiz
User Off Offline

Quote
Hey guys,
I have recently made a new map, and edited it each time for each gamemode (using scripts). The game modes i have made are: Ctf,De,Dom,Awp.
But i would like to create a new gamemode (at least somewhat new to CS2D) called 'King of the Hill'.

For those who don't know what 'King of the Hill' is, The T's start in a ..Fort for example, whilst the CT's start outside. The T's must plant the bomb (which is scripted to '255' seconds before blow) and defend it until it blows up. The T's would win then. But if the CT's defuse it, It's game over for the T's. The respawn-time would also have to be in the script, so as to balance the gameplay.

---
So basically i need a script where it is possible to respawn in a Standard (DE) game mode + I would also need the 'respawntime' in there too.

An alternative (and i Don't know why i didn't think of this earlier) would be to put it in a 'Dom' gamemode (gm = 2) and to just add a timer. EG:
Timer =10
[i]If Timer = 00:00, Team='T' win.

But i never quite got my head round scripts, so I'm in need of help! Any replies would be greatly appreciated, thank you.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview