Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Ideas for CS2D - READ THE FIRST POST (OP)!

3.231 Antworten
Seite
Zum Anfang Vorherige 1 221 22 23161 162 Nächste Zum Anfang

alt Voice Integrated System

Rainy
User Off Offline

Zitieren
> CS2D should also have a voice integrated system which players can talk through microphone.
This is useful for clans and others who want to talk to each other.

∗ Support! :3

Admin/Mod Kommentar

You failed. Read the fucking first post dude! /DC

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

DC
Admin Off Offline

Zitieren
I still don't know what exactly you are talking about.

• actual file transfer (sending image files)
or
• loading/handling/creating big numbers of Lua image instances on the map

The first thing can not really be optimized more. You can just try to adjust cs2d cmd transfer_speed properly

The second one can still be optimized because the full file name is transferred for each Lua image. This could be improved with a table/dictionary which contains all paths and assigns short identifiers to them.
For the moment you can tweak this by using shorter image paths (shorter folder and filenames)

The Lua image system is not designed to handle really huge numbers of images efficiently (crazy stuff like 1 image per tile etc.).

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Infinite Rain
Reviewer Off Offline

Zitieren
user DC hat geschrieben
The Lua image system is not designed to handle really huge numbers of images efficiently (crazy stuff like 1 image per tile etc.).


But can you add feature which allows you to use a lot of images at the same time wthout laggs?

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Infinite Rain
Reviewer Off Offline

Zitieren
@user DC:
Well, I'm trying to update my Map Protection script, but unfartunatelly it will be use-able only on small maps. You can't use it on big maps due-to it will lagg a lot. (The script is placing images as the tiles on the blank map)

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

DC
Admin Off Offline

Zitieren
I can't tweak that. I could only implement a special system to directly draw images at tiles or to simply change the frame of tiles. I'm not sure if I want to do this. Might be an idea.

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Infinite Rain
Reviewer Off Offline

Zitieren
user DC hat geschrieben
(...) I could only implement a special system to directly draw images at tiles (...)

Do this!
This is exactly what I wanted to be implemented for years.


-- Edit --
Also return value should be added to the hitzone hook,
return 0 - procceed normally
return 1 - don't stop shot (if mode is > 100)

I need that for my script, player has the aura, which stop the bullets from other players, however this aura stops the the shots of its owner too, but I need to do so that owner can shoot through the aura.
2× editiert, zuletzt 06.03.13 12:56:07

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Starkkz
Moderator Off Offline

Zitieren
@user Infinite Rain: Maybe you can ask for a custom hitzone for every player (with an optional ID parameter in hitzone function), I don't think that the return value will be possible because the shoot effect can be still seen in client side.
2× editiert, zuletzt 06.03.13 16:28:09

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Infinite Rain
Reviewer Off Offline

Zitieren
user Starkkz hat geschrieben
@user Infinite Rain: Maybe you can ask for a custom hitzone for every player (with an optional ID parameter in hitzone function), I don't think that the return value will be possible because the shoot effect can be still seen in client side.

Maybe exception list for each hitzone? Will make everything easier.
Zum Anfang Vorherige 1 221 22 23161 162 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht