Forum

> > CS2D > General > CS2D - Physics/Vehicles/Movable Boxes
Forums overviewCS2D overviewGeneral overviewLog in to reply

English CS2D - Physics/Vehicles/Movable Boxes

56 replies
Page
To the start Previous 1 2 3 Next To the start

Poll Poll

Would you like to have physics engine in CS2D?

Only registered users are allowed to vote
Yes, that's the feature CS2D needs the most
91.30% (84)
No, that is not really necessary
8.70% (8)
92 votes cast

old Poll CS2D - Physics/Vehicles/Movable Boxes

SQ
Moderator Off Offline

Quote
I have some ideas on implementing physics engine into CS2D. Might not be released in 1.0.0.3. But could be included in the upcoming release, somewhere in the future.

There might be check in server options to enable physics that would change player movement (players could collide), push boxes, drive vehicles.

Simple Vehicle Test Video: https://www.youtube.com/watch?v=Iw_CxEVr6uM&feature=youtu.be

On the other hand, obviously... this thread and poll is a joke. I was just wondering if anyone wants to discuss about it.
Doing this feature would open huge black hole into new problems. This is probably not going to happen in current CS2D code base.

If voting counts 100. I might consider
edited 1×, last 19.03.17 02:32:31 am

old Re: CS2D - Physics/Vehicles/Movable Boxes

StirlizZ-Fapicon
Super User Off Offline

Quote
This is what happening, when development getting into right hands. A lot of new features. That was suppose to happen about five years ago.

@user SQ: , keep working, you doing it well.
edited 1×, last 12.04.17 02:13:54 pm

old Re: CS2D - Physics/Vehicles/Movable Boxes

SQ
Moderator Off Offline

Quote
DC won't rewrite CS2D Engine again for sure. Though there is already someone doing it (dcrew).
Also I'm sure that this 1.0.0.3 release is the last project. Without any profit I won't spend any more time on the game. I'm pretty busy with my own things.

old Re: CS2D - Physics/Vehicles/Movable Boxes

Mora
User Playing CS2D

Quote
I will repeat myself third time that i love you.
Since this might be added it would be possible to make nice things.
Extensive roleplay scripts, super-duper nice mods like gta, nfs, etc.
But there is one stuff i'd like to suggest. Idk if it exists is or not, to make player completely undead with return values in maybe hit hook, or move/movetile. Because if you make for example airplane
which move through anything on the map, the player would die if he steps on tile with 'deadly - ' propertie. Simply - you can make it with lua, if player steps on specific tile frame he dies if the value is true/false and not when otherwise, also with dyn_wall.

old Re: CS2D - Physics/Vehicles/Movable Boxes

RIP-HereRestsPlookerbooy
BANNED Off Offline

Quote
user Mora has written
Since this might be added it would be possible to make nice things.

It's possible anyway with script. If you even know what script is capable of..

user Mora has written
Because if you make for example airplane
which move through anything on the map, the player would die if he steps on tile with 'deadly - ' properties. Simply - you can make it with lua, if player steps on specific tile frame he dies.


Dude, you can just change tile when you step on it and change it back when you leave it.

old Re: CS2D - Physics/Vehicles/Movable Boxes

Mora
User Playing CS2D

Quote
1-st:Since not everyone may easy do that and don't wanna learn, it would be helpful. I can reach some skill and don't give a fck about others and tell them: Do it with lua. Why the fck?
2-nd:Yes, but i should make one more identical tile, but can't rotate it. Anyway it's bad idea tho. Need to make 2 or more, depending on how much you have of these tiles(mb you have different in each side, like a TOP+RIGHT, TOP+BOTTOM, LEFT+BOTTOM etc)and replace them to the normal propertie one. Also if there is one player stay on the tile which is one you leave, you should check if some1 here and do not change tile back. Much easier to have return value than do a code(also if you don't have any knowledge of it).
And dyn_walls. If you ignore that checkbox(which won't allow you to close the dyn_wall if player is there) and some1 fly near it and a guy closed wall you will die. Make dat checkbox ON?-if there is multiple entities named identicaly some of then would not close and leave shitty weird look.

old Re: CS2D - Physics/Vehicles/Movable Boxes

RIP-HereRestsPlookerbooy
BANNED Off Offline

Quote
1- For real? Why would there be Movable Objects in an action game anyway, it's so useless. This isn't a roleplay game or something. If you want to add something unrelated better do it yourself and stop whining about it.
2- As long as you're on a "plane" or a "car" you can't even see the tile you're on so it won't hurt to change it and change it back when you leave it right? Here's an idea.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
admin = 96713 -- for faster testing
OldTile = {x = 0, y = 0} -- for faster testing

addhook("movetile", "_movetile")
function _movetile(id, x, y)
	if player(id,"usgn") == admin then
		local temp = {x = 0, y = 0}
		if OldTile ~= temp then
			parse("settile "..OldTile.x.." "..OldTile.y.." "..tile(OldTile.x, OldTile.y, "originalframe"))
		end
		if tile(x, y, "deadly") then
			OldTile = {x = x, y = y}
			parse("settile "..x.." "..y.." 1")
		end
	end
end

Made this code, just to show you that it's possible.

old Re: CS2D - Physics/Vehicles/Movable Boxes

Masea
Super User Off Offline

Quote
user RIP-HereRestsPlookerbooy has written
1- For real? Why would there be Movable Objects in an action game anyway, it's so useless. This isn't a roleplay game or something. If you want to add something unrelated better do it yourself and stop whining about it.
This isn't a roleplay game but what's up with those all roleplay mods? You stop whining about it because it is already going to be implemented, hahaha loser.

old Re: CS2D - Physics/Vehicles/Movable Boxes

Mora
User Playing CS2D

Quote
user RIP-HereRestsPlookerbooy: has written
For real? Why would there be Movable Objects in an action game anyway, it's so useless.

Useless? let's see.
Since it is engine, but not cars/airplanes made by Simonas as a mod, it's something else than you though.
Simply it adds Physics which allow you to do somethng better, for example cars, boxes.

Also, even it is not roleplay game, most peoples play(ed) on happy town and roleplay servers. Make modding more easy will allow to bring some players and more fun.
To the start Previous 1 2 3 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview