mirror of
https://github.com/open-goal/jak-project
synced 2026-08-10 19:17:55 -04:00
d/jak2: fix dig-sinking-plats in dig3 (#2519)
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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
@@ -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"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user