Forum
CS2D General Ideas for CS2D - READ THE FIRST POST (OP)!Linking the CS2D binaries dynamically instead of statically with the Lua library might also work, but I am not sure. This will add Lua library to the requirements for Linux, of course.
There are some threads (e.g.: LuaSQL on Debian) in the Lua forum suggesting that it should be possible to work around this by including the Lua library in the external library. This is not correct from my experience. Eventually, you will get some memory related crash. This page supports my theory.
Edit:
Some more information on the different options:
Quote
a) linking the main program and the extension modules to the shared
liblua. Shared libraries are loaded only once per process. This is the
default on Windows.
b) linking the Lua API functions statically to the main program and
letting the main program re-export those functions to the extension
modules. This is the default on Linux/*BSD and uses the `-Wl,-E` linker
flag.
c) loading liblua.so in the main program using the `RTLD_GLOBAL` flag,
which re-exports the Lua API functions to extension modules. This is
what vim does on Unixes with `--enable-luainterp=dynamic`.
liblua. Shared libraries are loaded only once per process. This is the
default on Windows.
b) linking the Lua API functions statically to the main program and
letting the main program re-export those functions to the extension
modules. This is the default on Linux/*BSD and uses the `-Wl,-E` linker
flag.
c) loading liblua.so in the main program using the `RTLD_GLOBAL` flag,
which re-exports the Lua API functions to extension modules. This is
what vim does on Unixes with `--enable-luainterp=dynamic`.
edited 1×, last 04.01.15 03:35:11 pm
Admin/mod comment
§2.1 - No needless and/or doubled posts (spam) Read the first post. /Starkkzadd the damn console command "record"
just like in css or csgo...
and please add
"cl_draw_only_deathnotices"
smd has written
@user Random guy:
You know these commands are from Counter Strike Source?
Why would it be that bad if you could record in CS2D via console command?! I always hear people complaining about FPS drops when they record with Fraps or any other software. If this would get added they could just type ''record'' into the console and they get a demo... with ''host_framerate'' they could change the FPS up to 300 (idk if thats even possible, it was just an idea) so they could make a smooth slowmo in their videos....
All you have to do is just to put the TGA files into VirtualDub, render it and you're done... no more FPS drops while you're recording.
You know these commands are from Counter Strike Source?
Why would it be that bad if you could record in CS2D via console command?! I always hear people complaining about FPS drops when they record with Fraps or any other software. If this would get added they could just type ''record'' into the console and they get a demo... with ''host_framerate'' they could change the FPS up to 300 (idk if thats even possible, it was just an idea) so they could make a smooth slowmo in their videos....
All you have to do is just to put the TGA files into VirtualDub, render it and you're done... no more FPS drops while you're recording.
Infinite Rain has written
DC has already confirmed that he will indeed work on it. He said it like 6 months ago? I don't really remember when but I'm pretty sure that the built-in recording is possibility.
^ Inf. Rain wrote this at the 05.06.14
Like the env_room or env_lightstripe the Env_SoundinZone would allow you to select tiles with which to play a sound, once you leave the area other sounds take over or if no sounds are present the sound slowly fades out. If you walk out of that env_SoundinZone and into another the older one fades out while the new ones fades in.
This would work like the original env_sound but would be more clear on when and where certain sounds play. The env_SoundinZone would have all the abilities as the env_sound including volume and triggerability but with the added function of selecting the tiles the env_SoundinZone will play. An option for fade out/in time would also be cool aswell.
Btw I want you make a new rate fire for pistols like in csgo (and for guns who aren't automatic too).
In csgo (and cs 1.6) the rate of fire in pistols are like this:
XXXXXXXXXXXXR For usp (csgo)
And in cs2d is kinda strange:
X--X--X--X--X--X--X--X--X--X--X--XR For usp (cs2d)
Basically is just a click per shot, not hold the mouse1 to waste the ammo.
I hope you get the idea, is gonna be usefull for eco rounds in competitive mode I guess because pistols can't make much damage if rate of fire is limited.
Legend: X > Shot
- > pause of shot
R > Reload
smd has written
Moin. Wollte nur mal fragen warum bei den Handguns in 2D ein delay zwischen den Schüssen ist. Wäre es nicht sinnvoller die so zu machen wie in 1.6/Source/GO?
Hi. I wanted to ask you why theres such a weird delay between the shots of handguns. Wouldnt it be way better to remove this?
DC has written
CS2D hat insgesamt ein anderes und einfacheres Schusssystem, daher sind auch die Pistolen anders. Es gibt keine höhere Ungenauigkeit bei Dauerfeuer als bei Einzelschüssen. Dadurch ist es für Anfänger und Casualspieler einfacher zu Kills zu kommen und das Spiel ist weniger frustrierend.
CS2D got a more simple firingsystem in general thats why the handguns are different to the original Counter-Strike. Theres not a big difference of the accuracy if you're spraying or just doing single shots. Thereby its easier and less frustrating for new players and casuals to get kills.
So... i think he wont change it even though it would be way better in my opinion.
Because, if there is a player come to any server and he doesn't have USGN his usgn will be automatically 0, and if there is another one come too, his USGN will be 1 and like this.
And if a player that don't have USGN logged up with CS2D his usgn will be null or simple "No U.S.G.N login".
Also....
THEMUD has written
and if there is another one come too, his USGN will be 1 and like this.
This will screw the U.S.G.N service and will make it unstable because there is already with 1 U.S.G.N ID (and is DC of course).
Sorry, but DC will reject it 100%.
edited 1×, last 30.03.15 09:56:14 am
I don't mean the anti-speed cheat is useless, however this tool can punish other players that didn't speed cheated and i think @ DC is a bit busy to develop high tools to control and punish the cheaters.