Files

> > CS2D > Lua Scripts > LaserMod
Files overviewCS2D overviewLua Scripts overview

English LaserMod >

58 comments6 kb, 1,630 Downloads

old LaserMod

Kiffer-Opa
User Off Offline

(version 1.1.0)
With the LaserMod, all bullets bounce off walls and bounce and bounce and bounce. Also the laser beam "bounces" off several times. You have to see the screenshots to roughly understand how this works.
But that's not all, bullets that reach an obstacle, get mirrored in different directions. It is diffucult to explain but easy to understand if you actually play a LaserMod game.

It should be clear that this idea enourmously changes the gameplay; suddenly, you can shoot behind walls if you find the correct angle
This script works for all bullet-firing guns and the laser, too. All other weapons keep their behaviour

If you play LaserMod, you can improve the graphics manually by turning off "visible shots" from the options menu; graphics tab. This can't be done by the server, each player must/can do this himself.

This script comes together with a lag compensation script (in the same file) which is an attempt to ... compensate lags. Probably it was not a good idea to put both scripts into one single file, maybe someday I find the time to seperate the game from the lag compensation to make things more flexible. Whatever, the script is still fully usable, even in combined form.

To load this script, simply type
1
dofile("sys/lua/lasermod.lua")
into the console and hit [Enter]. After this, you must restart the round by typing
1
restart
into the console and hitting [Enter] again. Without this step, the script won't properly work.

Original script is made by FlooD (he also got some help from other parties, see source code) and I got permission to upload my modification. The evidence: http://www.unrealsoftware.de/forum_posts.php?post=240089&start=0#post271056

An older discussion about this script is here:
http://www.unrealsoftware.de/forum_posts.php?post=240089&start=0
(here I documented my contributions, too; in case you're asking what I've done ;-))
edited 1×, last 21.09.11 06:38:23 am
Approved by Yates

Download Download

6 kb, 1,630 Downloads

Comments

58 comments
Page
To the start Previous 1 2 3 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Jela331
User Off Offline

I used shotgun/m249 in dm_laser with this script.
Everyone got pwned
I like it!

old @ Textual Content:

DevGru
User Off Offline

Lol, I don't understand what are you talking about on your 1st comment, now I do.
I like it!

old

Apache uwu
User Off Offline

I totally understood read my post again.

A range count can be set on any weapon, like knife to limit how far it reaches, so shotgun can be shortened.

And I've explained that breakables can't be broken with lua. You need to use parse explode--which would look stupid.
I like it!

old @ Textual Content:

DevGru
User Off Offline

I mean when It bounced a breakable it doesn't break and the shotguns are being long range because of the laser. You just don't get what I mean.
I like it!

old

Apache uwu
User Off Offline

@SEAL Team 6

A range count be set on "short ranged weapons"...

However there's no such function in lua that destroys breakables, potentially they could make it so when it does bounce on a breakable it would explode it using parse("explode").

@File,

Very nice, but after like 20 servers open with this lua it's hard to find a server with players.
I like it!

old

DevGru
User Off Offline

@ Factis699: It does work even I restart it. Maybe there's a problem on yours.

There's good things and bad things about this.

Good:

- New ways to kill the enemy
-Awesome style
-Cool at weapons like M249, TMP and Laser
-It fits on some futuristic weapons skins.

Bad:

-Shotguns are long-range
-When it bounced on a breakable, it doesn't break.

I hope you can make an another version of this.
I like it!

old

G3tWr3ck3d
User Off Offline

Nice script! good job!
I like it!

old

Mechanolith
User Off Offline

Quite nice, but laggy...
I like it!

old

FaqAp
User Off Offline

Cool. No... COOL! No... Awesome Cool Realy but what if on DM server with this script playing 20+ players?
I like it!

old

Raisun
User Off Offline

I saw this somewhere on YT.Was it you?Nice script btw.
I like it!

old

Infinite Rain
Reviewer Off Offline

If you write "Restart" script wont work
You need restart the map

old

Jela331
User Off Offline

This one is better than old one.
Thanks for uploading
I like it!

old

Bowlinghead
User Off Offline

I see/saw that script on an other server (before you uploaded this!).

Nice anyway!
5 - AWESOME
I like it!

old

Hador
User Off Offline

really awesome - just like the old one, only a lot better.
I like it!

old

xCaNx
User Off Offline

Awesome. Thanks man.
I like it!

old

DevGru
User Off Offline

That looks cool! I'll download it.

The guy below me: Please change your avatar.
I like it!

old

catahaivan
User Off Offline

llpuKo/\bHo )) rDe HaLLIe/\ ? )) peclleKT
I like it!

old

KimKart
Idiot Off Offline

AWESOME!nothing more to say(write).
I like it!
To the start Previous 1 2 3 Next To the start