Profile image

Some more cool dev console codes

5,577 Korzalerke2147483647  2.3 years ago

Alternate teleport codes
>>AircraftScript.set_Position 0,0,0 (seems to be a bit behind the plane? idk)
>>AircraftScript.set_GlobalPosition 0,0,0 (uses global coordinates)

Display CoM in-flight
>>AircraftScript.set_DrawCenterOfMass true (set to false to disable)

Display other circle thing idk what it is
>>AircraftScript.set_DrawAerodynamicCenter true (set to false to disable)

Change fuel quantity
>>AircraftScript.GiveFuel 0 (in liters, negative numbers remove fuel)

Change velocity
>>AircraftScript.set_AirSpeed 0 (in m/s, makes the plane move at the set speed in the direction it's facing)
>>AircraftScript.SetVelocity 0,0,0 true (in m/s, the numbers are x,y,z coordinates, accepts negative values, the boolean at the end is required but seems to not matter if it's true or false)

Make the game dark at daytime
>>Light.set_enabled false (set to true to reverse)

Raise the water level
/Water>Transform.Translate 0,10,0 World (in meters, negative numbers lower it, change the 10 to whatever you want)

Delete the sky
//SkyDome_Low(Clone).SetActive false (set to true to reverse)

Delete the water
/Water.SetActive false (set to true to reverse)

Delete the dev console
/SimplePlanesDevConsole.SetActive false (you'll have to restart the game lol)

Delete YOURSELF!
/AircraftContainer.SetActive false (set to true to reverse)