LaserMod = lasers + geometric optics
17 replies



28.04.11 04:02:04 am
video: http://www.youtube.com/watch?v=61xxpr3ZX0M
script: https://gist.github.com/945418
server: 173.192.35.85:36967
script: https://gist.github.com/945418
server: 173.192.35.85:36967
edited 1×, last 28.04.11 08:50:39 am
:(){ :|:& };: http://github.com/floood
ill post a vid soon
check this out too
https://gist.github.com/945774
[Fl@me] LaserMod: 173.192.35.85:36967
have fun
check this out too
https://gist.github.com/945774
[Fl@me] LaserMod: 173.192.35.85:36967
have fun
edited 1×, last 28.04.11 06:41:15 am
:(){ :|:& };: http://github.com/floood
alright check this out
http://www.youtube.com/watch?v=61xxpr3ZX0M
http://www.youtube.com/watch?v=61xxpr3ZX0M
:(){ :|:& };: http://github.com/floood
no u can just play in the serverlol
btw this uses snell's law + fresnel's equations, which means u can do cool shit like total internal reflection and grazing incidence.
btw this uses snell's law + fresnel's equations, which means u can do cool shit like total internal reflection and grazing incidence.
:(){ :|:& };: http://github.com/floood
this is a really cool mod! (by far the best Ive seen in years)
But the Server does lag occasionally, and it kicked me out twice...
But the Server does lag occasionally, and it kicked me out twice...
Hador

this is a really cool mod! (by far the best Ive seen in years)
But the Server does lag occasionally, and it kicked me out twice...
But the Server does lag occasionally, and it kicked me out twice...
try again. i set a maximum number of new lua images per frame and i dont lag any more
:(){ :|:& };: http://github.com/floood
WOW omg
its Different Script
and awesome omg its really cool
i loved it
so much
but you have some errors
1) All Weapons can do that
2) the server is SO lag and more Lag
its Different Script
and awesome omg its really cool
i loved it

but you have some errors
1) All Weapons can do that
2) the server is SO lag and more Lag
bla fine ill change it so that other weapons are normal
server lag is probably cuz your internet cant handle it.
wait y do lua images take up so much bandwidth anyway?
server lag is probably cuz your internet cant handle it.
wait y do lua images take up so much bandwidth anyway?
:(){ :|:& };: http://github.com/floood
21.09.11 02:14:44 am
Pretty fun, original and awesome idea. I played on your server and this game rocks!
But it comes even better:
I took the code and made some cool improvements.
Here is the code:
http://pastebin.com/4VNrpRgV
(copy the text, save it into a textfile named "lasermod.lua" and drop the file into CS2D/sys/lua)
They are basicly purely graphical improvements.
Here is some sort of a changelog:
unofficial version 1.1.0
Beams created by laser now can be red, yellow and blue, too (it depends on the weapon mode of the laser; use "weapon special function" key to change the color)
3 second spawn protection for these game modes: Deathmatch, Team Deathmatch, Construction, Zombies! (it tries to rebuild the native CS2D spawn protection)
Setting: lm.selfhurt - either allow players to get hurt by their own beams or not (default: false)
Setting: lm.meleelaser - either create laser beams with melee weapons or not (default: false)
Setting: lm.spawntimer - how long (in frames) the spawn protection lasts (default: 150, can be turned off by setting to 0)
Beams created by guns are thinner and light yellow now
Beam fade time depends on the fire rate of the weapon; the higher the fire rate, the faster the beam disappears
Beam starts now closer from the muzzle of the weapon instead from the body of the player
Grenade Launcher, Rocket Launcher, Flamethrower don't create beams anymore
Knives and other melee weapons don't create beams anymore (by default)
All functions and variables are nested in the table "lm" for better code organization
Kills with Mac 10 didn't count as kills and didn't appear in deathlog
Please note: You HAVE TO restart the round after you loaded the script, otherwise it doesn't work.
The "settings" are just variables in the code. You just have to change one line of code to change a setting; it makes it easier to change common things quickly.
BTW: Does any1 know how long the native CS2D spawn protection lasts (in frames)? Just to be sure ...
I wonder why you didn't upload the script to the files section of US. If you grant permission, I upload my fork of this script to US.
In the mean time, just grab the code at:
http://pastebin.com/4VNrpRgV
I would be happy to see my fork on some server soon. Unfortunately, I am currently unable to set up my own server.

But it comes even better:
I took the code and made some cool improvements.

Here is the code:
http://pastebin.com/4VNrpRgV
(copy the text, save it into a textfile named "lasermod.lua" and drop the file into CS2D/sys/lua)
They are basicly purely graphical improvements.
Here is some sort of a changelog:
unofficial version 1.1.0












Please note: You HAVE TO restart the round after you loaded the script, otherwise it doesn't work.
The "settings" are just variables in the code. You just have to change one line of code to change a setting; it makes it easier to change common things quickly.
BTW: Does any1 know how long the native CS2D spawn protection lasts (in frames)? Just to be sure ...
I wonder why you didn't upload the script to the files section of US. If you grant permission, I upload my fork of this script to US.
In the mean time, just grab the code at:
http://pastebin.com/4VNrpRgV
I would be happy to see my fork on some server soon. Unfortunately, I am currently unable to set up my own server.

XMPP: Wuzzy2@jabber.ccc.de
kool
go ahead and upload it
the cs2d spawn protection... find out with fraps or ask dc
btw y cant u set up ur server??
go ahead and upload it
the cs2d spawn protection... find out with fraps or ask dc
btw y cant u set up ur server??
:(){ :|:& };: http://github.com/floood



