Difference between revisions of "Tweaks (Metroid Prime)"

From Retro Modding Wiki
Jump to: navigation, search
m
m
Line 197: Line 197:
 
| 35000.0
 
| 35000.0
 
|-
 
|-
| 0x1
+
| 0x4
 
| float
 
| float
 
| '''MaxTranslationalAcceleration1'''
 
| '''MaxTranslationalAcceleration1'''
| 35000.0
+
| 8000.0
 
|-
 
|-
| 0x2
+
| 0x8
 
| float
 
| float
 
| '''MaxTranslationalAcceleration2'''
 
| '''MaxTranslationalAcceleration2'''
 
| 35000.0
 
| 35000.0
 
|-
 
|-
| 0x3
+
| 0xC
 
| float
 
| float
 
| '''MaxTranslationalAcceleration3'''
 
| '''MaxTranslationalAcceleration3'''
 
| 35000.0
 
| 35000.0
 
|-
 
|-
| 0x4
+
| 0x10
 
| float
 
| float
 
| '''MaxTranslationalAcceleration4'''
 
| '''MaxTranslationalAcceleration4'''
 
| 20000.0
 
| 20000.0
 
|-
 
|-
| 0x5
+
| 0x14
 
| float
 
| float
 
| '''MaxTranslationalAcceleration5'''
 
| '''MaxTranslationalAcceleration5'''
 
| 20000.0
 
| 20000.0
 
|-
 
|-
| 0x6
+
| 0x18
 
| float
 
| float
 
| '''MaxTranslationalAcceleration6'''
 
| '''MaxTranslationalAcceleration6'''
 
| 20000.0
 
| 20000.0
 
|-
 
|-
| 0x7
+
| 0x1C
 
| float
 
| float
 
| '''MaxTranslationalAcceleration7'''
 
| '''MaxTranslationalAcceleration7'''

Revision as of 07:25, 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
0x40 float Unknown 1.0
0x44 float Unknown 0.75
0x48 float Unknown 1.0
0x4C float Unknown 1.0
0x50 float Unknown 1.0
0x54 float Unknown 1.0
0x58 float Unknown 1.0
0x5C float Unknown 1.0
0x60 float Ground Z Rotation slowdown; The closer to Z Rotation Rate Limit the longer it takes camera to stop rotating 0.44999999
0x64 float Air Z Rotation slowdown 0.44999999
0x68 float Unknown 0.44999999
0x6C float Unknown 0.44999999
0x70 float Unknown 0.44999999
0x74 float Unknown 0.44999999
0x78 float Unknown 0.44999999
0x7C float Unknown 0.44999999
0x80 float Ground Z Rotation Rate Limit 2.5
0x84 float Air Z Rotation Rate Limit 2.5
0x88 float Unknown 2.5
0x8C float Unknown 2.5
0x90 float Unknown 2.5
0x94 float Unknown 2.5
0x98 float Unknown 2.5
0x9C float Unknown 2.5
0xA float Ground Forward/Backward Speed Limit 16.5
0xA4 float Air Forward/Backward Speed Limit 16.5
0xA8 float Unknown 16.5
0xAC float Unknown 16.5
0xB float Unknown 12.5
0xB4 float Unknown 12.5
0xB8 float Unknown 12.5
0xBC float Unknown 12.5