Author Topic: Questions Not Worth Their Own Thread: C# Edition  (Read 355692 times)

El Pip, Kaiser and 3 Guests are viewing this topic.

Offline LuuBluum

  • Warrant Officer, Class 2
  • ****
  • L
  • Posts: 61
  • Thanked: 12 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2280 on: November 24, 2021, 12:07:04 AM »
Is it possible to rename the in-game elements? I'd presume fiddling with AuroraPatch could make that work, but I wouldn't know where to start with that.
 

Offline dsedrez

  • Warrant Officer, Class 2
  • ****
  • d
  • Posts: 64
  • Thanked: 16 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2281 on: November 24, 2021, 01:27:48 PM »
Quote from: nuclearslurpee link=topic=11545. msg156995#msg156995 date=1637688604
Quote from: alex_brunius link=topic=11545. msg156990#msg156990 date=1637688135
I'm guessing it's the same deal with Wealth? Can't SM Edit it anywhere?

Testing out a multiple empires on Earth start with trading going on and it's kind of tricky to do without being able to pay eachother ::)

Not AFAIK because wealth is an empire-wide value.  I suggest modifying the FCT_Race table and not telling Steve that you did.   ;)

It doesn't work: I've tried it in one game, editing the current wealth value in the BD, but the value never stayed, it somehow reverted to what it would have been, and ignored the value I'd added.  I don't know if there's some way to do it, that'd require more changes.
 

Offline nuclearslurpee

  • Admiral of the Fleet
  • ***********
  • Posts: 2976
  • Thanked: 2238 times
  • Radioactive frozen beverage.
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2282 on: November 24, 2021, 11:02:00 PM »
Quote from: nuclearslurpee link=topic=11545. msg156995#msg156995 date=1637688604
Quote from: alex_brunius link=topic=11545. msg156990#msg156990 date=1637688135
I'm guessing it's the same deal with Wealth? Can't SM Edit it anywhere?

Testing out a multiple empires on Earth start with trading going on and it's kind of tricky to do without being able to pay eachother ::)

Not AFAIK because wealth is an empire-wide value.  I suggest modifying the FCT_Race table and not telling Steve that you did.   ;)

It doesn't work: I've tried it in one game, editing the current wealth value in the BD, but the value never stayed, it somehow reverted to what it would have been, and ignored the value I'd added.  I don't know if there's some way to do it, that'd require more changes.

What DB viewer/editor are you using? Some might default to read-only or have some other less intuitive method to save changes.
 

Offline dsedrez

  • Warrant Officer, Class 2
  • ****
  • d
  • Posts: 64
  • Thanked: 16 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2283 on: November 25, 2021, 07:07:51 AM »
Quote from: nuclearslurpee link=topic=11545. msg157049#msg157049 date=1637816520

What DB viewer/editor are you using? Some might default to read-only or have some other less intuitive method to save changes.

SQLite.  But I committed the changes, saved the DB, checked it was saved. . .  and somehow it didn't work.  Next construction cycle and it was back where it was before. 

It's not the first time I've taken to editing the DB (once I found how to do it and got used to the Aurora DB structure).  Though it's been a few months already.  I'll try it again, it doesn't hurt to check.
I like RPing a lot, and sometimes changing some detail helps.  Though the game I'm preparing right now is the first time I'll try more extensive changes (attempting to make very low tech empires more effective and easier to play).

 

Offline dsedrez

  • Warrant Officer, Class 2
  • ****
  • d
  • Posts: 64
  • Thanked: 16 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2284 on: November 25, 2021, 07:11:21 AM »
Is it possible to rename the in-game elements? I'd presume fiddling with AuroraPatch could make that work, but I wouldn't know where to start with that.

I'm doing that right now, but you must edit the DB for that. I changed Meson cannons for Subspace Mortars - a story idea I had that makes them way more interesting for RP purposes. And following some suggestions here I swapped Particle beams to kinetic research field (though I haven't changed their names yet).
 
The following users thanked this post: LuuBluum

Offline nuclearslurpee

  • Admiral of the Fleet
  • ***********
  • Posts: 2976
  • Thanked: 2238 times
  • Radioactive frozen beverage.
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2285 on: November 25, 2021, 09:42:20 AM »
Quote from: nuclearslurpee link=topic=11545. msg157049#msg157049 date=1637816520

What DB viewer/editor are you using? Some might default to read-only or have some other less intuitive method to save changes.

SQLite.  But I committed the changes, saved the DB, checked it was saved. . .  and somehow it didn't work.  Next construction cycle and it was back where it was before. 

