Forum

> > CS2D > General > Spawn Player Without Protection
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Spawn Player Without Protection

5 replies
To the start Previous 1 Next To the start

old Spawn Player Without Protection

Mami Tomoe
User Off Offline

Quote
This thread was posted somewhere, but I couldn't find it.

How can I disable the CS2D built in spawn protection (that lasts for like a second)?

Is there a "legit" way to do it, or is it just something like re-spawning the player as soon as he spawned?

old Re: Spawn Player Without Protection

The Dark Shadow
User Off Offline

Quote
I don't think It's normally possible with lua in a legit way. It would probably work broken in a legit way with lua. A not legit way would be modifying the dedicated server, I haven't investigated on the spawning function so I don't know If It's client-sided or server-sided it normally should be server-sided though. If it's server-sided you could modify it and remove the spawn-protection or do whatever you want with it.
edited 1×, last 07.12.20 09:08:14 am

old Re: Spawn Player Without Protection

TimeQuesT
User Off Offline

Quote
An ugly way would be, not even letting players die. Using setpos instead, sure could solve your problem, but would open alot of others.

This disgusting lua-only-hack is the only thing that comes into my mind (doing it lua only ofc ).

Sure as @user The Dark Shadow mentioned, is the best option. There are tools like Ghidra that makes this 'exceptional hacking' easy. You should give 'program advancing' (lol) a try.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview