[jak3] Minimap texture fix (#3465)

This commit is contained in:
water111
2024-04-13 09:47:23 -04:00
committed by GitHub
parent 36f1592b90
commit dd4f255260
26 changed files with 98 additions and 73 deletions
+2 -2
View File
@@ -10840,9 +10840,9 @@
:flag-assert #x1400001430
(:methods
(new (symbol type int) _type_) ;; 0
(add-setting (_type_ process symbol object object object) none) ;; 9
(add-setting (_type_ process symbol object object object) connection) ;; 9
(persist-with-delay (_type_ symbol time-frame symbol symbol float int) none) ;; 10
(set-setting (_type_ process symbol object object object) none) ;; 11
(set-setting (_type_ process symbol object object object) connection) ;; 11
(remove-setting (_type_ process symbol) none) ;; 12
(kill-persister (_type_ engine-pers object) none) ;; 13
(setting-control-method-14 (_type_ object) connectable) ;; 14
+7 -7
View File
@@ -29,13 +29,13 @@
"DGO/WCASEEM.DGO",
"DGO/WASCAST.DGO",
// // arena
// "DGO/WASSTADA.DGO",
// "DGO/WASSTADB.DGO",
// "DGO/WASSTADC.DGO",
// "DGO/ARENACST.DGO",
"DGO/WASSTADA.DGO",
"DGO/WASSTADB.DGO",
"DGO/WASSTADC.DGO",
"DGO/ARENACST.DGO",
// // desert
// "DGO/DESA.DGO",
// "DGO/DESB.DGO",
"DGO/DESB.DGO",
// "DGO/DESBATTL.DGO",
// "DGO/DESBCST.DGO",
// "DGO/DESBOSS1.DGO",
@@ -50,7 +50,7 @@
// "DGO/DESH.DGO",
// "DGO/DESHOVER.DGO",
// "DGO/DESHUNT.DGO",
// "DGO/DESINTER.DGO",
"DGO/DESINTER.DGO",
// "DGO/DESJUMP.DGO",
// "DGO/DESLIZ.DGO",
// "DGO/DESOASIS.DGO",
@@ -273,7 +273,7 @@
// "DGO/LJNDKLEV.DGO",
// "DGO/LKEIRA.DGO",
// "DGO/LKLEEVER.DGO",
// "DGO/LMECH.DGO",
"DGO/LMECH.DGO",
// "DGO/LMHCA.DGO",
// "DGO/LMHCB.DGO",
// "DGO/LNSTCST.DGO",
+8 -2
View File
@@ -228,8 +228,14 @@ void update_mode_from_alpha1(GsAlpha reg, DrawMode& mode) {
reg.c_mode() == GsAlpha::BlendMode::ZERO_OR_FIXED &&
reg.d_mode() == GsAlpha::BlendMode::DEST) {
// Cv = (Cs - Cd) * FIX + Cd
ASSERT(reg.fix() == 64);
mode.set_alpha_blend(DrawMode::AlphaBlend::SRC_DST_FIX_DST);
if (reg.fix() == 64) {
mode.set_alpha_blend(DrawMode::AlphaBlend::SRC_DST_FIX_DST);
} else if (reg.fix() == 128) {
// Cv = (Cs - Cd) + Cd = Cs... no blend.
mode.set_alpha_blend(DrawMode::AlphaBlend::SRC_SRC_SRC_SRC);
} else {
ASSERT_NOT_REACHED();
}
} else if (reg.a_mode() == GsAlpha::BlendMode::DEST &&
reg.b_mode() == GsAlpha::BlendMode::SOURCE &&
reg.c_mode() == GsAlpha::BlendMode::ZERO_OR_FIXED &&
@@ -42,6 +42,9 @@ void ProgressRenderer::handle_frame(u64 val,
break;
case kMinimapFbp: // 126
m_fb_ctxt.emplace(m_minimap_fb);
// replace any other texture that the game loaded to this slot with our PC with the GPU
// one that we assume will get written to now.
render_state->texture_pool->move_existing_to_vram(m_minimap_gpu_tex, kMinimapVramAddr);
m_offscreen_mode = true;
break;
default:
+5 -1
View File
@@ -677,7 +677,11 @@ u32 ISOThread() {
pLVar14 = (VagStrListNode*)NewStreamsList.next;
do {
if (pLVar14->id != 0) {
QueueVAGStream(pLVar14);
if (g_game_version != GameVersion::Jak3) {
// doesn't work.
printf("jak3 skipping vag stream\n");
QueueVAGStream(pLVar14);
}
}
pLVar14 = (VagStrListNode*)pLVar14->list.next;
iVar4 = iVar4 + 1;
+2 -2
View File
@@ -572,9 +572,9 @@
)
(:methods
(new (symbol type int) _type_)
(add-setting (_type_ process symbol object object object) none)
(add-setting (_type_ process symbol object object object) connection)
(persist-with-delay (_type_ symbol time-frame symbol symbol float int) none)
(set-setting (_type_ process symbol object object object) none)
(set-setting (_type_ process symbol object object object) connection)
(remove-setting (_type_ process symbol) none)
(kill-persister (_type_ engine-pers object) none)
(setting-control-method-14 (_type_ object) connectable)
-4
View File
@@ -1199,17 +1199,13 @@
this
)
;; WARN: Return type mismatch connection vs none.
(defmethod add-setting ((this setting-control) (arg0 process) (arg1 symbol) (arg2 object) (arg3 object) (arg4 object))
(add-connection (-> this engine) arg0 arg1 arg2 arg3 arg4)
(none)
)
;; WARN: Return type mismatch connection vs none.
(defmethod set-setting ((this setting-control) (arg0 process) (arg1 symbol) (arg2 object) (arg3 object) (arg4 object))
(remove-setting this arg0 arg1)
(add-connection (-> this engine) arg0 arg1 arg2 arg3 arg4)
(none)
)
(defmethod persist-with-delay ((this setting-control) (arg0 symbol) (arg1 time-frame) (arg2 symbol) (arg3 symbol) (arg4 float) (arg5 int))
+6 -4
View File
@@ -1409,7 +1409,7 @@
(let ((t0-22 (-> lev texture-mask category)))
(set! (-> t0-22 mask quad) (the-as uint128 -1))
(set! (-> lev upload-size 8)
(upload-vram-pages-pris pool (-> pool segment-common) a2-1 bucket (the-as (pointer int32) t0-22))
(upload-vram-pages-pris-pc pool (-> pool segment-common) a2-1 bucket (the-as (pointer int32) t0-22))
)
)
)
@@ -1421,9 +1421,11 @@
)
)
(((tpage-category hfrag))
(set! (-> lev upload-size 10)
(upload-vram-pages pool (-> pool segment-common) a2-1 (tex-upload-mode seg0-1-2) bucket)
)
;; for PC: disable hfrag texture uploads since we're going to rewrite the renderer.
;; this saves us from creating the bucket renderer and processing uploads.
; (set! (-> lev upload-size 10)
; (upload-vram-pages pool (-> pool segment-common) a2-1 (tex-upload-mode seg0-1-2) bucket)
; )
)
)
;; added nonzero check.
+11 -2
View File
@@ -2781,6 +2781,14 @@
(defconstant *default-boot-level* 'halfpipe)
(defmacro play-desert ()
`(start 'play (get-continue-by-name *game-info* "desert-start"))
)
(defmacro play-was ()
`(start 'play (get-continue-by-name *game-info* "wascitya-start"))
)
(defun play ((arg0 symbol) (arg1 symbol))
"Start (or restart) the game!
This will start up the display process, and load the initial level."
@@ -3812,9 +3820,10 @@
((or (= (-> this level i status) 'active)
(= (-> this level i status) 'alive)
(= (-> this level i status) 'loaded))
(set! (-> lev-names i) (symbol->string (-> this level i nickname)))
;; using info nickname since desert's bsp nickname is desert-vis, not dst.
(set! (-> lev-names i) (symbol->string (-> this level i info nickname)))
(if (-> this level i display?)
(set! (-> active-lev-names i) (symbol->string (-> this level i nickname))))
(set! (-> active-lev-names i) (symbol->string (-> this level i info nickname))))
)
)
)
+6
View File
@@ -11,6 +11,12 @@
(format 0 "unimplemented cloth-base-method-10~%")
0)
(defmethod cloth-system-method-34 ((this cloth-system))
(format 0 "unimplemented cloth-system-method-34~%")
(none)
)
(defmethod init! ((this cloth-base))
;; this looks more like run! than init to me.
0)
@@ -866,6 +866,7 @@
(none)
)
;; WARN: Return type mismatch connection vs none.
(defbehavior target-board-init target ()
(target-lightjak-end-mode #t)
(target-darkjak-end-mode #t)
@@ -899,7 +900,7 @@
(set! (-> self board sound-air-knob) 0.0)
(set! (-> self board sound-bank-knob) 0.0)
(set! (-> self board turn-sound-id) (new 'static 'sound-id))
(set! (-> self board mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modebord 0.0 0)))
(set! (-> self board mode-sound-bank) (add-setting! 'mode-sound-bank 'modebord 0.0 0))
(set-time! (-> self board board-get-on-time))
(set! (-> self board stick-lock) #f)
(set! (-> self board stick-off) #f)
@@ -1131,7 +1131,7 @@
(set! (-> self flut attack-id) a0-22)
)
(set! (-> self flut flap-sound-id) (the-as uint (new-sound-id)))
(set! (-> self flut mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeflut 0.0 0)))
(set! (-> self flut mode-sound-bank) (add-setting! 'mode-sound-bank 'modeflut 0.0 0))
(set! (-> self flut entity) #f)
(let ((v1-41 (handle->process arg0)))
(if v1-41
@@ -1368,7 +1368,7 @@
(set-setting! 'string-min-height 'low (meters 1.5) 0)
(set-setting! 'fov 'abs (degrees 75.0) 0)
(set-setting! 'head-offset 'abs (meters 4.5) 0)
(set! (-> self mech mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modemech 0.0 0)))
(set! (-> self mech mode-sound-bank) (add-setting! 'mode-sound-bank 'modemech 0.0 0))
(set! (-> self mech hud 0)
(ppointer->handle (process-spawn hud-heatmeter :init hud-init-by-other :name "hud-heatmeter" :to self))
)
@@ -1458,7 +1458,7 @@
(deactivate a0-27)
)
)
;; (setting-control-method-14 *setting-control* (-> self mech mode-sound-bank))
(setting-control-method-14 *setting-control* (-> self mech mode-sound-bank))
(set! (-> self mech mode-sound-bank) #f)
(logclear! (-> self draw status) (draw-control-status no-draw-bounds))
(logclear! (-> self focus-status) (focus-status mech))
@@ -997,7 +997,7 @@
(set! (-> self pending-ext-anim) (target-anim dark))
(set-time! (-> self fact darkjak-start-time))
(set! (-> self fact darkjak-effect-time) (seconds 20))
(set! (-> self darkjak mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modedark 0.0 0)))
(set! (-> self darkjak mode-sound-bank) (add-setting! 'mode-sound-bank 'modedark 0.0 0))
(set! (-> self darkjak lightning-count) 0)
(cond
((logtest? (-> self darkjak stage) (darkjak-stage ds8))
+12 -12
View File
@@ -720,40 +720,40 @@
((arg0 pickup-type))
(case arg0
(((pickup-type gun-yellow-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeguy1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modeguy1 0.0 0))
)
(((pickup-type gun-yellow-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeguy2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modeguy2 0.0 0))
)
(((pickup-type gun-yellow-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeguy3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modeguy3 0.0 0))
)
(((pickup-type gun-red-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegur1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegur1 0.0 0))
)
(((pickup-type gun-red-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegur2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegur2 0.0 0))
)
(((pickup-type gun-red-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegur3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegur3 0.0 0))
)
(((pickup-type gun-blue-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegub1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegub1 0.0 0))
)
(((pickup-type gun-blue-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegub2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegub2 0.0 0))
)
(((pickup-type gun-blue-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegub3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegub3 0.0 0))
)
(((pickup-type gun-dark-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegud1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegud1 0.0 0))
)
(((pickup-type gun-dark-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegud2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegud2 0.0 0))
)
(((pickup-type gun-dark-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegud3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegud3 0.0 0))
)
)
(none)
@@ -1571,7 +1571,7 @@
(set! (-> self pending-ext-anim) (target-anim light))
(set-time! (-> self fact lightjak-start-time))
(set! (-> self fact lightjak-effect-time) (seconds 20))
(set! (-> self lightjak mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modelit 0.0 0)))
(set! (-> self lightjak mode-sound-bank) (add-setting! 'mode-sound-bank 'modelit 0.0 0))
(target-start-attack)
(target-danger-set! 'get-on #f)
(cond
+3 -2
View File
@@ -3499,8 +3499,9 @@
;; og:preserve-this
(let* ((a3-1 (the int (+ (* (the-as uint 320) (-> arg1 class icon-xy x)) 8)))
(t0-1 (the int (+ (* (the-as uint 320) (-> arg1 class icon-xy y)) 8)))
(a1-65 (+ a3-1 312))
(a2-14 (+ t0-1 312))
;; adjusted:
(a1-65 (+ a3-1 300))
(a2-14 (+ t0-1 300))
)
(set! (-> (the-as (pointer uint128) v1-122) 0) (-> this sprite-tmpl dma-vif quad))
(set! (-> (the-as (pointer uint128) v1-122) 1) (-> this sprite-tmpl quad 1))
+6 -6
View File
@@ -113,13 +113,13 @@
(cgo-file "wascast.gd" common-dep)
(cgo-file "wasall.gd" common-dep)
; ;; arena
; (cgo-file "wasstada.gd" common-dep)
; (cgo-file "wasstadb.gd" common-dep)
; (cgo-file "wasstadc.gd" common-dep)
; (cgo-file "arenacst.gd" common-dep)
(cgo-file "wasstada.gd" common-dep)
(cgo-file "wasstadb.gd" common-dep)
(cgo-file "wasstadc.gd" common-dep)
(cgo-file "arenacst.gd" common-dep)
; ;; desert
; (cgo-file "desa.gd" common-dep)
; (cgo-file "desb.gd" common-dep)
(cgo-file "desb.gd" common-dep)
; (cgo-file "desbattl.gd" common-dep)
; (cgo-file "desbcst.gd" common-dep)
; (cgo-file "desboss1.gd" common-dep)
@@ -134,7 +134,7 @@
; (cgo-file "desh.gd" common-dep)
; (cgo-file "deshover.gd" common-dep)
; (cgo-file "deshunt.gd" common-dep)
; (cgo-file "desinter.gd" common-dep)
(cgo-file "desinter.gd" common-dep)
; (cgo-file "desjump.gd" common-dep)
; (cgo-file "desliz.gd" common-dep)
; (cgo-file "desoasis.gd" common-dep)
+2 -2
View File
@@ -700,9 +700,9 @@
)
(:methods
(new (symbol type int) _type_)
(add-setting (_type_ process symbol object object object) none)
(add-setting (_type_ process symbol object object object) connection)
(persist-with-delay (_type_ symbol time-frame symbol symbol float int) none)
(set-setting (_type_ process symbol object object object) none)
(set-setting (_type_ process symbol object object object) connection)
(remove-setting (_type_ process symbol) none)
(kill-persister (_type_ engine-pers object) none)
(setting-control-method-14 (_type_ object) connectable)
-4
View File
@@ -1186,18 +1186,14 @@
)
;; definition for method 9 of type setting-control
;; WARN: Return type mismatch connection vs none.
(defmethod add-setting ((this setting-control) (arg0 process) (arg1 symbol) (arg2 object) (arg3 object) (arg4 object))
(add-connection (-> this engine) arg0 arg1 arg2 arg3 arg4)
(none)
)
;; definition for method 11 of type setting-control
;; WARN: Return type mismatch connection vs none.
(defmethod set-setting ((this setting-control) (arg0 process) (arg1 symbol) (arg2 object) (arg3 object) (arg4 object))
(remove-setting this arg0 arg1)
(add-connection (-> this engine) arg0 arg1 arg2 arg3 arg4)
(none)
)
;; definition for method 10 of type setting-control
+2 -1
View File
@@ -882,6 +882,7 @@
)
;; definition for function target-board-init
;; WARN: Return type mismatch connection vs none.
(defbehavior target-board-init target ()
(target-lightjak-end-mode #t)
(target-darkjak-end-mode #t)
@@ -915,7 +916,7 @@
(set! (-> self board sound-air-knob) 0.0)
(set! (-> self board sound-bank-knob) 0.0)
(set! (-> self board turn-sound-id) (new 'static 'sound-id))
(set! (-> self board mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modebord 0.0 0)))
(set! (-> self board mode-sound-bank) (add-setting! 'mode-sound-bank 'modebord 0.0 0))
(set-time! (-> self board board-get-on-time))
(set! (-> self board stick-lock) #f)
(set! (-> self board stick-off) #f)
+1 -1
View File
@@ -1173,7 +1173,7 @@
(set! (-> self flut attack-id) a0-22)
)
(set! (-> self flut flap-sound-id) (the-as uint (new-sound-id)))
(set! (-> self flut mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeflut 0.0 0)))
(set! (-> self flut mode-sound-bank) (add-setting! 'mode-sound-bank 'modeflut 0.0 0))
(set! (-> self flut entity) #f)
(let ((v1-41 (handle->process arg0)))
(if v1-41
+1 -1
View File
@@ -1413,7 +1413,7 @@
(set-setting! 'string-min-height 'low (meters 1.5) 0)
(set-setting! 'fov 'abs (degrees 75.0) 0)
(set-setting! 'head-offset 'abs (meters 4.5) 0)
(set! (-> self mech mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modemech 0.0 0)))
(set! (-> self mech mode-sound-bank) (add-setting! 'mode-sound-bank 'modemech 0.0 0))
(set! (-> self mech hud 0)
(ppointer->handle (process-spawn hud-heatmeter :init hud-init-by-other :name "hud-heatmeter" :to self))
)
+1 -1
View File
@@ -1074,7 +1074,7 @@
(set! (-> self pending-ext-anim) (target-anim dark))
(set-time! (-> self fact darkjak-start-time))
(set! (-> self fact darkjak-effect-time) (seconds 20))
(set! (-> self darkjak mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modedark 0.0 0)))
(set! (-> self darkjak mode-sound-bank) (add-setting! 'mode-sound-bank 'modedark 0.0 0))
(set! (-> self darkjak lightning-count) 0)
(cond
((logtest? (-> self darkjak stage) (darkjak-stage ds8))
+12 -12
View File
@@ -727,40 +727,40 @@
((arg0 pickup-type))
(case arg0
(((pickup-type gun-yellow-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeguy1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modeguy1 0.0 0))
)
(((pickup-type gun-yellow-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeguy2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modeguy2 0.0 0))
)
(((pickup-type gun-yellow-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modeguy3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modeguy3 0.0 0))
)
(((pickup-type gun-red-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegur1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegur1 0.0 0))
)
(((pickup-type gun-red-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegur2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegur2 0.0 0))
)
(((pickup-type gun-red-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegur3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegur3 0.0 0))
)
(((pickup-type gun-blue-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegub1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegub1 0.0 0))
)
(((pickup-type gun-blue-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegub2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegub2 0.0 0))
)
(((pickup-type gun-blue-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegub3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegub3 0.0 0))
)
(((pickup-type gun-dark-1))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegud1 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegud1 0.0 0))
)
(((pickup-type gun-dark-2))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegud2 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegud2 0.0 0))
)
(((pickup-type gun-dark-3))
(set! (-> self gun mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modegud3 0.0 0)))
(set! (-> self gun mode-sound-bank) (add-setting! 'mode-sound-bank 'modegud3 0.0 0))
)
)
(none)
+1 -1
View File
@@ -1617,7 +1617,7 @@
(set! (-> self pending-ext-anim) (target-anim light))
(set-time! (-> self fact lightjak-start-time))
(set! (-> self fact lightjak-effect-time) (seconds 20))
(set! (-> self lightjak mode-sound-bank) (the-as connection (add-setting! 'mode-sound-bank 'modelit 0.0 0)))
(set! (-> self lightjak mode-sound-bank) (add-setting! 'mode-sound-bank 'modelit 0.0 0))
(target-start-attack)
(target-danger-set! 'get-on #f)
(cond