d/jak2: fix dig-sinking-plats in dig3 (#2519)

This commit is contained in:
Tyler Wilding
2023-04-17 20:20:54 -05:00
committed by GitHub
parent 9ba86c8b6a
commit 138b1729ad
3 changed files with 30 additions and 4 deletions
+1 -1
View File
@@ -36704,7 +36704,7 @@
)
)
(define-extern *dig-sinking-platform-constants* rigid-body-object-constants)
(define-extern *dig-sinking-platform-constants* rigid-body-platform-constants)
(define-extern *dig-log-button-infos* (array dig-log-button-info))
(define-extern *dig-log-heights* (inline-array vector))
(define-extern dig-log-event-handler (function process int symbol event-message-block object :behavior dig-log))
+14 -1
View File
@@ -65,7 +65,7 @@
(none)
)
(define *dig-sinking-platform-constants* (new 'static 'rigid-body-object-constants
(define *dig-sinking-platform-constants* (new 'static 'rigid-body-platform-constants
:info (new 'static 'rigid-body-info
:mass 4.0
:inv-mass 0.25
@@ -82,6 +82,19 @@
:attack-force-scale 2.0
)
:name '*dig-sinking-platform-constants*
:drag-factor 2.0
:buoyancy-factor 1.2
:max-buoyancy-depth (meters 2)
:player-weight (meters 80)
:player-bonk-factor 0.5
:player-dive-factor 1.0
:player-force-distance (meters 30)
:player-force-clamp (meters 1000000)
:player-force-timeout #x1e
:explosion-force (meters 1000)
:control-point-count 5
:platform #t
:sound-name "mud-plat"
)
)
+15 -2
View File
@@ -85,8 +85,8 @@
(none)
)
;; definition for symbol *dig-sinking-platform-constants*, type rigid-body-object-constants
(define *dig-sinking-platform-constants* (new 'static 'rigid-body-object-constants
;; definition for symbol *dig-sinking-platform-constants*, type rigid-body-platform-constants
(define *dig-sinking-platform-constants* (new 'static 'rigid-body-platform-constants
:info (new 'static 'rigid-body-info
:mass 4.0
:inv-mass 0.25
@@ -103,6 +103,19 @@
:attack-force-scale 2.0
)
:name '*dig-sinking-platform-constants*
:drag-factor 2.0
:buoyancy-factor 1.2
:max-buoyancy-depth (meters 2)
:player-weight (meters 80)
:player-bonk-factor 0.5
:player-dive-factor 1.0
:player-force-distance (meters 30)
:player-force-clamp (meters 1000000)
:player-force-timeout #x1e
:explosion-force (meters 1000)
:control-point-count 5
:platform #t
:sound-name "mud-plat"
)
)