Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Standalone Overkill weapons

#1
So, I really like Overkill and wanted to use its weapons in other modes, so I decided to make this:

Standalone Overkill weapons for Xonotic
This mod adds separate weapons that act like overkill ones but have separate stats so you can use overkill weapons outside of overkill mutator.

Changelog
  • Added Overkill Shotgun, Overkill MachineGun and Overkill Nex weapons. They are completely separate and have their own stats that match default Overkill stats.
  • Renamed Heavy MachineGun to Overkill Heavy MachineGun and Rocket Propelled Chainsaw to Overkill Rocket Propelled Chainsaw.
  • Added secondary fire to Heavy MachineGun and Rocket Propelled Chainsaw.
  • Added secondary fire animation to all Overkill weapons.

How to use
Overkill weapons are only used in Overkill mutator by default. Their names are `okshotgun`, `okmachinegun` and `oknex`. You can use them anywhere where you can specify the name of the weapon. For example:

Code:
g_balance_okshotgun_weaponstart 1

This will make players spawn with Overkill Shotgun.

Code:
g_weaponarena "okmachinegun oknex"

This will create a weapon arena where everyone has Overkill MachineGun and Overkill Nex.
Reply

#2
There was a bug a few years ago when you can use an OK weapon with a normal model but I wasn't able to figure out how I did it originally.
[MoFo] Servers - North America - Hosted in Kansas USA - Admin DeadDred [MoFo]
Reply

#3
(03-08-2017, 03:39 PM)end user Wrote: There was a bug a few years ago when you can use an OK weapon with a normal model but I wasn't able to figure out how I did it originally.

Just exec balance-overkill.cfg and don't set g_overkill 1. g_overkill enables the mutator that changes weapon models.

These weapons OTOH always use overkill model unless someone will specifically create a mutator which does otherwise.
Reply

#4
I have finally made a faithful recreation of Overkill secondary blaster with all weapons. As a bonus, they will now play a secondary fire animation.
Reply

#5
Nice work. You might want to include your CHANGELOG in the OP to make it easier to see what you've changed over time, if you plan on adding more versions. Feel free to keep bumping with updates as they happen, but the compilation is very helpful if you have comments happening in between. Cheers.
Reply

#6
You can get a changelog by doing
Code:
git log --author=Lyberta --pretty=format:"%ar : %s"
Here's what it says at the time of post:
Code:
12 hours ago : Added secondary fire to HMG and RPC.
13 hours ago : Secondary fire animation for overkill weapons.
2 days ago : Overkill weapons: better secondary refire.
3 days ago : Overkill weapons: better config.
5 days ago : Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
9 days ago : Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
9 days ago : Fixed Overkill Vortex reload.
3 weeks ago : Fixed weapon priorities.
3 weeks ago : Fixed OK Vortex reload.
3 weeks ago : Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
3 weeks ago : Added PrintToChat function.
3 weeks ago : Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
3 weeks ago : Fixed OK Vortex reload.
4 weeks ago : Fixed vortex charge.
4 weeks ago : Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
4 weeks ago : Rerun genmod.sh to obtain proper _mod files.
4 weeks ago : Use standalone weapons in overkill mutator.
4 weeks ago : Reduce code duplication in overkill machinegun.
4 weeks ago : Reduce code duplication in shotgun.
4 weeks ago : Fixed zoom.
4 weeks ago : Updated config files.
4 weeks ago : Added weapon code
4 weeks ago : Second fix of _mod files.
4 weeks ago : Fixed spawner.qc having improper filename.
Reply

#7
I'll get right on adding a git client to the forums.
Reply

#8
(04-07-2017, 07:49 AM)-z- Wrote: I'll get right on adding a git client to the forums.

Looks like a lot of work, do you think we need it?
Reply

#9
(04-07-2017, 10:13 AM)Lyberta Wrote:
(04-07-2017, 07:49 AM)-z- Wrote: I'll get right on adding a git client to the forums.

Looks like a lot of work, do you think we need it?

No, because that's not a CHANGELOG. That's a git commit log.

Quote:Version 0.2 released. Now with MachineGun. Vortex may take a few days because it uses a lot of functionality outside the weapons folder.
This is more like a CHANGELOG. You have a tagged release with features/bugs/changes

I'm advising you to post the CHANGELOG in the OP to give an executive summary of the progression of your mod.  If you don't want want to add a CHANGELOG to the OP, that's fine, but you shouldn't expect others to have your code checked out in order to see what's changed, especially if it's a raw commit log.
Reply

#10
(04-07-2017, 10:46 AM)-z- Wrote: I'm advising you to post the CHANGELOG in the OP to give an executive summary of the progression of your mod.  [/size]If you don't want want to add a CHANGELOG to the OP, that's fine, but you shouldn't expect others to have your code checked out in order to see what's changed, especially if it's a raw commit log.

Well, when I started the work on this, I didn't have write access to Xonotic repo so I've been putting changed files in a ZIP file and given it a version number. Now I have write access and I don't need to waste time packaging changed files. I'm just working on my branch and accumulate all changes there.

I'm not a fan of writing changelogs but if I have a significant update, I'd post it here.

EDIT: OK, I've added changelog.
Reply

#11
There has been a heated discussion on IRC about new names for the weapons. Martin-t suggested "uzi" for okmachinegun and "nex" for okvortex. The problem is that UZI is a trademark and we can't really use it and Nex may conflict because it is the previous name of the Vortex.

If you have ideas for cool names, post them here.
Reply