It's not the first time I've taken to editing the DB (once I found how to do it and got used to the Aurora DB structure).  Though it's been a few months already.  I'll try it again, it doesn't hurt to check.
I like RPing a lot, and sometimes changing some detail helps.  Though the game I'm preparing right now is the first time I'll try more extensive changes (attempting to make very low tech empires more effective and easier to play).

In order to edit the DB you need to close the game, make your changes in an editor and save them, and then reload the game. Changes in a DB editor will not modify the game while it is running as the game does not read from the DB except when loading the save initially.
 

Offline LuuBluum

  • Warrant Officer, Class 2
  • ****
  • L
  • Posts: 61
  • Thanked: 12 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2286 on: November 25, 2021, 01:51:28 PM »
Is it possible to rename the in-game elements? I'd presume fiddling with AuroraPatch could make that work, but I wouldn't know where to start with that.

I'm doing that right now, but you must edit the DB for that. I changed Meson cannons for Subspace Mortars - a story idea I had that makes them way more interesting for RP purposes. And following some suggestions here I swapped Particle beams to kinetic research field (though I haven't changed their names yet).
Oh, good to know! Well, mild DB fiddling was expected anyway, since I wanna make a couple of research tech cost changes (make fighters cheaper to research, since my campaign goal is a multifaction Earth conventional scenario and there's going to be a lot of power posturing around Earth's space... space. What's the equivalent term to airspace in space? Spacespace? It can't be, right?) and might have to do other mild adjustments of stuff to get the campaign at the starting point that I want. That'll all be in waiting for 2.0, though.
 

Offline alex_brunius

  • Vice Admiral
  • **********
  • Posts: 1240
  • Thanked: 153 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2287 on: November 25, 2021, 02:55:46 PM »
since my campaign goal is a multifaction Earth conventional scenario and there's going to be a lot of power posturing around Earth's space... space. What's the equivalent term to airspace in space? Spacespace? It can't be, right?)
Maybe Earth orbit?
 

Offline TheTalkingMeowth

  • Captain
  • **********
  • T
  • Posts: 494
  • Thanked: 203 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
    2022 Supporter 2022 Supporter : Donate for 2022
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2288 on: November 25, 2021, 03:06:21 PM »
since my campaign goal is a multifaction Earth conventional scenario and there's going to be a lot of power posturing around Earth's space... space. What's the equivalent term to airspace in space? Spacespace? It can't be, right?)
Maybe Earth orbit?

"cislunar space" refers to the volume closer to the Earth than the Moon is.
 

Offline LuuBluum

  • Warrant Officer, Class 2
  • ****
  • L
  • Posts: 61
  • Thanked: 12 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2289 on: November 25, 2021, 07:26:53 PM »
I suppose, to use technical standards, you have LEO, MEO, and HEO: low, medium, and high-Earth orbit. LEO is defined as below an altitude of a third of the Earth's radius above sea level (so, about 2000km and below), HEO is anything above geosynchronous orbit, and MEO is everything in-between. Decoupling the concepts from Earth (since tidal lock makes orbital period moot relative to planetary rotation as a metric), I guess you could define similar concepts as... low orbit is a third of the planetary radius above the surface of the planet, high orbit is greater than 5x the planet's radius, and medium orbit is everything in-between.

Then you can just cap high orbit at, like... 50x the planet's radius, since the Moon is about 30x out from Earth. Seems like reasonable boundaries to me. Low-orbit would be the usage of ground-support fighters (for which my campaign will no doubt have many), medium-orbit would be having a ship dock at a planet (construction range), and high orbit would be simply being near a planet.

Definitely going to be an interesting campaign, as soon as the 2.0 update rolls around.
 

Offline dsedrez

  • Warrant Officer, Class 2
  • ****
  • d
  • Posts: 64
  • Thanked: 16 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2290 on: November 25, 2021, 09:39:51 PM »
Is it possible to rename the in-game elements? I'd presume fiddling with AuroraPatch could make that work, but I wouldn't know where to start with that.

I'm doing that right now, but you must edit the DB for that. I changed Meson cannons for Subspace Mortars - a story idea I had that makes them way more interesting for RP purposes. And following some suggestions here I swapped Particle beams to kinetic research field (though I haven't changed their names yet).
Oh, good to know! Well, mild DB fiddling was expected anyway, since I wanna make a couple of research tech cost changes (make fighters cheaper to research, since my campaign goal is a multifaction Earth conventional scenario and there's going to be a lot of power posturing around Earth's space... space. What's the equivalent term to airspace in space? Spacespace? It can't be, right?) and might have to do other mild adjustments of stuff to get the campaign at the starting point that I want. That'll all be in waiting for 2.0, though.

