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: Simulator Enhancements (03/13/24)

Pages: 1 ... 563 564 [565] 566 567 ... 706

Author Topic: Misc modding questions that are too minor to warrant their own thread  (Read 1700315 times)

Oni

  • Captain
  • ****
  • Posts: 383
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8460 on: January 31, 2022, 01:55:54 PM »

Quick question, do bounty contracts take distance from the core into account as well as fleet strength when calculating the job's pay?

It's kinda weird asking my contact for an "easy" bounty, and seeing it on the far edge of the outer systems with only a 30,000 payout. I'd spend more on fuel and ship maintenance than I'd get doing it, so no point unless I happened to be doing something else in the area.
Logged

Amoebka

  • Admiral
  • *****
  • Posts: 1318
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8461 on: February 01, 2022, 02:47:00 AM »

Is there a way to use colored text in hullmods.csv? I've noticed that if I use one of the faction names as "design type", it will automatically write it in that faction's color, but any other generic entry will be default UI color. How do I define custom design types that have their own colors associated with them?
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3010
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8462 on: February 01, 2022, 03:16:59 AM »

Code
"designTypeColors":{
"Roider Union":[242,208,141,255],
},

in settings.json
Logged

Amoebka

  • Admiral
  • *****
  • Posts: 1318
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8463 on: February 01, 2022, 03:26:47 AM »

Thank you, this was probably the last place I expected it to be.  ???
Logged

Great Wound

  • Captain
  • ****
  • Posts: 268
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8464 on: February 01, 2022, 08:09:29 AM »

Is there a complete list of elements for .skin files anywhere?

I've found a few of the hidden ones e.g. "fighterBays": and "addHints":, I'm sure there must be more...

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8465 on: February 01, 2022, 08:42:40 AM »

Is there a complete list of elements for .skin files anywhere?

I've found a few of the hidden ones e.g. "fighterBays": and "addHints":, I'm sure there must be more...

Not to my knowledge - maybe on the wiki? Otherwise, your best bet would be looking through existing .skin files.
Logged

Great Wound

  • Captain
  • ****
  • Posts: 268
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8466 on: February 01, 2022, 08:56:12 AM »

Not to my knowledge - maybe on the wiki? Otherwise, your best bet would be looking through existing .skin files.

No luck, wiki is incomplete. Same with vanilla .skins. There might be a complete example across mods but it's impractical to dig through every mod for an example.

Trial and error it is  :D

SafariJohn

  • Admiral
  • *****
  • Posts: 3010
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8467 on: February 01, 2022, 07:32:00 PM »

I got an example skin I made put up on the wiki https://starsector.fandom.com/wiki/.skin_File_Overview#Skin_file_example

Take a look, Great Wound.
Logged

Great Wound

  • Captain
  • ****
  • Posts: 268
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8468 on: February 01, 2022, 07:42:22 PM »

I got an example skin I made put up on the wiki https://starsector.fandom.com/wiki/.skin_File_Overview#Skin_file_example

Take a look, Great Wound.

Thanks. here's a couple more you're missing:
   "suppliesToRecover":40,
   "suppliesPerMonth":40,

SafariJohn

  • Admiral
  • *****
  • Posts: 3010
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8469 on: February 01, 2022, 07:47:08 PM »

Thanks, those and probably others have been added since I made that.


BTW, Alex, do you remember where the heck you posted the IO source code I made that from? I can't find it.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8470 on: February 02, 2022, 08:36:57 AM »

BTW, Alex, do you remember where the heck you posted the IO source code I made that from? I can't find it.

I don't even remember posting it, so, no :)
Logged

Juan-Dela_Cruz

  • Ensign
  • *
  • Posts: 10
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8471 on: February 02, 2022, 06:11:23 PM »

I am trying to replace a ship's bounds and I've tried using "core_clearArray", but it doesn't seem to work. Am I going about this wrong? 

 "bounds": [
    core_clearArray,
    58, 45,
    75, 33,
    75, 21,
    85, 8,
    85, -8,
    75, -21,
    75, -33,
    58, -45,
    -20, -45,
    -20, -45,
    -38, -28,
    -58, -28,
    -58, 28,
    -38, 28,
    -20, 45
  ]
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8472 on: February 02, 2022, 06:45:07 PM »

Hmm - offhand, that looks right to me.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8473 on: February 02, 2022, 07:24:11 PM »

Doesn't work as in does nothing, or straight-up crashes? (I recall getting the latter issue trying to use clearArray in a settings.json array in a previous version, maybe because I was entering it as a string literal)
Logged

Juan-Dela_Cruz

  • Ensign
  • *
  • Posts: 10
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #8474 on: February 03, 2022, 04:35:43 AM »

It just crashes, says that it is not a number. I've even tried using quotation marks. didn't work.
« Last Edit: February 03, 2022, 05:51:52 AM by Juan-Dela_Cruz »
Logged
Pages: 1 ... 563 564 [565] 566 567 ... 706