Skip to content

dirtyredz/Regenerative-Asteroids

Repository files navigation

Regenerative Asteroid Fields

alt text


alt text

Commands


/regen start

Will force a sector to become a Regenerative Asteroid Field Sector. THIS WILL NOT overwrite anything already in the sector. Turn your start sectors or your players home sectors into regenerative Asteroid Fields.

/regen stop

Will Remove the Regenerative Asteroids script to be removed. This will not remove any asteroids, just the script. Will also make the sector safe for uninstall.

/regen now

Will force the script to calculate asteroids and the sector limits, instead of waiting on a player to enter the sector.

/regen set x

Will set a sector to maintain a specific amount of minable asteroids. This will be Priority over MinableAsteroidLimit and MaintainNaturalAsteroidLimit options.

INSTALL


simply copy the DATA and MODS folders inside your steam avorion folder (steam local folder) usually C:\Program Files (x86)\Steam\steamapps\common\Avorion

THIS MOD IS REQUIRED ONLY TO BE INSTALLED ON THE SERVER NO CLIENT INSTALLATION IS REQUIRED

UNINSTALL


STEP 1: Replace sectorspecifics.lua with orignial.

STEP 2: Delete all files associated with this mod. After which you need to delete every file installed by this mod (except sectorscripts.lua which needs to be modified)

STEP 3: Add my Uninstall script to data/scripts/sector/ then add the data folder included in "UninstallRegenerativeAsteroids.rar" to your Avorion directory. this will add script to terminate and remove the script from each sector you visit which contains the RegenerativeAsteroids Script.

Step 4: Visit every sector which was a Regenerative Asteroid Sector The uninstall is safe to leave in place as it does nothing but kill the script. Otherwise if your confident every sector that had the Regenerative Asteroids script has been visited, you can remove the uninstall file aswell.

__WARNING __- Failure to remove the script before deleteing the mod will CLEAR the entire sector of every entity (including your ship)


All messages except for those alerting the player to the sector will be sent to the console. by default you can access the sector with the ' key.

GITHUB


https://github.com/dirtyredz/Regenerative-Asteroids

Downloads


Version 1.5.2 Regenerative Asteroids v1.5.2

Version 1.5.1 Regenerative Asteroids v1.5.1

Version 1.5.0 Regenerative Asteroids v1.5.0

Version 1.4.5 Regenerative Asteroids v1.4.5

Version 1.4.4 Regenerative Asteroids v1.4.4

Version 1.4.3 Regenerative Asteroids v1.4.3

Version 1.4.2 Regenerative Asteroids v1.4.2

Version 1.4.1 Regenerative Asteroids v1.4.1

Version 1.4.0 Regenerative Asteroids v1.4.0

Version 1.3.0 Regenerative Asteroids v1.3.0

Version 1.2.5 Regenerative Asteroids v1.2.5

Version 1.2.4 Regenerative Asteroids v1.2.4

Version 1.2.3 Regenerative Asteroids v1.2.3

Version 1.2.2 Regenerative Asteroids v1.2.2

Version 1.2.1 Regenerative Asteroids v1.2.1

Version 1.2.0 Regenerative Asteroids v1.2.0 Uninstall v1.2.0

Version 1.1.0 Regenerative Asteroids v1.1.0 Uninstall v1.1.0

Version 1.0.0 Regenerative Asteroids v1.0.0

Uninstall v1.0.0

Changelog


Version 1.5.2 --Fixed print command

Version 1.5.1 --Updated SectorSpecifics file --Fixed Version info

Version 1.5.0 --Updated Loglevels --Added 3 new config options to control the size of asteroids --Fixed bug where MaintainNaturalAsteroidLimit was always set --Fixed bug where server announcement wasnt working. --Fixed bug where the asteroids were generating twice.

Version 1.4.5 --Hotfix, dont delete claimable asteroids.

Version 1.4.4 --Added MaxNonMinable config option, Deletes any non-minable asteroids past the config option default 1500.

Version 1.4.3 --Updated sectorspecifics.lua

Version 1.4.2 --Added missing loglevel commands --Redid entire config file. --Updated all files to match new config file settup --Removed NeutralZone option, and neutralzone file.

Version 1.4.1 -Moved most file to mods/ directory in preperation for steam support -Added Loglevel -Fixed custom nsming on newly generated sectors

Version 1.4.0 -Moved configuration to /configs/

Version 1.3.0 -Added Namespacing

Version 1.2.5 -Fixed Conflict with MineCorp mod (changed renamed config.lua). -IMPORTANT: DELETE THE OLD CONFIG.LUA otheriwse the conflict will remain. -Updated All files to compensate for the rename of CONFIG.lua, also Updated SectorSpecifics.lua. -Added CustonName support for sectors generated as Regenerative Asteroids. ie: it will now show "Regenerative Asteroids" on the map overview when hovering or a Regernative Asteroid SectorTemplate alt text

Version 1.2.4 -Added clickable sector cords, to discovery message. -Fixed bug from version 1.2.3

Version 1.2.3 -Removed redundant code in Sectors files causing a cyclic dependency.

Version 1.2.2 -Fixxed race condition in script Initialize(). (Error: could not execute function 'initialize' in '""':)

Version 1.2.1 -Removed console print out from asteroid regeneration, forgot that everyone could see the server console.... -Added config option Debug, if true you can see all messages about a sectors regenerative actions. Warning all players can see server console print outs. -Added config option for Repeated sector entry. By request to broadcast a message whenever a player is inside a regerative sector.

Version 1.2.0 -Consolidated commands into single cmd /regen with sub options start,stop,now,and set. -Added config option for Natural Asteroid generation, ie if a regenerative sector starts with 56 asteroids the script will never exceed 56 asteroids. -Added new command /regen set can be used to force a sector to maintain a specific amount of asteroids, ie /regen set 10 will always maintain 10 minable asteroids. see commands. -Fixed server announcment from always playing discovered message, even after its been discovered previously. -Added ModInfo and version to console print. -Consolidated player command scripts into one file. make sure you delete older versions of those files. -Optimized asteroid regeneration script to generate the specific amount of asteroids needed instead of a random amount. (Let me know if your getting to many none minable asteroids) -Added Sector X and Y to console print out

Version 1.1.0 -Moved Config.lua FROM scripts/mods/ TO scripts/mods/Regenerative-Asteroids/ -Fixed Server announcment only sending announcment to player and not server. -Added Neurtral Zone Regenerative ASteroids Configuration option, default false. -Added config check to neutralzone.lua for configuration options -Added SectorGenerator Configuration option, default true. -Added config check to SectorSpecifics.lua for configuration options -Updated Uninstall to contain original neutralzone.lua(patch 0.11.0.7844) and sectorspecifics.lua(patch 0.11.0.7844) -Added readme.txt to Uninstall zip

DONATE


Wanna show your appreciation? http://dirtyredz.com/donate

Become a patron: https://www.patreon.com/Dirtyredz

MY OTHER MODS


_DSM -A project dedicated to server deployment, management, and exposing features to a web interface. http://www.avorion.net/forum/index.php/topic,3507.0.html

Reganerative Asteroid Fields -Regenerates designated sectors, and randomly appearing sectors, of minable asteroids. http://www.avorion.net/forum/index.php/topic,3055.0.html

MoveUI -A mod for adding custom UIs to the screen. http://www.avorion.net/forum/index.php/topic,3834.0.html

Subspace Corridor -A modders recources, designed to mimick /teleport, due to server commands not being available through the api. http://www.avorion.net/forum/index.php/topic,3148.0.html

Dirty Buoy's -Allows players to spawn Navigational and Sentry Buoys, More to come soon. -These buoys have unique features players cant get in normal game play, for example: Navigational buoys are invincible and cannot be moved. A great way to mark a distance wreckage or minarable rich asteroid field. --Rusty Servers only at the moment.

LogLevels -LogLevels gives modders the ability to set levels for there print functions. -Aswell as allowing server owners to clean up there consoles, making it easier to read. http://www.avorion.net/forum/index.php/topic,3799.0.html

NoNeutralCore -A small script for stopping the creation of neutral zones inside the core. http://www.avorion.net/forum/index.php/topic,3472.0.html

DirtyCargoExtender -Extends the cargo hold of any NPC station discovered with low cargo holds. --Patreon Members only

DirtySecure -A mod which assigned PVP or PVE sectors based on distance from core. -Provides Offline Protection to Players ships. -Provides protection for NPC stations. --Rusty Servers only at the moment

Reganerative Claimable Asteroids -A mod which respawns claimable asteroids, when theyve been moved or turned into a mine. -Also will unclaim or unsell an asteroid after a configured number of days -Keeps the galaxy alive, providing claimable asteroids for new players. --Rusty Servers only at the moment

Death Info -Used to track cords of a players death point, assigning player values, for other mods to use. --Rusty Servers only at the moment.

/Back -A command using DeathInfo and Subspace Corridor, to teleport a players drone BACK to there death point. --Rusty Servers only at the moment.

Any mod listed as Rusty Servers only, are live and active on the Rusty Servers. Want the mod for your server? Lets talk and ill see about releasing the mod to you/public. Not all mods on Rusty will remain there, they will eventually be released to the public.