Forum

> > CS2D > Scripts > What should be changed in lua?
Forums overviewCS2D overview Scripts overviewLog in to reply

English What should be changed in lua?

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

Poll Poll

What command should be added in lua scripting for Cs2D?

Only registered users are allowed to vote
Add new hook "Button"
4.26% (2)
Add more server actions
4.26% (2)
Add more effects
12.77% (6)
Add functions for renaming weapons
2.13% (1)
Add functions for creating weapons
63.83% (30)
Add new AI for bots
2.13% (1)
Add new hook "hour"
0.00% (0)
Nothing need to add everything OK
10.64% (5)
47 votes cast

old Re: What should be changed in lua?

JONY
User Off Offline

Quote
KimKat has written
I'd want possibility to easiely create "virtual" physics, objects such as... pushables, barrels. In example, then you could create boulders blocking a path then player can push the boulder aside by moving it in the right direction(s) to clear the path.

This can be done with lua as well. Boulders - pictures, check from what side did player come and determine whether the "picture" will be attached to him or not...
but instead of writing so much code, yes, it would be useful to add another property to objects "pushable"

old Re: What should be changed in lua?

KimKat
GAME BANNED Off Offline

Quote
JONY has written
KimKat has written
I'd want possibility to easiely create "virtual" physics, objects such as... pushables, barrels. In example, then you could create boulders blocking a path then player can push the boulder aside by moving it in the right direction(s) to clear the path.

This can be done with lua as well. Boulders - pictures, check from what side did player come and determine whether the "picture" will be attached to him or not...
but instead of writing so much code, yes, it would be useful to add another property to objects "pushable"
Yeah because then when the entity object is placed on map that would be it's initial starting position and later when a player has created the map and play it, the player will be able to push around the object to any tile, except obstacles and walls, but the entity itself will still remain on the tile the entity has been placed upon. I hope something like it will be implemented someday, it would be neat.
To the start Previous 1 2 3 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview