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 ... 3 4 [5] 6 7 ... 706

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

maximilianyuen

  • Captain
  • ****
  • Posts: 358
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #60 on: December 29, 2012, 09:09:39 PM »

another question:

"explosionSpec":{"duration":2f,

what's the unit of f?  frame?
Logged
Fleet construction in progress.

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #61 on: December 30, 2012, 06:10:31 AM »

another question:

"explosionSpec":{"duration":2f,

what's the unit of f?  frame?

Duration is measured in seconds.

f just means the number's data type is a float (in short, a decimal; in long, it's complicated ;)) as opposed to an integer (which can only accept whole numbers).
Logged

silentstormpt

  • Admiral
  • *****
  • Posts: 1060
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #62 on: December 30, 2012, 06:42:05 AM »

another question:

"explosionSpec":{"duration":2f,

what's the unit of f?  frame?

Duration is measured in seconds.

f just means the number's data type is a float (in short, a decimal; in long, it's complicated ;)) as opposed to an integer (which can only accept whole numbers).

For example Pi is 3.14....... you only want the first 2 decimals so you make it a type float becoming 3.14f
Logged

maximilianyuen

  • Captain
  • ****
  • Posts: 358
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #63 on: December 30, 2012, 06:42:43 AM »

another question:

"explosionSpec":{"duration":2f,

what's the unit of f?  frame?

Duration is measured in seconds.

f just means the number's data type is a float (in short, a decimal; in long, it's complicated ;)) as opposed to an integer (which can only accept whole numbers).

thanks:)
Logged
Fleet construction in progress.

maximilianyuen

  • Captain
  • ****
  • Posts: 358
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #64 on: December 30, 2012, 06:44:49 AM »

another question:

"explosionSpec":{"duration":2f,

what's the unit of f?  frame?

Duration is measured in seconds.

f just means the number's data type is a float (in short, a decimal; in long, it's complicated ;)) as opposed to an integer (which can only accept whole numbers).

For example Pi is 3.14....... you only want the first 2 decimals so you make it a type float becoming 3.14f

i guess all i can handle for now is the number is measured in second lol
the practical system is a bit hard to measure directly with visual hence the question :)
Logged
Fleet construction in progress.

maximilianyuen

  • Captain
  • ****
  • Posts: 358
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #65 on: January 03, 2013, 06:17:16 AM »

New problem:

auto pilot/ AI won't fire my new missile weapon.

It has unlimited ammo (over time), added a DO_NOT_AIM, USE_VS_FRIGATE tag in the csv, and a range of 1500

what makes the AI think this weapon is useless?
Logged
Fleet construction in progress.

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #66 on: January 03, 2013, 09:36:32 AM »

New problem:

auto pilot/ AI won't fire my new missile weapon.

It has unlimited ammo (over time), added a DO_NOT_AIM, USE_VS_FRIGATE tag in the csv, and a range of 1500

what makes the AI think this weapon is useless?

I believe missiles need at least 30 ammo to autofire.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #67 on: January 03, 2013, 09:44:25 AM »

Also: if missile ammo is <= 5, it'll wait to fire it until it's a good time to - i.e, the missile is high explosive and shields are down. It doesn't take regeneration into account for this.
Logged

Thule

  • Admiral
  • *****
  • Posts: 580
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #68 on: January 03, 2013, 12:53:14 PM »

1. It seems i have forgotten the location where i specifiy what background images will be used ingame.
   
2. I specified in the faction file
Code
"shipNameSources":{
"THULE":1,
},
but the game will randomly pick a name, not just from the specified one.
    What could be the problem?
Logged

MrDavidoff

  • Captain
  • ****
  • Posts: 398
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #69 on: January 03, 2013, 01:11:02 PM »

Something I want...




What I get...




... but why?
Logged

TheHappyFace

  • Admiral
  • *****
  • Posts: 1168
  • The critic
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #70 on: January 04, 2013, 02:51:19 AM »

did you use correct extension? not something like a photoshop file? something it cant read?
Logged
Fractalsoftworks limited edition ban hammer.

MrDavidoff

  • Captain
  • ****
  • Posts: 398
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #71 on: January 04, 2013, 07:30:28 AM »

did you use correct extension? not something like a photoshop file? something it cant read?


First thing I checked and its a .png  :-\  must be something I accidently did in PS,
however I dunno what can cause this.


Edit - got it, had wrong bit levels. All is good now, thank you for your time :)

Spoiler
[close]
« Last Edit: January 04, 2013, 10:26:57 AM by MrDavidoff »
Logged

maximilianyuen

  • Captain
  • ****
  • Posts: 358
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #72 on: January 05, 2013, 06:56:02 AM »


I believe missiles need at least 30 ammo to autofire.

Also: if missile ammo is <= 5, it'll wait to fire it until it's a good time to - i.e, the missile is high explosive and shields are down. It doesn't take regeneration into account for this.

ah....thanks for the info ;D
Logged
Fleet construction in progress.

maximilianyuen

  • Captain
  • ****
  • Posts: 358
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #73 on: January 05, 2013, 06:56:39 AM »

did you use correct extension? not something like a photoshop file? something it cant read?


First thing I checked and its a .png  :-\  must be something I accidently did in PS,
however I dunno what can cause this.


Edit - got it, had wrong bit levels. All is good now, thank you for your time :)

Spoiler
[close]

yes, the game only eat 8 bit graphic, 16bit is a no go
Logged
Fleet construction in progress.

silentstormpt

  • Admiral
  • *****
  • Posts: 1060
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #74 on: January 05, 2013, 07:02:48 AM »

Not only that, its now StarSector so you'll need to remake it anyway  :D
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 706