June 08, 2023, 02:30:38 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1]

Author Topic: [Plugin] host weapon modifier  (Read 3520 times)

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
[Plugin] host weapon modifier
« on: July 08, 2013, 06:18:16 pm »

Here's the op from the original thread
Ever thought the pyro was too underpowered? Ever thought the Deto was too overpowered? Well it took me a while to get working on it but I finally finished it. This plugin allows the host to fine tune weapons to be as under powered, balanced, or overpowered as they desire. Since I have no idea how to get a user friendly ui, I left the code uncompiled so you can edit the stats you want then compile it on your own.

How to use:
I've tried to make the comments explain things as simple as possible but I'll explain here in case the comments don't speak to you
so say you want to make instakilling flares. What you have to do is this.

Code: [Select]
//Edit these values to modify the flare stats
object_event_add(Flare,ev_create,0,
"
hitDamage = 15;
flameLife = 40;
burnIncrease = 8;
durationIncrease = 35;
afterburnFalloff = false;
");

What you would have to do is change this value:
Code: [Select]
hitDamage = 15; to this
Code: [Select]
hitDamage = 200;Same thing applies to if you want to lower the damage but make the afterburn painstakingly long to torment your enemies and so on. (o and btw you can't zeros)

Now when you want to compile the code to a gml file, all you have to so is hit save as in notepad or whatever text editor you use, go to the drop down menu and click all files, then add .gml to the file extension. If you ever want to retweak your stats, just right click on your gml file and click open with (whatever text editor you use)

Get it here
« Last Edit: July 09, 2013, 12:04:01 am by Colonel Mustang »
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3493
  • she's never quite as dead as you think
Re: [Plugin] host weapon modifier
« Reply #1 on: July 20, 2013, 10:22:04 am »

Neat idea, but copied-and-pasted GG2 create scripts with comments probably shouldn't count. Might work as a tutorial.
Logged
did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [Plugin] host weapon modifier
« Reply #2 on: July 20, 2013, 12:36:43 pm »

thats why im working on a different plugin
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Venomous

  • Heroic Member
  • ****
  • Karma: 1
  • Offline Offline
  • Posts: 656
  • Monoculus Whisperer
Re: [Plugin] host weapon modifier
« Reply #3 on: April 05, 2014, 04:21:07 pm »

[sorry for the necro, didn't want to make a new thread]

Does this work for 2.7.2? Im going to use it for a server I have in mind.
Logged

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [Plugin] host weapon modifier
« Reply #4 on: April 05, 2014, 05:11:24 pm »

If the create events match, (if anyone is still interested in this, i should update it to use an ini rather than have users directly edit the source)
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

.prime

  • "lLaRtT"
  • *****
  • Karma: -32680
  • Offline Offline
  • Posts: 2928
  • :%)
Re: [Plugin] host weapon modifier
« Reply #5 on: April 05, 2014, 07:29:29 pm »

you could have just pm'd
Logged
give usa host next time n put prime on other team so i can fuk on this nigga for tlaking shit
plz ban all european ips so we can keep gg2 clean

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4904
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
    • arcticland
Re: [Plugin] host weapon modifier
« Reply #6 on: April 05, 2014, 07:50:48 pm »

or posted in the original non haxxy thread
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Pages: [1]
 

Page created in 0.043 seconds with 36 queries.