Tweaks (Metroid Prime): Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
rmw>Icefire
rmw>Icefire
Line 431: Line 431:
| '''TranslationMaxSpeed7'''
| '''TranslationMaxSpeed7'''
| 12.5
| 12.5
|-
| 0xC0
| float
| '''NormalGravityAccel'''
| -35.0
|-
| 0xC4
| float
| '''FluidGravityAccel'''
| -10.0
|-
| 0xC8
| float
| '''VerticalJumpAccel'''
| 50.0
|-
| 0xCC
| float
| '''HorizontalJumpAccel'''
| 50.0
|-
| 0xD0
| float
| '''VerticalDoubleJumpAccel'''
| 60.0
|-
| 0xD4
| float
| '''HorizontalDoubleJumpAccel'''
| 60.0
|-
| 0xD8
| float
| '''WaterJumpFactor'''
| 0.37
|-
| 0xDC
| float
| '''WaterBallJumpFactor'''
| 0.37
|-
| 0xE0
| float
| '''LavaJumpFactor'''
| 0.37
|-
| 0xE4
| float
| '''LavaBallJumpFactor'''
| 0.37
|-
| 0xE8
| float
| '''PhazonJumpFactor'''
| 0.37
|-
| 0xEC
| float
| '''PhazonBallJumpFactor'''
| 0.37
|-
| 0xF0
| float
| '''AllowedJumpTime'''
| 0.235
|-
| 0xF4
| float
| '''AllowedDoubleJumpTime'''
| 0.1
|-
| 0xF8
| float
| '''MinDoubleJumpWindow'''
| 0.0
|-
| 0xFC
| float
| '''MaxDoubleJumpWindow'''
| 2.0
|-
| 0x100
| float
| {{unknown|'''Unknown'''}}
| 0.0
|-
|-

Revision as of 13:40, 25 February 2019

The tweaks system allows for easy modification of different game values that would normally be hardcoded. In Metroid Prime, this is handled by the CTWK files located in Tweaks.Pak. The tweaks are loaded on startup. Things that can be modified through the tweaks includes:

  • The amount and type of damage done by each weapon
  • The Hard Mode damage multiplier
  • The field of view
  • The world pak prefix

...and a lot more.

CTWK List

These are all the CTWK files:

File Name
1d180d7c.CTWK Particle
264a4972.CTWK Player
33b3323a.CTWK GunRes
39ad28d3.CTWK CameraBob
3faec012.CTWK PlayerControls2
5ed56350.CTWK Ball
5f24eff8.CTWK SlideShow
6907a32d.CTWK PlayerGun
85ca11e9.CTWK PlayerRes
94c76ecd.CTWK Targeting
953a7c63.CTWK Game
c9954e56.CTWK GuiColors
e66a4f86.CTWK AutoMapper
ed2e48a9.CTWK Gui
f1ed8fd7.CTWK PlayerControls

Game

Offset Type Description Value
0x0 string World pak prefix "Metroid"
0x8 string Unknown "ruin_area22"
0x14 float Field of View 55.0
0x18 bool Unknown true
0x19 bool Unknown false
0x1A bool Unknown true
0x1B bool Disable Splash Screens; Game hard codes this value to false. true
0x1C float Unknown 25.0
0x20 float Press Start Delay 1.0
0x24 float Normal Water Wavecap Intensity 450.0
0x28 float Poison Water Wavecap Intensity 400.0
0x2C float Lava Wavecap Intensity 1750.0
0x30 float Normal Water Ripple Intensity 1.0
0x34 float Poison Water Ripple Intensity 1.2
0x38 float Lava Ripple Intensity 0.5
0x3C float Fluid Environment Bump Scale 0.25
0x40 float Unknown 30.0
0x44 float Unknown 125.0
0x48 float Unknown 150.0
0x4C float Unknown 300.0
0x50 float Hard Mode damage multiplier 1.53
0x54 float Hard Mode weapons multiplier 0.5


Player

Offset Type Description Value
0x0 float MaxTranslationalAcceleration0 35000.0
0x4 float MaxTranslationalAcceleration1 8000.0
0x8 float MaxTranslationalAcceleration2 35000.0
0xC float MaxTranslationalAcceleration3 35000.0
0x10 float MaxTranslationalAcceleration4 20000.0
0x14 float MaxTranslationalAcceleration5 20000.0
0x18 float MaxTranslationalAcceleration6 20000.0
0x1C float MaxTranslationalAcceleration7 20000.0
0x20 float MaxRotationalAcceleration0 14000.0
0x24 float MaxRotationalAcceleration1 14000.0
0x28 float MaxRotationalAcceleration2 14000.0
0x2C float MaxRotationalAcceleration3 14000.0
0x30 float MaxRotationalAcceleration4 14000.0
0x34 float MaxRotationalAcceleration5 14000.0
0x38 float MaxRotationalAcceleration6 14000.0
0x3C float MaxRotationalAcceleration7 14000.0
0x40 float TranslationFriction0 1.0
0x44 float TranslationFriction1 0.75
0x48 float TranslationFriction2 1.0
0x4C float TranslationFriction3 1.0
0x50 float TranslationFriction4 1.0
0x54 float TranslationFriction5 1.0
0x58 float TranslationFriction6 1.0
0x5C float TranslationFriction7 1.0
0x60 float RotationFriction0; Ground Rotation Friction 0.44999999
0x64 float RotationFriction1; Air Rotation Friction 0.44999999
0x68 float RotationFriction2 0.44999999
0x6C float RotationFriction3 0.44999999
0x70 float RotationFriction4 0.44999999
0x74 float RotationFriction5 0.44999999
0x78 float RotationFriction6 0.44999999
0x7C float RotationFriction7 0.44999999
0x80 float RotationMaxSpeed0; Ground Rotation Max Speed 2.5
0x84 float RotationMaxSpeed1; Air Rotation Max Speed 2.5
0x88 float RotationMaxSpeed2 2.5
0x8C float RotationMaxSpeed3 2.5
0x90 float RotationMaxSpeed4 2.5
0x94 float RotationMaxSpeed5 2.5
0x98 float RotationMaxSpeed6 2.5
0x9C float RotationMaxSpeed7 2.5
0xA float TranslationMaxSpeed0; Ground speed limit 16.5
0xA4 float TranslationMaxSpeed1; Air speed limit 16.5
0xA8 float TranslationMaxSpeed2 16.5
0xAC float TranslationMaxSpeed3 16.5
0xB float TranslationMaxSpeed4 12.5
0xB4 float TranslationMaxSpeed5 12.5
0xB8 float TranslationMaxSpeed6 12.5
0xBC float TranslationMaxSpeed7 12.5
0xC0 float NormalGravityAccel -35.0
0xC4 float FluidGravityAccel -10.0
0xC8 float VerticalJumpAccel 50.0
0xCC float HorizontalJumpAccel 50.0
0xD0 float VerticalDoubleJumpAccel 60.0
0xD4 float HorizontalDoubleJumpAccel 60.0
0xD8 float WaterJumpFactor 0.37
0xDC float WaterBallJumpFactor 0.37
0xE0 float LavaJumpFactor 0.37
0xE4 float LavaBallJumpFactor 0.37
0xE8 float PhazonJumpFactor 0.37
0xEC float PhazonBallJumpFactor 0.37
0xF0 float AllowedJumpTime 0.235
0xF4 float AllowedDoubleJumpTime 0.1
0xF8 float MinDoubleJumpWindow 0.0
0xFC float MaxDoubleJumpWindow 2.0
0x100 float Unknown 0.0