Avorion

Avorion

Not enough ratings
[2.5.2+] XSF: Arms Generator
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod
File Size
Posted
Updated
399.580 KB
21 Jun, 2023 @ 6:30pm
1 Jul @ 5:54am
13 Change Notes ( view )

Subscribe to download
[2.5.2+] XSF: Arms Generator

In 3 collections by LM13
[2.5.2+] Avorion eXtended
27 items
eXtended Scripting Framework - Library collection
13 items
[2.5.2+] Xavorion: eXtended Gameplay Preset
38 items
Description
Advanced replacement for vanilla turret generator.


eXtended Scripting Framework
This is a framework module, supporting Xavorion features.
It does nothing by itself.


Xavorion: Weaponry
Usage and code can be seen in Weaponry and Mining modules

https://steamproxy.net/sharedfiles/filedetails/?id=2992809109


Main Mod Page
For more information, check "Xavorion: eXtended Avorion" link below.
https://steamproxy.net/sharedfiles/filedetails/?id=2923179923

11 Comments
Sverinn 28 Feb @ 3:21am 
Cool, thanks for your awesome work!
LM13  [author] 27 Feb @ 6:54am 
Arms Generator received plugin support now - turret definition template is available in TurretsDatabse/TurretDatabase_Template.lua

Stages of balancing, scaling and generation can be modified or defined as separate function scripts, examples of use can be seen at Xavorion: Mining
LM13  [author] 9 Dec, 2023 @ 5:11am 
@Locxion

Do you have any other mods that modify turrets(ex. Starfall) or tooltips? Any broken turrets appear?
Locxion 9 Dec, 2023 @ 4:52am 
Just for Info ... got those Errors with a fresh start:
2023-12-09 13-30-05| #0: makeTurretTooltip data/scripts/lib/tooltipmaker.lua
2023-12-09 13-30-05| could not execute function 'makeTurretTooltip' in '"data/scripts/lib/tooltipmaker.lua"':
F:\SteamLibrary\steamapps\workshop\content\445220\2992808396\data/scripts/TooltipMaker/WeaponPropertyFunction.lua:138: attempt to index field 'title' (a nil value)F:\SteamLibrary\steamapps\workshop\content\445220\2992808396\data/scripts/TooltipMaker/WeaponPropertyFunction.lua:138: in function '_Function'
2023-12-09 13-30-05| F:\SteamLibrary\steamapps\workshop\content\445220\2992808396\data/scripts/TooltipMaker/WeaponTooltipMaker.lua:35: in function 'Add'
2023-12-09 13-30-05| F:\SteamLibrary\steamapps\workshop\content\445220\2992808396\data/scripts/lib/tooltipmaker.lua:130: in function <F:\SteamLibrary\steamapps\workshop\content\445220\2992808396\data/scripts/lib/tooltipmaker.lua:56>
Sverinn 17 Nov, 2023 @ 5:05pm 
@LM13 Thanks a lot!
LM13  [author] 17 Nov, 2023 @ 4:16pm 
Yup, those turrets are an exception added to Xavorion: Mining mod.

Look at a file ( X2-Mining/data/scripts/ArmsGenerator/BarrelFunction.lua )

Comment out lines 8, 13, 17, 22
Comments are taged by --

Line 8 should look like this:

--_Metadata.TechType = WeaponTech.OreRefinerLauncher
Sverinn 17 Nov, 2023 @ 4:04pm 
@LM13 any chance I can alter mod files to disable these? Thanks!
LM13  [author] 16 Nov, 2023 @ 1:06pm 
@Sverinn

Hello there.
There is a single type of mining turret that does fire rockets - double barreled Medium variant.
Other 3 variants fire regular beams. Tooltips will be updated to avoid confusion.
Sverinn 16 Nov, 2023 @ 12:40pm 
Hello! Are the mining turrets supposed to fire rockets?? This is really weird...
LM13  [author] 2 Jul, 2023 @ 5:16am 
Turret Factories have been fixed now