Forum

> > CS2D > Scripts > What should be changed in lua?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch What should be changed in lua?

41 Antworten
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

Umfrage Umfrage

What command should be added in lua scripting for Cs2D?

Nur registrierte Benutzer können abstimmen
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 Stimmen abgegeben

alt Re: What should be changed in lua?

JONY
User Off Offline

Zitieren
DC hat geschrieben
bad idea to allow the server to modify client binds...


When player joins server, which modifies clients' binds, this player becomes a warning "If you do not trust this server you should not join it... bla bla bla" and this player can either accept to proceed or reject the connection

alt Re: What should be changed in lua?

MAX-russia
User Off Offline

Zitieren
You dont understand.

2 players in the map,1 of them is frozen and 2nd is your player.
You move 1 player.On press "G" that player that you moved is freez and then you move the player that was frozen.

alt Re: What should be changed in lua?

DannyDeth
User Off Offline

Zitieren
Banaan hat geschrieben
- add network support to the standard library. Preferably TCP/UDP and FTP, but HTTP and SMTP would be cool as well


I think you are on the right track, so often I have ended up having to write .dll's or .so's to add even basic networking capabilities to Lua, if one of their bright-spark software engineers would realise this, we would be able to do a lot more with the already wonderful language.

On-topic:
I would like to see an implementation of modifying weapon stats such as rate of fire, damage, weight, etc. This would enable people to create 'training scripts', where the guns do a little more damage, have a little higher rate of fire, maybe a little less heavy, etc so that the newbies can learn how to use perfect weapons and then slowly downgrade until they master weapons on the real scale.

alt Re: What should be changed in lua?

SQ
Moderator Off Offline

Zitieren
DRoNe hat geschrieben
new mode for image,
rotate + recoil with player

example - skins

There is no need to use dynamic images for that.

Would be enough of function:
1
2
3
ImageSkin("path" = null,[p])
Path = null leads to default skin.
P = player ID or all players
The function should use only 32*32 images. That's all.
This shouldn't be difficult to implement, though.

alt Re: What should be changed in lua?

JONY
User Off Offline

Zitieren
DannyDeth hat geschrieben
Banaan hat geschrieben
- add network support to the standard library. Preferably TCP/UDP and FTP, but HTTP and SMTP would be cool as well


I think you are on the right track, so often I have ended up having to write .dll's or .so's to add even basic networking capabilities to Lua, if one of their bright-spark software engineers would realise this, we would be able to do a lot more with the already wonderful language.


For what kind of scripts would you use .dll's ?

alt Re: What should be changed in lua?

DannyDeth
User Off Offline

Zitieren
I meant it as in adding networking capabilities to Lua itself. As in when I am writing a program and I add Lua to use as a scripting language I don't have to write dll/so's to add network capabilities, so Lua could network without using third-party libraries ( the dll's and so's ).

alt Re: What should be changed in lua?

Banaan
User Off Offline

Zitieren
It's already possible to create custom weapons using your own sprites, sounds and cs2d cmd sethealth

Only thing you need to do is perform some tough calculations and create some kind of buy/spawn script for the weapons.

alt Re: What should be changed in lua?

KimKat
GAME BANNED Off Offline

Zitieren
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.

Another thing I want changed is the Lua bot AI, the bot freezes when you do "luareset" in the console, especially annoying when you're working to test script with bots. A console command that "re-activates" the bots would be epic. Somewhat useful aswell, I just hate when they freeze and the console spits out some kind of error message. Would be great if there could be fixes done there.

alt Re: What should be changed in lua?

EngiN33R
Moderator Off Offline

Zitieren
@KimKat, I'm sorry, maybe I got you wrong, but when there's an AI lua error, it freezes the bots with bot_freeze, you can write bot_freeze 0 to unfreeze them.

alt Re: What should be changed in lua?

KimKat
GAME BANNED Off Offline

Zitieren
EngiN33R hat geschrieben
@KimKat, I'm sorry, maybe I got you wrong, but when there's an AI lua error, it freezes the bots with bot_freeze, you can write bot_freeze 0 to unfreeze them.
Yea my bad, I just realised... forget the AI bot part.
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht