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

Nicant

  • Map Maker
  • *****
  • Posts: 299
  • CEO of Ships Co.
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

  • Jr. Member
  • **
  • Posts: 63
  • Student of Informatics at a university
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: 1966
  • (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.
At the end of the game, the king and the pawn go into the same box.

Nicant

  • Map Maker
  • *****
  • Posts: 299
  • CEO of Ships Co.
Re: Does anyone know the format for the Get/SetThrustMultiplier?
« Reply #3 on: March 20, 2017, 04:53:42 pm »
Ah ok thanks everyone! :)