Code Monkey home page Code Monkey logo

gates-awakened's Introduction

Gates Awakened

Header, taken from Starsector

Gates Awakened is a mod for the excellent game Starsector.

It adds three short quests that open up instantaneous travel between Gates from the ancient Domain of Man - but you are limited to only a small number of Gates, so adjust accordingly.

Gates Awakened tries to encourage early exploration and ease later-game traveling, without feeling like a cheat. While it is, of course, not canon, it fits smoothly into lore of the game.

Once a Gate is activated, the player may use fuel, based on distance, to travel to any other active Gate.

Massive thanks to toast for his inspirational mod, Active Gates, without which this mod would not exist.

Intro story screenshot

Dear other modders: avoiding conflicts

There are two ways to tell Gates Awakened never to touch your systems.

  1. Add your system(s) here: data/gates-awakened/gates_awakened_system_blacklist.csv. There is a template here.

  2. Or, to change blacklisted systems dynamically, add or remove this tag from the system: GatesAwakened_blacklisted_system. The code that drives this logic is around here.

Compiling this Mod

  1. Clone this source code.
  2. Ensure you have java installed and accessible via system variable.
  3. Open up build.gradle.kts in a text editor and change starsectorCoreDirectory to point to your starsector-core directory.
  4. Open a terminal to the root directory of the mod and type
    1. Unix: ./gradlew build jar
    2. Windows: gradlew.bat build jar
  5. You should now (eventually) have a jar built at jars/Gates_Awakened.jar.

gates-awakened's People

Contributors

ken-c avatar wispborne avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

jts76 mohammed-ml

gates-awakened's Issues

Allow gates to be deactivated so codes can be reused

Probably only after second mission is complete.
Include the gates from the first mission? I think yes, then you have four gates you can move around at will.

Probably need to add a resource cost so players don't keep 3 active, then activate one as needed, use it, then deactivate it behind them in order to be able to always use any gate they see. Although that would deactivate the destination gate, so they'd end up with a gate far away to deactivate...so I guess that problem solves itself.

Wiki: recommend using memoryapi because rules.csv interaction

Thaago

Hey Wisp, one bit of info which supports using a MemoryAPI as the 'single source of truth' (a concept I'm a big fan of) for quests: Global.getSector().getMemoryWithoutUpdate() is the same MemoryAPI as can be accessed via Rules.csv - both in a custom script via memoryMap.get(Memkeys.GLOBAL), or in the rules itself using $Global.name (for simple condition testing or variable setting as a condition/result of a rule)

This seems to me to be a slightly superior method when integrating rules.csv with standalone scripts. Thoughts?

Create new gates!!!

Player finds hardware that lets them detect interstellar Gate Haulers and direct them to their location.

  • Random event that a Hauler is passing by, player has 30-60 days to get to a Stable Location and signal the Hauler to go there.
  • When Hauler arrives, if factions are nearby they send a fleet. Either way, there is a significant Derelict defense also.
  • Once dust has settled, player is able to activate the gate because it is already programmed with an activation code but was turned off during transit.

Also the number of these events will be limited, player can edit a setting file if they want more/fewer

[BUG] Cannot save during second quest

https://fractalsoftworks.com/forum/index.php?topic=16562.msg276092#msg276092

Unsure why, but upon interacting with the second bar event and gaining the location of the gate code cache, my save game seems to be corrupted(cannot save after that, gives a 'fatal null' error, but thankfully I can reload and simply avoid that bar event)
This leaves me rather unable to actually play through the rest of the mod. Currently using nexrelin, varya's sector, and every 9.1 faction mod.

Edit: This 'fatal null' error still occurs if I just open the bar(don't have to click on the event). Also if I go and fly to the cache after accepting the mission (and not saving), and pick up the gate codes, afterwards I can save as normal. Weird.

badass SFX and VFX

Meso: Is make the custom vfx the gate lighting up, not the fleet. And sync that to the sound, and keep the vfx and sound for the fleet itself when it goes through mundane.

Make the gate quests more difficult

Suggested by Avanitia

Oh btw, may want to spawn a fleet or something to fight you - currently it's very easy to get these gates on.

WispToday at 2:52 PM
Hmmm strange, thanks a ton for the report and ideas.

AvanitiaToday at 2:54 PM
Only actual issue in completing the mission was Remnant fleet that spawned because of Ruthless Sector ๐Ÿ˜†

WispToday at 2:54 PM
I never intended to make the missions challenging tbh

AvanitiaToday at 2:55 PM
It would make sense that this person would go after you at least - you know the thing they do

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.