It's a bit involved changing names in the DB though. If all you want to do is change a component's name, there's a table for that. If you want to change a research tech or field, well, it's more complicated, and may be risky.
 
The following users thanked this post: LuuBluum

Offline LuuBluum

  • Warrant Officer, Class 2
  • ****
  • L
  • Posts: 61
  • Thanked: 12 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2291 on: November 25, 2021, 09:46:13 PM »
Is it possible to rename the in-game elements? I'd presume fiddling with AuroraPatch could make that work, but I wouldn't know where to start with that.

I'm doing that right now, but you must edit the DB for that. I changed Meson cannons for Subspace Mortars - a story idea I had that makes them way more interesting for RP purposes. And following some suggestions here I swapped Particle beams to kinetic research field (though I haven't changed their names yet).
Oh, good to know! Well, mild DB fiddling was expected anyway, since I wanna make a couple of research tech cost changes (make fighters cheaper to research, since my campaign goal is a multifaction Earth conventional scenario and there's going to be a lot of power posturing around Earth's space... space. What's the equivalent term to airspace in space? Spacespace? It can't be, right?) and might have to do other mild adjustments of stuff to get the campaign at the starting point that I want. That'll all be in waiting for 2.0, though.

It's a bit involved changing names in the DB though. If all you want to do is change a component's name, there's a table for that. If you want to change a research tech or field, well, it's more complicated, and may be risky.
Ah, I see. That might complicate matters, then. Well, no big deal as long as for my write-up of everything I remain consistent. I can only imagine the potential things that would break if I outright changed the name of a mineral!
 

Offline nakorkren

  • Lt. Commander
  • ********
  • n
  • Posts: 217
  • Thanked: 194 times
  • Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2292 on: November 25, 2021, 09:56:09 PM »
Can you tractor enemy ships? From and RP perspective I would LOVE to be able to use fast, gun-less, heavily armored "catcher" ships to hold the enemy down while I bring in slower ships with big guns to pound them.

This would also potentially open up new tactics. It would also be useful if the tug could hold the enemy ship fixed (or at least oppose their motion to make them slower), reducing their ability to dodge laser/missile fire.
 

Offline nuclearslurpee

  • Admiral of the Fleet
  • ***********
  • Posts: 2976
  • Thanked: 2238 times
  • Radioactive frozen beverage.
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2293 on: November 25, 2021, 09:58:16 PM »
Ah, I see. That might complicate matters, then. Well, no big deal as long as for my write-up of everything I remain consistent. I can only imagine the potential things that would break if I outright changed the name of a mineral!

Changing the name of something in the DB should never cause a problem (take this with a massive grain of salt at your own risk!!). In the DB, everything is referenced by ID numbers, the actual string values for various names are not referenced. If you change the name of "Mineral #1" from Duranium to Durasteel for instance there should not be anything in the DB that cares.

Again, grain of salt, at your own risk, etc. etc. because the DB is a complex and confusing beast which often only appears to follow any semblance of rules.  ;)

Can you tractor enemy ships? From and RP perspective I would LOVE to be able to use fast, gun-less, heavily armored "catcher" ships to hold the enemy down while I bring in slower ships with big guns to pound them.

This would also potentially open up new tactics. It would also be useful if the tug could hold the enemy ship fixed (or at least oppose their motion to make them slower), reducing their ability to dodge laser/missile fire.

Nope.
 
The following users thanked this post: nakorkren, dsedrez, LuuBluum

Offline dsedrez

  • Warrant Officer, Class 2
  • ****
  • d
  • Posts: 64
  • Thanked: 16 times
Re: Questions Not Worth Their Own Thread: C# Edition
« Reply #2294 on: November 25, 2021, 10:17:09 PM »

Changing the name of something in the DB should never cause a problem (take this with a massive grain of salt at your own risk!!). In the DB, everything is referenced by ID numbers, the actual string values for various names are not referenced. If you change the name of "Mineral #1" from Duranium to Durasteel for instance there should not be anything in the DB that cares.

Again, grain of salt, at your own risk, etc. etc. because the DB is a complex and confusing beast which often only appears to follow any semblance of rules.  ;)


If you've found where in the DB are the names of the minerals, please tell me, I did look and I never found them. BTW I'm looking for the place where's the list of names used for newly generated species, and I haven't found it either...

On changing the names, what I meant is that for tech names, you'll need to change it in multiple tables for it to work. Even then, changing the name of a weapon tech (and probably any user-specified component), it *won't change* the generated component's name when you try to design it. So you have to write it in full every time, and it gets boring. Also, if there's a way to change the name of the group where your components end up in the ship design window, I haven't found it yet. It's twice annoying to look for my newly-designed and named subspace mortars, when I forget they must be under "mesons" ugh...