Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
Forums overviewCS2D overviewGeneral overviewLog in to reply

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

3,231 replies
Page
To the start Previous 1 221 22 23161 162 Next To the start

old Voice Integrated System

Rainy
User Off Offline

Quote
> 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 comment

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

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

DC
Admin Off Offline

Quote
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.).

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

Infinite Rain
Reviewer Off Offline

Quote
user DC has written
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?

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

Infinite Rain
Reviewer Off Offline

Quote
@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)

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

DC
Admin Off Offline

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

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

Infinite Rain
Reviewer Off Offline

Quote
user DC has written
(...) 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.
edited 2×, last 06.03.13 12:56:07 pm

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

Starkkz
Moderator Off Offline

Quote
@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.
edited 2×, last 06.03.13 04:28:09 pm

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

Infinite Rain
Reviewer Off Offline

Quote
user Starkkz has written
@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.
To the start Previous 1 221 22 23161 162 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview