Author Topic: Does anyone know the format for the Get/SetThrustMultiplier?  (Read 87 times)

Nicant

  • Map Maker
  • *****
  • Posts: 385
  • It's Finger Licking Good
Does anyone know the format for the Get/SetThrustMultiplier?
« on: March 19, 2017, 09:50:03 pm »
Does anyone know the format for the PRPL commands, GetThrustMultiplier and SetThrustMultiplier? I'm making a custom module that acts like an engine and there appears to be no information about the format of these commands. Any help will be appriciated. :)

kajacx

  • Map Maker
  • *****
  • Posts: 93
  • PRPL custom tools creator
Re: Does anyone know the format for the Get/SetThrustMultiplier?
« Reply #1 on: March 19, 2017, 10:06:12 pm »
Seems pretty standard from what I could tell:

Code: [Select]
<-shipId <-speed SetShipThrustMultiplier
<-shipId GetShipThrustMultiplier ->speed

The speed is float number, where 1 means normal speed, 2 is 2x faster and 0.5 is 2x slower.

GoodMorning

  • Map Maker
  • *****
  • Posts: 2737
  • (Pusillanimous)
Re: Does anyone know the format for the Get/SetThrustMultiplier?
« Reply #2 on: March 19, 2017, 11:22:27 pm »
Would you update the wiki, then? That page is blank.

Nicant, be warned, some attributes don't seem to work for player ships.
To once take a walk in the Creeper - to build a bridge to the stars.

Nicant

  • Map Maker
  • *****
  • Posts: 385
  • It's Finger Licking Good
Re: Does anyone know the format for the Get/SetThrustMultiplier?
« Reply #3 on: March 20, 2017, 04:53:42 pm »
Ah ok thanks everyone! :)