Author Topic: Script_GunGame by Daenth [v1.02]  (Read 5413 times)

Alright, so one of my summer projects was to make a Gun Game. It was also my first actual scripting project. Finally, after about 2 months of procrastination, and tons of Coding Help topics, it's done. It used T+T for it's weapons. This Gun Game is heavily based on CS:S's Gun Game. For those of you who don't know what a Gun Game is.

A gun game is a game where everyone starts off with the same gun(a pistol in this case) and a knife. When someone gets two kills, they advance a gun tier. If you knife a player, the player loses a tier and you gain a tier. The higher the tier, the better the gun. Eventually, the person will reach the grenade stage. The player uses the grenade and gets it back after a short amount of time, while they wait, they must resort to a knife. You must get 4 kills with the grenade/knife combo and you win the game.



ORDER OF THE GUNS:

1. Pistol

2. Pistol Akimbo

3. Machine Pistol

4. Pepperbox

5. Magnum

7. Pump Shotgun

6. Combat Shotgun

8. Hunting Shotgun

9. Micro SMG

10. Submachine Gun

11. Battle Rifle

12. Bullpup

13. Military Sniper

14. Crossbow

15. RPG

16. Conc' Grenade

Secondary Inventory: Combat Knife

First person to  reach 35 points wins the game. Every 2 kills you increase a weapon tier.



CREDITS:
Daenth - For working on it.
Fragite - Testing.
Placid - Coding Help.
MegaScience - Coding Help.
Otto-San - Coding Help.
Chrono - Coding Help.
Destiny - Coding Help.
Red_Guy - Coding Help.
Rkynick - Coding Suggestions.
Caust - Syntax Help.
Greek2Me - Coding Help.
Iban - Coding Help.
Bushido - Tier + Tactical.
Space Guy - Winning Code.

(Yes it's a lot of people, this was my first actual coding thing.)
Copied directly from my server topic. I'm releasing the early version of my Gun Game script, for I have no use for it right now. Everything should be working fine, although if there are any bugs please post them in the topic. You are unable to change the guns unless you edit it in the script (functionality for that in game should be coming later). Because of this, you need T+T 1, 1A, 2, 2A, Skin_Sniper, Skin_SMG, Melee, and Explosives 1 and 2. Also, I recommend Space Guy's TDM script for TDM Gun Game. When setting up your weapons, the first slot should have your beginning weapon. The second slot is your secondary weapon.

SETUP:
1. Enabled T+T Package(1, 1A, 2, 2A) as well as Skin_Sniper, Skin_SMG, MeleeExtended, and Explosives 1 and 2.

2. Set yours scores up so they player gets 1 point for killing someone.

3. Set the first slot weapon as the beginning weapon you start with.

4. Set the second slot to your secondary weapon(does not get changed).

5. Start minigame.

6. Type /togglegungame to start the gun game.

7. Enjoy.

TDM Setup:
1. Create teams.

2. Set scores as shown above.

3. Follow step 3 and 4 for team inventories.

4. Start minigame.

6. Type /togglegungame to start the gun game.

6. Enjoy.

ADMIN COMMANDS:
/setplayerscore [playername] [amount]
/togglegungame
/resetplayer [player]

CHANGELOG:
1.00 - Publicly released the script.
1.01 - Fixed Self Delete level upgrade glitch.
1.02 - Fixed download link.


Download
« Last Edit: June 22, 2011, 05:20:28 PM by Daenth »

It was really fun testing this.

first...
« Last Edit: June 14, 2011, 02:33:33 PM by Fragite »

first

You're an diot.



I sometime wanted to make a suggestion of Gun Game, but forgot about it, oh well, you read minds bro!


This looks pretty cool. I'll be sure to test it out soon.

Im hosting with this how does one use it? do i just start a regular minigame with the Pistol and Knife?

Im hosting with this how does one use it? do i just start a regular minigame with the Pistol and Knife?
Yes, from what I can tell.

Very interesting. Do you need T+T for it to work?

Im hosting with this how does one use it? do i just start a regular minigame with the Pistol and Knife?
Read the setup section.

Yes, from what I can tell.

Very interesting. Do you need T+T for it to work?
Yeap. Only certain packages though.

Every time that I ctrl+K I level up.

Because you technically are killing something, this was a problem in Cucumberdudes DM chat thing.
Another thing, the pepperbox is horribly underpowered, I would suggest you remove it.

Every time that I ctrl+K I level up.
Ah, I see the glitch. I'll fix it in a sec.

5/5 Nice! Now i can play BOTH Call "of" duty and blockland! Heres your reward! :cookie:

Also can someone help me with my picture? I cant get it to play! There i fixed my grammar!
« Last Edit: June 15, 2011, 01:45:42 PM by kevinthekiller2 »

5/5 Nice! Now i can play BOTH Call if duty and blockland! Heres your reward! :cookie:

Also can someone help me with my picture? ZI cant get it to play!
Call "if" duty didn't invent gun game.

Can you start in in a deathmatch?  (Not a team deathmatch)

You're an diot.
Yeh he is an diot.


Nice job on the script. Downloading.