English ¥Weeds¥ Gun Game v1.2 icon

12 comments
02.01.13 10:09:57 pm
like 5 like it!
7 kb, 156 Downloads
RichNagel
User
Offline Off
¥Weeds¥ Gun Game v1.2
Including Knife-Only Melee Killing Spree with Server Map Change, Joining Players Level Handicap, and Kevlar and Helmet Level and/or Kill Reward

Description

This Lua script adds a "Gun Game" deathmatch gameplay mode to Counter-Strike 2D for a "listen" server (when starting a new game), as well as for a dedicated server.

Note that this script is based on the original CS2D Gun Game script ("GunGame.lua"), but with several additional enhancements and features. These additions can easily be enabled, disabled, or changed by simply editing the fully-commented script file using Windows Notepad.

Lastly, note that it was NOT my goal when creating ¥Weeds¥ Gun Game to attempt to recreate the other fully-featured Gun Game scripts that may already be available, or create a COMPLETELY game-changing and life-changing experience!

But rather, my primary goal was simply to modify the original CS2D Gun Game script so that it would be a little bit more fun and usable (and easier to configure), all without changing too much of it's overall look and gameplay

Spoiler >
(Click Spoiler for Enhancements and Features)

Spoiler >
(Click Spoiler for complete readme and usage instructions, also included in the ZIP)

P.S. FYI, the start of my motivation for this was these messages of mine over in the CS2D forums, "Default GunGame.lua Script and MapChange Bug?" and "sv_restart resets mp_timelimit countdown?"
imageimageimageimageimage
edited 12×, last 05.01.13 08:52:42 am
ok This file has been reviewed and approved by Fraizeraust (23.06.16 08:00:18 pm)

Comments

12 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
06.01.13 01:31:28 pm
Up
RichNagel
User
Offline Off
@BK, Yer welcome

P.S. I saw you in my server recently... you should hang around for a bit longer, WGG12 is working quite nicely
05.01.13 04:29:15 pm
like I like it!
Up
Sonic Black Knight
GAME BANNED
Offline Off
Thanks For This Lua






Message From black knight
05.01.13 08:53:47 am
Up
RichNagel
User
Offline Off
Updated version with a few additions (see version history at the bottom of the second spoiler).
03.01.13 11:41:23 am
like I like it!
Up
Big Bang Mafia
User
Offline Off
for a beginner in lua you are pretty good. Even you just edited it.
03.01.13 10:42:07 am
Up
RichNagel
User
Offline Off
Albeit, quite a bit of editing (without changing the overall feel of CS2D's original gun game).

Hehe, I'm especially proud of my handicapping routine <GRIN>

Anyhoo, new version above... added Kevlar and Helmet rewards (just like the CS/CS:CZ/DoD AMXModX plugins do)
03.01.13 10:00:23 am
like I like it!
Up
Infinite Rain
Reviewer
Offline Off
Like.
You're newbie, and at least, you said that it's just edit.

Good luck in learning Lua!
03.01.13 06:19:21 am
Up
RichNagel
User
Offline Off
@Jynxxx,

Actually, as far as I can tell, the maximum amount of weapon levels is *much* greater than 32... I meant to edit my readme stating that, but forgot to.

That being said, I'm not sure what the maximum would be. I myself have tested it with 64 weapon levels (and it seemed to function just fine), but I haven't tried any more levels than that.

BTW, my (previous, but now understood) confusion about the max 32-level thing was, in the original CS2D "GunGame.lua" script:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
function initArray(m)
     local array = {}
     for i = 1, m do
          array[i]=0
     end
     return array
end

sample.gg.level=initArray(32)

sample.gg.kills=initArray(32)

sample.gg.wpn={45,48,49,30,38,20,21,10,4,50}


...which (as new as I am to those whole Lua thing), I first thought that the "sample.gg.level=initArray(32)" line set the total amount of weapon levels that could be added/used for the "sample.gg.wpn={45,48,49,30,38,20,21,10,4,50}" line.

I finally realized (several days ago) though that the "sample.gg.level=initArray(32)" was simply to keep track of EACH players *current* weapon level (of course, a maximum of "(32)" players in the game), and NOT to set the total amount of levels for the "sample.gg.wpn={45,48,49,30,38,20,21,10,4,50}" line <GRIN>.

Anyhow, yes, 45 weapon levels works just fine I meant to edit my readme, but simply forgot :duh:


(Random musing: Hehe, I guess that my old QuickBASIC 4.5 days are fairly useless now, for Lua coding LOL!)
edited 1×, last 03.01.13 06:31:04 am
02.01.13 11:40:10 pm
Up
Jynxxx
User
Offline Off
You should add up to 45 rounds.
02.01.13 11:19:45 pm
like I like it!
Up
mafia_man
User
Offline Off
Here's a like from user mafia_man because you're new to lua.
02.01.13 11:01:26 pm
like I like it!
Up
Fabro
User
Offline Off
mNMNMNM Its okay
02.01.13 10:47:35 pm
Up
RichNagel
User
Offline Off
Screenies as requested (but after all, it is just a gun game <grin>)
02.01.13 10:14:12 pm
like I like it!
Up
Fabro
User
Offline Off
u can put screens ?
To the start Previous 1 Next To the start