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 ... 14 15 [16] 17 18 ... 706

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

LazyWizard

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1363
    • View Profile
    • GitHub Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #225 on: February 05, 2013, 02:29:44 PM »

A correction to this. I just accidently started Uomoz's Corvus 17 with my Frieghter Start mod and it worked. I am not sure if it is a coincidence, due to Uomoz's having the same name as the original file in starsector-core and thus overwriting it, and mine inherits from it (so it ends up inheriting Uomoz's?).

Yes. Your code extends CharacterCreationPluginImpl, and Uomoz's Corvus overwrites the vanilla version of that file, so your code would be Uomoz's character creation plugin plus whatever changes you made on top of it.

Edit: if your plugin was chosen, that is; otherwise it would just be Uomoz's Corvus chargen. I don't know exactly how loading priority is handled, but I don't think you can guarantee your plugin would be the one picked.
« Last Edit: February 05, 2013, 02:41:32 PM by LazyWizard »
Logged

gruntmaster1

  • Ensign
  • *
  • Posts: 31
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #226 on: February 05, 2013, 03:17:11 PM »

A correction to this. I just accidently started Uomoz's Corvus 17 with my Frieghter Start mod and it worked. I am not sure if it is a coincidence, due to Uomoz's having the same name as the original file in starsector-core and thus overwriting it, and mine inherits from it (so it ends up inheriting Uomoz's?).

Yes. Your code extends CharacterCreationPluginImpl, and Uomoz's Corvus overwrites the vanilla version of that file, so your code would be Uomoz's character creation plugin plus whatever changes you made on top of it.

Edit: if your plugin was chosen, that is; otherwise it would just be Uomoz's Corvus chargen. I don't know exactly how loading priority is handled, but I don't think you can guarantee your plugin would be the one picked.

Based on the log, loading priority is by gui name. 
Logged

silentstormpt

  • Admiral
  • *****
  • Posts: 1060
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #227 on: February 07, 2013, 10:52:55 AM »

What is the amount of "pushing power" the impact has on the weapons csv, based on the target mass the weapon hits.

For example the projectile has 500 impact, the target hit by it has 100 mass, what the speed this target ship will be pushed back by the impact
Logged

Romeo_One

  • Captain
  • ****
  • Posts: 393
  • "Let me do the german dance for you..."
    • View Profile
    • Rejection - The Fight for Unity
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #228 on: February 07, 2013, 11:09:13 AM »

I thought that impact didn't work the way it was intended?
Logged

silentstormpt

  • Admiral
  • *****
  • Posts: 1060
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #229 on: February 07, 2013, 11:13:47 AM »

I thought that impact didn't work the way it was intended?

It does, Test out a graviton beam on a fighter, it has 10 on the impact
Logged

Alex

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

"impact" only works for beams. It's kind of a holdover - it's nice enough for the Graviton Beam, which is why it's still in the game, but really didn't work well when applied to other weapons. Just didn't feel right.
Logged

silentstormpt

  • Admiral
  • *****
  • Posts: 1060
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #231 on: February 07, 2013, 03:19:30 PM »

"impact" only works for beams. It's kind of a holdover - it's nice enough for the Graviton Beam, which is why it's still in the game, but really didn't work well when applied to other weapons. Just didn't feel right.

Quite what i need, for the Star Trek, thats why i asked, most of its weapons are beams
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #232 on: February 07, 2013, 03:51:07 PM »

I can't give you an exact answer as to the "pushing power". Just have to experiment with it until it feels right. It's in the same units and scale as mass, though.
Logged

silentstormpt

  • Admiral
  • *****
  • Posts: 1060
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #233 on: February 07, 2013, 05:24:15 PM »

I can't give you an exact answer as to the "pushing power". Just have to experiment with it until it feels right. It's in the same units and scale as mass, though.

So if we we're using a beam with 100 impact on a ship with 100 mass, it would "stop" moving?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #234 on: February 07, 2013, 05:36:53 PM »

Probably not. It ends up applying a force opposite at the point of impact, but the details are quite fiddly.
Logged

Uomoz

  • Admiral
  • *****
  • Posts: 2663
  • 'womo'dz
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #235 on: February 08, 2013, 06:24:59 PM »

How to forcefully despawn\destroy a fleet? If I call a go_to_location_and_despawn they keep on roaming around following enemy fleets.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #236 on: February 08, 2013, 07:31:26 PM »

Hmm. Not explicitly possible at the moment, but how about creating a location to despawn at that's really far away, as in way off the map, and then setting the fleet's location to those coordinates? As long as it's out of the range of anything to distract it, it will probably work.
Logged

Uomoz

  • Admiral
  • *****
  • Posts: 2663
  • 'womo'dz
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #237 on: February 08, 2013, 07:59:55 PM »

Yeah but it gets distracted while it stays in the center of the system roaming around. It doesen't even start to move towards the despawn location. Is there any way to fleet.setlocation in a different method then the one used to spawn the fleet? is there any way to manipulate a fleet position after it's being created, like using completion scripts?
Logged

WhoopieMonster

  • Ensign
  • *
  • Posts: 39
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #238 on: February 09, 2013, 02:47:47 AM »

I've search but can't seem to find anything.

How would I go about adding a description to a ship, so that it would show up in the codex?
Logged

PCCL

  • Admiral
  • *****
  • Posts: 2016
  • still gunnyfreak
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #239 on: February 09, 2013, 03:25:37 AM »

data/strings/descriptions.csv

look for the one in the core for examples on format
Logged
mmm.... tartiflette
Pages: 1 ... 14 15 [16] 17 18 ... 706