Forum

> > CS2D > General > how to make a different floor and stairs ?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch how to make a different floor and stairs ?

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt how to make a different floor and stairs ?

quickfingers
COMMUNITY BANNED Off Offline

Zitieren
how to make a different floor and stairs ? i want to create a another walkable area just above ground and a stairs connecting it. could this happen ? if so i am adding this to my map .

alt Re: how to make a different floor and stairs ?

TimeQuesT
User Off Offline

Zitieren
Unfortunately it's impossible without lua. I once wrote a method for single player only, which worked pretty well, but in multiplayer it would 'be laggy'.

I just checked from which side the player entered a tile (cs2d lua hook move). Then sending him back (cs2d cmd setpos | Track last position inside a variable). Optionally you can simulate the height difference by using cs2d lua cmd image.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Also with lua it's pain in the ass and just ugly.

alt Re: how to make a different floor and stairs ?

TimeQuesT
User Off Offline

Zitieren
user Pseudon hat geschrieben
Since is 2D itspretty much impossible even with lua, isn't it?


Well. DC could make a layering system (which is pretty much efford since the game was actually not designed for it)

Just an array of maps. that will be rendered on each other. Stepping on a tile could move the player towards the next map in the layer list. 'View-Depth' can be done by adding shading with images.

There're even more methods doing this with lua, but I can ensure you that it will be much work and always looks ugly.
For example >
1× editiert, zuletzt 12.12.14 21:10:13

alt Re: how to make a different floor and stairs ?

Pseudon
User Off Offline

Zitieren
@user TimeQuesT: here is one of the problems I was thinking, what if there are 2 players, one above the other one, who will get shot and why? And what if a floor 1 player attacks a floor 2 player, would mostly look horrible... Old teleporting way is the best...
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht