Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Anubis-class Cruiser (12/20/24)

Author Topic: Modding question  (Read 700 times)

greenspade

  • Ensign
  • *
  • Posts: 20
    • View Profile
Modding question
« on: June 19, 2022, 05:17:18 PM »

I'm seeing alot of information and endless player mods around ship spirites, classes and how to properly setup ships in general to be added to the game as a mod - I assume this is why the mass majority of mods are people just making new spirites/factions/ships?

My question is; how does one go about creating questlines in the game.

I'm seeing next to nothing for actual line or branching questlines in the game beyond the heg or academy, so it feels super empty out there...

I'd be interested in creating some more quests; but I'm not seeing a map editor like back in the day playing starcraft 1, so how hard or what would the process be to actually try to create some quests in game that differ from the rest?

I would need to be able to:
-edit lines of text that trigger the ability to trigger other lines of text from that npc or another location.
-enable npcs in spaceport like archon or CEO to give quests instead of auto closing coms.
-spawn ships as part of the quest
-spawn items in random location as part of quest
-detect item is in players inventory and if true trigger the ability to trigger other lines of text from that npc or another location.
-spawn fencing simulator that triggers the ability to trigger other lines of text from that npc or another location.
-spawn npc that may or may not exist in game yet


I think with the ability to do these few things I could make a rather complex and interesting questline or branching questline.
Logged

greenspade

  • Ensign
  • *
  • Posts: 20
    • View Profile
Re: Modding question
« Reply #1 on: June 19, 2022, 05:20:21 PM »

Alternatively if someone knows how to do this and it seems too complex to do due to lack of map editor like program - I would be willing to work with someone on this project and create all content if someone can help me actually put the created content into the game as we envision it.
Logged

greenspade

  • Ensign
  • *
  • Posts: 20
    • View Profile
Re: Modding question
« Reply #2 on: June 20, 2022, 02:07:51 AM »

Okay I got curious, does anyone know how the file system is setup, like what files in particular have the current academy questline in it? I figure if I can look at the code around that it will give me a better idea of what would be required to add to other nps, possibly copy pasta with some changes of names may be possible? Just a thought, has anyone tried anything like this?
Logged

greenspade

  • Ensign
  • *
  • Posts: 20
    • View Profile
Re: Modding question
« Reply #3 on: June 20, 2022, 02:11:43 AM »

I've found this page for resource but I'm only seeing mission creation for tools or advise and.. the "mission" is a totally different gamemode, I'm looking to add additional questlines to the main story through a mod.
https://fractalsoftworks.com/forum/index.php?topic=633.0


Okay I found this and it looks like this may be what I'm looking for?
https://fractalsoftworks.com/forum/index.php?topic=13976.0

I'm seeing questlines and stuff here so in theory I could just add to this and copy learn from the already existing quest paths in order to mimic my own alternative quest paths.

I'ma give this a go and report back if I get anywhere.

Obviously anyone who actually knows what they are doing would be very welcome here, my experience editing this game is obviously limited.
« Last Edit: June 20, 2022, 02:16:57 AM by greenspade »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 25044
    • View Profile
Re: Modding question
« Reply #4 on: June 20, 2022, 08:45:43 AM »

You might want to also look at this:
https://fractalsoftworks.com/forum/index.php?topic=8355.0
It's old but still a good overview of how rule-scripting works; I think that'd give you a good idea for what the tool you've found does. It'd be hard to use it without that as background knowledge.

To answer the question from your PM, there are a bunch of moving parts there - it's not particularly *easy*, but I don't think it's that *hard*, either. Mainly putting together story missions is just a lot of work for reasons that don't have a lot to do with code or data format etc.
Logged