Skip to content

Commit

Permalink
the rb1
Browse files Browse the repository at this point in the history
  • Loading branch information
lunalawl committed Apr 6, 2024
1 parent 92b6415 commit 8eea01a
Show file tree
Hide file tree
Showing 7 changed files with 1,413 additions and 13 deletions.
5 changes: 3 additions & 2 deletions rb1/_ark/config/band.dta
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include macros.dta
#include ../dx/dx_macros.dta
(mem
#include mem.dta)
(content_mgr
Expand Down Expand Up @@ -70,8 +71,8 @@
#include synth.dta)
(joypad
(ignore)
(hold_ms 1000)
(repeat_ms 80)
(hold_ms 300)
(repeat_ms 50)
(midi_joypad
(disable FALSE))
(controller_mapping
Expand Down
20 changes: 20 additions & 0 deletions rb1/_ark/dx/dx_macros.dta
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#define INIT_DTA_READER
(
{set $dxsettings {read_file #ifdef HX_XBOX "GAME:/config.dta" #endif #ifdef HX_PS3 "GD:/dev_hdd0/game/BLUS30050/USRDIR/config.dta" #endif}}
{foreach $entry $dxsettings
{if {== {elem $entry 0} {basename venue_fps}}
{set $emulatefps
{elem {find $entry venue_fps} 1}
}
}
}
)

#define DX_FPS_SETUP
(
{if {!= $emulatefps 24} {{$world iterate PostProc $p {$p set emulate_fps $emulatefps}}}
{if {>= {$emulatefps 25} {$char iterate CharHair $hair {$hair reset 35}}
{$world iterate WorldDir $wd {$wd iterate BandCamShot $bcs
{foreach $property (shake_noisefreq shake_noiseamp) {$bcs set (keyframes $i $property) {'*' {$bcs get (keyframes $i $property)} 0.25}}}
{foreach $component (x y) {$bcs set (keyframes $i shake_maxangle $component) {'*' {$bcs get (keyframes $i shake_maxangle $component)} 0.25}}}}}}}}
)
Loading

0 comments on commit 8eea01a

Please sign in to comment.