Forum
CS2D General is it possible walk on wallsis it possible walk on walls
18 replies 1
goldfish has written
not like wall hack
You can use one of the wallhack scripts, modify them and draw the sprite of your player's skin above walls. The performance wouldn't be too good though.
But I think it's impossible to detect movement while you stuck in wall. Lol.
This request is impossible, sprites is possible, but not walking.
Avo has written
It's possible only with mouse clicking and sin,cos functions.
Why for gods sake mouse clicking. MOUSE CLICKING.
The reason you may not be seen in the wall is because the wall is meant to overlap all the skins, and allow nothing to pass.
Obstacles will allow you to be seen, because objects/projectiles are meant to do so
If you want to be able to pass through while being seen at the same time, you must have a png image of what your players looks like. You must have a image for each postion player makes, for a kinfe, claw, and a weapon.
You must set each image to the players different position it makes, but make sure you have the previous image removed so it does not repeatedly add onto the image from before. That would cause lag after a while.
Also, if you want to use the legs. You have to have the images for each 1 individually. Add left or right foot to the players movement after a amount of steps, then add the leg you did not use before to the same amount of steps you entered for the first one. So when they switch it will appear as if the player is walking.
Also make sure to add a time to the player when he stops, so when the player stops moving. The legs will be removed. A good time setting would be 0.1 second or just incase of lag, just have the the leg removed instantly after player stops moving. The reason you need to do so is because you do not want the player to stand there with 1 leg sticking out.
If you do all that, then it will work fine.
And yes this will probably be alot of coding, but it should work fine in the end.
Easy enough.
@ Alistaire: You would have to do that for all maps, he just wants to be able to actually be able to move through walls, not make a bunch of maps.
SkullzOrig has written
I explained perfectly
@ Alistaire: You would have to do that for all maps, he just wants to be able to actually be able to move through walls, not make a bunch of maps.
@ Alistaire: You would have to do that for all maps, he just wants to be able to actually be able to move through walls, not make a bunch of maps.
He never said he needed either a Lua script or a map, and this is in CS2D general.
1