Jump to content

[MOD] Customized turret spawn command(Create your own turret!)


nutnnut

Recommended Posts

Disclaimer: the original creator of this command is Aki from https://www.avorion.net/forum/index.php?topic=830.15

 

Images

 

OByT5Rj.jpg

N8bXIUT.jpg

a98gDP8.jpg

49rw6vG.jpg

4GQAH51.jpg

DnDFhGo.jpg

 

 

Super cannon and ultra rapid fire chainguns are no longer a dream :D

 

Usage:

/inventory turretinw <type> [rarity] [material] [tech] [amount] [dps] [range/acc] [firerate] [turn] [heat/energy]

Spawn random turret, then apply multiplier modifications

All are multiplier, use 1 when you do not wish to change them.

size -> determine turret size, beam/projectile size, weapon recoil

dps -> determine damage per shot/tick, beam size, projectile size and velocity, weapon recoil, weapon size

range/acc -> determine range (will increase projectile lifetime and not velocity), also affect accuracy

firerate -> determine firerate/beam tickrate

turn -> determine turret turn rate (good for those pesky fighters swarming you, 2 is recommended for any turret)

heat -> determine heat per shot and cooling per second, determine energy increase per second if it is an energy weapon. For some reason values may become negative and i do not know why, please let me know if you do.

 

/inventory myturret <type> [rarity] [material] [tech] [amount]

Spawn fully customized turret

See edit.png and edit2.png in download link, should be self explanatory. But feel free to ask.

Number of barrel and crew requirement are not yet available as I do now know how to change them

 

Installation:

1. Install the command pack from the link https://www.avorion.net/forum/index.php?topic=830.15

2. Download my inventory.lua from https://drive.google.com/drive/folders/0B9naPTQ8sKx3bzViN190d0JiYjA?usp=sharing

3. Replace my inventory.lua in Avorion\data\scripts\commands

4. See usage above and enjoy

5. Give Feedbacks :D

 

Patch Note:

1.0:

-Release

1.01:

-DPS now only affect recoil by sqrt(dps) instead of 1xdps

1.02:

-DPS no longer modify recoil in my command (I later found out that the game automatically does this)

1.03:

-Added fully customization of turret(require you to edit a text file)

 

Known Bugs:

-Glitchy turret graphic when changing size, i do not know how to fix this

-Turrets sometime will not deal damage, probably engine fault, avoid by not using crazy high dmg/range/firerate

 

Download:

Please see installation as this command has a prerequisite

https://drive.google.com/drive/folders/0B9naPTQ8sKx3bzViN190d0JiYjA?usp=sharing

Link to comment
Share on other sites

  • 1 year later...
  • 3 months later...

Is it possible to add a line to the custom turret setting to allow for slot size change? I have changed the size of these chainguns and re-spawned a stack dozens of times but can't get it to take 2 slots (ideally on a size 2 turret) and will always take 3, even with a 0.5 gun, this also appeared the case when faffing with damage and stuff but I didnt check that, I was too busy aiming for a 10km range 150dmg(per shot) chaingun and didnt spot my slot problem til after.

 

*Further update* After cutting losses, and realising that the station i could buy back the single barreled ones I spawned from was... well... in my way during a pirate attack... I had to spawn another set, 4 sets in I get another single barreled set, but this time I notice that 2 of the 4 sets have 2 slot use, not 3, so not sure if that helps, but I still have no idea why none of the others I done earlier came out that way...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...