#12
I'm partial to the idea of giving them really generic/mechanical names, to fit the style of the mode (e.g. "Sniper" for the vortex). Not sure what to call the other 2 though.

Given the machinegun isn't a uzi at all, it would be best not to regress back to that unfitting name (not to mention the legal side of it).
[Image: 230.png]
Reply

#13
Here's a few ideas:
okshotgun = Shredder
okmachinegun = SMG / SubMachineGun
okvortex = Reaper.
Reply

#14
Fixed m_model property of weapons. Now you will see a proper models when throwing them away.


Attached Files Thumbnail(s)
   
Reply

#15
(08-06-2017, 03:18 AM)Lyberta Wrote: Here's a few ideas:
okshotgun = Shredder
okmachinegun = SMG / SubMachineGun
okvortex = Reaper.

okshotgun = Shredder
okmachinegun = Chopper
okvortex = Slicer
[MoFo] Servers - North America - Hosted in Kansas USA - Admin DeadDred [MoFo]
Reply

#16
(08-26-2017, 06:34 PM)end user Wrote: okshotgun = Shredder
okmachinegun = Chopper
okvortex = Slicer

Heh. Well, too bad bullets can't chop or slice.
Reply

#17
Even if they're big, big, big?
Then call one of them "the Driller" ahaha.
Reply

#18
Here's a few another ideas:
okmachinegun = P9000
okvortex = Railgun.
Reply

#19
(08-26-2017, 08:26 PM)Lyberta Wrote:
(08-26-2017, 06:34 PM)end user Wrote: okshotgun = Shredder
okmachinegun = Chopper
okvortex = Slicer

Heh. Well, too bad bullets can't chop or slice.

A machine gun is called a Chopper and a sniper/laser like gun would be a Slicer. It slices right through people.
[MoFo] Servers - North America - Hosted in Kansas USA - Admin DeadDred [MoFo]
Reply

#20
Youcoudl also call them

Scheshwan Beef
Chop Suey
Chow Main
[MoFo] Servers - North America - Hosted in Kansas USA - Admin DeadDred [MoFo]
Reply

#21
This branch was merged but ironically the weapons got MUTATORBLOCKED flag which makes them unusable outside of Overkill. I will create a separate branch that will fix this.
Reply

#22
(05-31-2018, 02:19 AM)Lyberta Wrote: This branch was merged but ironically the weapons got MUTATORBLOCKED flag which makes them unusable outside of Overkill. I will create a separate branch that will fix this.

They are not unusable outside of Overkill, they are just blocked from core vanilla gameplay because:
  1. Their artstyle is completely different
  2. They are pretty much duplicates of vanilla weapons with secondary changed to blaster
  3. They are way overpowered compared to vanilla weapons

Imo it's much better to have features like this as Opt-in instead of Opt-out. It will also mean that maps are playable both in vanilla and "modded" gameplay.
Reply

#23
(05-31-2018, 08:06 AM)Freddy Wrote: Imo it's much better to have features like this as Opt-in

But there is no opt-in option right now. This is pure Digital Restrictions Management which only hurts community.
Reply

#24
Before you make an additional branch that simply bypasses the blocked mutators check, please address the other concerns raised by Freddy. I reckon that's the major reason for them being blocked, not for any doomsday-like DRM reason. I'm sure you can appreciate our desire to keep the code clean and sane: it must not only work, it must be written in a maintainable way. We've had several issues with Overkill on this front.
asyyy^ | are you releated to chuck norris?
Reply

#25
(05-31-2018, 04:56 PM)Antibody Wrote: Before you make an additional branch that simply bypasses the blocked mutators check, please address the other concerns raised by Freddy. I reckon that's the major reason for them being blocked, not for any doomsday-like DRM reason. I'm sure you can appreciate our desire to keep the code clean and sane: it must not only work, it must be written in a maintainable way. We've had several issues with Overkill on this front.

I've been using these weapons in vanilla for more than a year now. I've never had issues with them. Shotgun and MachineGun code was changed to reduce duplication. Only OKNex is kinda fat because it has most of the vortex code.

As long as we don't have maps that have those weapons in official rotation, server admins must explicitly work to make those weapons available. If we go on a "what if" trip we might as well remove all balance cvars from the game because server admins that make OP weapons by changing vanilla weapons' stats.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Random start weapons Lyberta 0 676 09-23-2017, 09:18 PM
Last Post: Lyberta
  Official Overkill balance martin-t 38 9,021 10-06-2016, 05:08 PM
Last Post: martin-t
  [SOLVED] Orienting weapons to bones (CSQC) toneddu2000 3 4,254 03-30-2015, 04:26 PM
Last Post: toneddu2000
  Where can I find the self animated weapons from Nexuiz? MirceaKitsune 14 8,783 11-08-2014, 07:29 PM
Last Post: MirceaKitsune
Brick Weapons defined in text files / de-harding weapons [feature debate] MirceaKitsune 41 23,388 10-10-2012, 03:59 PM
Last Post: hutty
  How to make new weapons? Kris 2 2,498 09-30-2012, 08:56 AM
Last Post: Mr. Bougo
Information Alternatives to removing core weapons MirceaKitsune 6 3,939 09-05-2012, 04:43 PM
Last Post: hutty
  Replacing spawn weapons Samual 140 91,857 07-07-2012, 04:57 AM
Last Post: asyyy
  The Overkill thread tZork 30 23,460 06-19-2012, 12:06 PM
Last Post: tZork
  weapons not dropping in minsta games zypresse 9 6,599 01-11-2011, 01:44 PM
Last Post: zypresse

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-