Forum

> > CS2D > Maps/Editor > dwall help
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English dwall help

10 replies
To the start Previous 1 Next To the start

old dwall help

dev1las
User Off Offline

Quote
hello i need dwall help how to make the dwall dosen't show then it starts? how to make that it only popup then you step on it?

old Re: dwall help

Alistaire
User Off Offline

Quote
user Lotteria has written
you must use trigger start in the map with dwall + delay !!


That way it won't pop up when you step on it --'

old Re: dwall help

Alistaire
User Off Offline

Quote
user Mawd has written
Lua. Or Trigger_Move plus trigger_delay.


Trigger_delay can only count in seconds. That's why you'd better use lua.

old Re: dwall help

Unknown_Soldier
User Off Offline

Quote
There is good way to make that without lua (is not the same effect, but its close)

This will work only if if the players enters the dynwall running (knife speed or similar) and if doesn't know about the trap.
first put a trigger_move on the path, and then put the dynwall next to the trigger_move.
user Alistaire is right, trigger_delay counts in seconds, but we can solve that if you use a delay chain with 0 seconds (that means, delay 1 triggers delay 2, delay 2 triggers delay 3, delay 3 triggers delay 4 and so on)

the chain length for a knife speed is about 15 delays (remember, with 0 seconds)

of course, if the players is faster or slower, the wall will not kill him.

and if you don't like this solution learn lua.

[offtopic]why I am helping him?, he think I stole EDVK[/offtopic]

old Re: dwall help

Alistaire
User Off Offline

Quote
user Unknown_Soldier has written
user Alistaire is right, trigger_delay counts in seconds, but we can solve that if you use a delay chain with 0 seconds (that means, delay 1 triggers delay 2, delay 2 triggers delay 3, delay 3 triggers delay 4 and so on)

the chain length for a knife speed is about 15 delays (remember, with 0 seconds)


I guess you're right, pro, but don't forget this is a matter of latency and server speed. Some computers can make this chain work in under 0,01 second, some maybe after a lot more time. Best try is to make Lua, or else just leave the project till DC's added trigger_delay's with better costumizable timers.

old Re: dwall help

Unknown_Soldier
User Off Offline

Quote
I didn't test it in a slower computer, but anyway, this is the best option if you don't know lua.

user Alistaire has written
Some computers can make this chain work in under 0,01 second

The delays (0 seconds) works in fps, cs2d runs at 50 fps, it needs 0,02 second to trigger 1 delay, multiplied by 15 is a total of 0,30 seconds (working at 50 fps)
the trick should work on server-side (since the player speed is affected by fps) and people with the same speed of the server
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview