Avorion

Avorion

Klingon Weapons Pack
69 Comments
Kelethaar  [author] 14 Jun @ 7:18pm 
Thank you Merlin. I got a lot of code to go over and need to make some updates.
Merlin 7 Jun @ 6:44am 
Hey so I kept seeing debug/console log errors, and going into the mod in data/scripts/lib/turretgenerator.lua, editing line 717 so that the output KSpecialty is now usedSpecialty seemed to clear them up. Looks like the global KSpecialty type descriptor (well it looks like an enum but lua isn't one of my programming languages so I don't know what it's called really. Probably a table but idk.) was getting overwritten by whatever the second return value of the text output of the getKSpecialtyAdjective function was meaning that in some cases it would be nil, resulting in a ton of nil errors when trying to reference the global KSpecialty variable elsewhere in the script. Haven't been seeing log errors, but maybe there's other issues I created from this. If you have a github for this I'd submit a PR, but this is the next best thing I guess?

outerAdjective, usedSpecialty = getKSpecialtyAdjective(rand, kspecialties)
Kelethaar  [author] 14 Apr @ 5:44pm 
Hi LanParasek.
Can you share what issues you are seeing? Can you provide log entries to that effect?
LanParasek 14 Apr @ 2:00pm 
Hello, these weapons are causing problems with the standard Avorion weapons. Is there a way to fix this?
Kelethaar  [author] 13 Jul, 2024 @ 12:18pm 
Updated pulse weapon icons for a bit more clarity.
Updated beam weapons as they weren't showing at all. Apparently Avorion isn't a fan of green in the Icons haha.
Kelethaar  [author] 8 Jul, 2024 @ 12:34pm 
minor update to balance drops. Might feel a touch light with existing saves but i think the balance is closer to what i wanted for early-mid.

Thanks for your feedback @Captain.
Strife 8 Jul, 2024 @ 6:00am 
any chance for a xavorion version :-P?
Kelethaar  [author] 10 Apr, 2024 @ 11:35am 
It is worth looking into.
Captain 10 Apr, 2024 @ 6:38am 
60% of my loot is klingon weapons only, that why i'd recommend changing it, or im just very lucky
Kelethaar  [author] 10 Apr, 2024 @ 2:24am 
@Captain, Spawn rates are far below vanilla rates (with a Vanilla Chaingun at probability 2.5, My type 1's at Probability 1.5 or 1.0) I want some of them to be prevalent (like chainguns) while others are rare (Type V have a 0.33 probability, Torpedoes something like 0.5) without flooding the loot possibilities.

I appreciate the feedback and will take it under advisement.
Captain 9 Apr, 2024 @ 2:42pm 
spawn is way to much, i recommend lowering by 25%.
Zeus_Sampson 21 Feb, 2024 @ 9:59am 
Please keep up the Excellent work :deltashield:
Kelethaar  [author] 10 Feb, 2024 @ 11:16pm 
Updated.
Kelethaar  [author] 24 Jan, 2024 @ 2:30am 
Thanks Palynium!
Palynium 13 Jan, 2024 @ 12:17am 
In-game error log: https://i.imgur.com/lSAUZ3O.png
rickcarson 24 Mar, 2023 @ 3:11am 
There should be a keybinding for 'Show Console'. On mine I've bound it to '
(Pressing ' makes it go away as well, so it's a toggle)
Kelethaar  [author] 22 Mar, 2023 @ 1:17pm 
@Ricarson you are awesome. I really appreciate that!
Kelethaar  [author] 22 Mar, 2023 @ 12:13pm 
that's... exceptionally helpful feedback

Where are you seeing these outputs. I have to find the stupid bugs i make in the Roaming output log and i NEVER get to see anything that is this helpful
rickcarson 21 Mar, 2023 @ 5:38am 
It was still spamming lots of complaints about upvalue the KSpecialty.

Prepending KTurretGenerator. seems to help

e.g.

if kspecialties[KTurretGenerator.KSpecialty.KTorpBurst] then

seems to work but

if kspecialties[KSpecialty.KTorpBurst] then

chucks a wobbly

I think what's happening is that at some point one of the functions on KTurretGenerator is calling a local function, and at that point it loses the plot for what the KSpecialty variable is supposed to contain (I think it falls out of scope???)

Two other things, one might have been a misclick on my part:

some kind of typo in the specialties at around line 200-220ish

and secondly when it goes to determine the heat you've got a line that says something like local maxheat = int(3,5)

And the thing didn't know what that was. Looks like you were intending for it to pick from a range? But I think if you want it to do that you might have to pass in rand maybe??? I just set it to 3
Kelethaar  [author] 18 Mar, 2023 @ 1:51pm 
Thanks @ricarson i Just noticed those myself an have been working on fixing them. Give it a go again and see if they keep cropping up for ya.
rickcarson 18 Mar, 2023 @ 6:16am 
I love the concept - and I've downloaded the latest copy as per the 13 Mar update - but it's spewing a whole bunch of stuff to the error log about not being able to find KSpecialty in turretgenerator
Kelethaar  [author] 10 Jan, 2023 @ 7:01pm 
A major update has been released for this mod. it includes.

*a bunch of bug fixes, including capturing a ton of errors that @Baka found and squashing them.
*Some re-balancing
*updating the naming mechanics... all of the arsenal is actually showing up in testing now.

Please enjoy!
Baka yellow 16 Nov, 2022 @ 5:24pm 
@Kelethaar Good luck. I already like the klingon phaser pack already. And i only barely touched it.
Kelethaar  [author] 15 Nov, 2022 @ 4:18am 
@Baka

No i think in this case it's my own playing with the new naming system Boxelware used for the black market DLC. when they added the cool new prefixes and what not.

you shouldn't have any compatibility issues with any other mods that i could think of. I run a LOT of them myself and honestly tried to make it as compatible as possible with other weapons mods.

Stay tuned: one way or another I'll try and get it figured out.
Baka yellow 14 Nov, 2022 @ 7:29pm 
@Kelethaar No problem, i just hope my IMMENSIVE stupid amount of installed mods isnt causing issues first. (i have about 50 of thjem installed PLEASE SEND HELP()
Kelethaar  [author] 13 Nov, 2022 @ 11:20pm 
@Baka

well i see where you are getting your problem... It seems i have a bit of work to do. Thank you again for sharing your screens. I'll try and get this resolved ASAP.
Baka yellow 11 Nov, 2022 @ 11:50pm 
@Kelethaar Can confirm im still getting the same issues. I even undownloaded and redownloaded to make sure it was recent.

https://prnt.sc/LHCVlg6cHIt_ https://prnt.sc/ErEKiMahbYvd https://prnt.sc/rX_nC0_THaMv These are logs i've tried grabbing when i select the equipment dock's equipment stuff.
Baka yellow 11 Nov, 2022 @ 11:45pm 
@kelethaar Yeah, this is what i tried to get from my logs(that i cant really fully access) https://prnt.sc/LHCVlg6cHIt_ (Please note that i've managed to find the klingon phaser and the disrupter in shop. So those might be okay)
Kelethaar  [author] 10 Nov, 2022 @ 2:07pm 
I unleashed a new revision last night. Are either of you still seeing your issues?

Zeus, please resub. I think you are a version behind (maybe i actually forgot to upload HAHAHA)

Baka, I would appreciate it if you could let me know weather or not you are still seeing the error, or if it has changed.

Thank you both
Zeus_Sampson 10 Nov, 2022 @ 1:28pm 
Success in Battle For the Empire!
Kelethaar  [author] 10 Nov, 2022 @ 4:05am 
well humbug :(

Baka, Zeus. thanks both for letting me know :)
Zeus_Sampson 9 Nov, 2022 @ 3:32pm 
Errors while enabling mods:
2032079899 is problematic: Mod 'Klingon Weapons Pack' [2032079899]'s base game requirement (2.0 to 2.0.11) doesn't match version 2.2.2 of the game.
Baka yellow 5 Nov, 2022 @ 10:43pm 
I appreciate that this mod has been getting updates but uh. Turrets aren't showing up at times.
https://prnt.sc/3d7u56MQhe8S is a part of what i see sometimes. I should note i run a heavily modded game.
Zeus_Sampson 31 Oct, 2022 @ 2:55pm 
ok thank you. Much appreciated
Kelethaar  [author] 31 Oct, 2022 @ 12:51pm 
in that case it would seem that your server does not have the latest version.

I'm not terribly familiar with Dedicated servers and steam but if this was a client side issue i would say re-sub the mod for the latest version. This release shouldn't complain until 2.3.x
Zeus_Sampson 31 Oct, 2022 @ 3:13am 
so i founds this : 2022-10-31 06-11-33| Errors while enabling mods:
2022-10-31 06-11-33| 2032079899 is problematic: Mod 'Klingon Weapons Pack' [2032079899]'s base game requirement (2.0 to 2.0.11) doesn't match version 2.2.2 of the game.
Kelethaar  [author] 30 Oct, 2022 @ 11:49pm 
Zeus. You'll need to review your logs. find me any errors that look like this
"...\data/scripts/lib/weapongenerator.lua:8: in function 'generatekPhaser1"

My bet is there is some kind of conflict with another mod but without seeing the error line in the logs i won't even have a starting place.

it would also help to know the When, Where and how you get the error so i can try and replicate.
Zeus_Sampson 28 Oct, 2022 @ 5:13pm 
mod is erroring out my multiplayer server. halp plz
Kelethaar  [author] 24 Oct, 2022 @ 1:56pm 
Reading through their comments it seems that this person's mod is broken at the moment.

Thanks for sharing :)
BC-BlindPANIC 24 Oct, 2022 @ 1:54am 
just playing with mod today looks like it was

More Turrets at Equipment Docks Ex with 2.0

that was messing with your mod

with zero turret for sale


https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2579166263
Kelethaar  [author] 24 Oct, 2022 @ 12:12am 
@BC-BlindPANIC I have been seeing them in both the equipment and turret factories. Spawn chances are kind of low by design so as to not overwhelm vanilla weapon spawns and because they are quite a bit beefier than Vanilla. It is possible they just haven't spawned for you.

Thanks for the heads up. I'll keep an eye out for this issue.
BC-BlindPANIC 23 Oct, 2022 @ 5:38am 
do't no if you spoted this bug but there not weapons show up in equipment station now
Kelethaar  [author] 22 Oct, 2022 @ 11:23pm 
I have released a new version of this to come in line with 2.2.22 and I think I have a balancing issue that has plagued this mod for a while resolved.

Please enjoy the update.
Zeus_Sampson 6 Oct, 2022 @ 1:53pm 
Success in Battle Qa'Plah
Kelethaar  [author] 6 Oct, 2022 @ 12:12pm 
@Zeus Sampson unfortunately not in a while. I have been struggling with health issues.

Thanks for spurring me into motion! I'll update soon.
Zeus_Sampson 6 Oct, 2022 @ 10:33am 
any updates to this mod?
Kelethaar  [author] 24 Jan, 2022 @ 2:11pm 
I seem to have fixed the spawning issue.
They're spawning with specialties again. :)
Adjusted drop rates so they don't completely overwhelm vanilla weapon drops.

Balancing and better descriptions will follow later as time and energy allows.
Kelethaar  [author] 19 Jul, 2020 @ 5:49am 
@ Engine Of Darkness

Thank you for your feedback!

I'm slowly working on some changes and will try to figure out the Turret Factory issue. once i figure out the root cause, it should be easy to fix (probably something in the last changes i made).

Still working on that balance (and features), and your feedback helps. I appreciate it.
Engine Of Darkness 5 Jul, 2020 @ 8:09am 
Some Feedback

- Some Weapons (not sure why) cause an weird Issue in the Turret Factory where when you click on a Turret and the Turret Info on the Right Pops up, numbers change like crazy - it's not tied to weapon types or tiers it seems - maybe it's some of the "specials" that are listed? Not really sure what causes this.

- Please normalize the volume of sounds - the "lasers" seem to be way louder than the vanilla weapons. Could also be the "drop-off" by distance which makes it feel that way

- Droprate seems a bit high, also maybe make different tiers have a "drop" malus if to far from the center (e.g. have TIER V only drop close to the center (Ogonite) in normal amounts, an in iron space have it like 5x less likely to drop) That way you can still get lucky, but it's rarer. IV would e.g. drop 4x less and drop in "normal" amounts in Trinium space.
Kelethaar  [author] 17 Apr, 2020 @ 1:44am 
I'll look into it as i am still further balancing

Some of it is by design. The 5 tiers of disruptors and phasers progress in damage based on that Tier. K-disrupruptor-I has very low damage output but its very common and small.K-Disruptor-V is big with a high damage output and very low probability to find.

Thanks for your feedback. It's very helpful.