Skip to content

Commit

Permalink
Light animations
Browse files Browse the repository at this point in the history
  • Loading branch information
weigo87 committed Oct 7, 2023
1 parent cef0776 commit 5105910
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 0 deletions.
19 changes: 19 additions & 0 deletions SirinesCall/areas/J#Hall_are.tpa
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
COPY_EXISTING ~J#Hall.are~ ~override~
//Add candles and torches
PATCH_DEFINE_ARRAY x_coord BEGIN 254 430 211 386 END
PATCH_DEFINE_ARRAY y_coord BEGIN 148 192 237 281 END
PATCH_PHP_EACH x_coord AS index => x BEGIN
LPF fj_are_structure
INT_VAR
fj_loc_x = $x_coord("%index%")
fj_loc_y = $y_coord("%index%")
fj_schedule = 0b111111111111111111111111 //Hours 0.00 - 24.00
fj_flags = 0b00000000000000000001000001000011 // Visible, blend colours, not covered by wall, don't remove in combat
STR_VAR
fj_structure_type = animation
fj_name = FLMS
fj_bam_resref = FLMS
END
END
CLEAR_ARRAY x_coord
CLEAR_ARRAY y_coord
20 changes: 20 additions & 0 deletions SirinesCall/areas/J#Lig2_are.tpa
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
COPY_EXISTING ~J#Lig2.are~ ~override~
//Add candles and torches
PATCH_DEFINE_ARRAY x_coord BEGIN 136 76 105 121 229 385 369 289 END
PATCH_DEFINE_ARRAY y_coord BEGIN 276 184 147 102 75 103 277 272 END
PATCH_PHP_EACH x_coord AS index => x BEGIN
LPF fj_are_structure
INT_VAR
fj_loc_x = $x_coord("%index%")
fj_loc_y = $y_coord("%index%")
fj_schedule = 0b111111111111111111111111 //Hours 0.00 - 24.00
fj_flags = 0b00000000000000000001000001000011 // Visible, blend colours, not covered by wall, don't remove in combat
STR_VAR
fj_structure_type = animation
fj_name = FLAME2S
fj_bam_resref = FLAME2S //bgrd
END
END
CLEAR_ARRAY x_coord
CLEAR_ARRAY y_coord

20 changes: 20 additions & 0 deletions SirinesCall/areas/J#Ligh_are.tpa
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
COPY_EXISTING ~J#Ligh.are~ ~override~
//Add candles and torches
PATCH_DEFINE_ARRAY x_coord BEGIN 208 218 272 296 257 388 393 398 403 408 END
PATCH_DEFINE_ARRAY y_coord BEGIN 209 168 156 198 215 328 318 323 331 322 END
PATCH_PHP_EACH x_coord AS index => x BEGIN
LPF fj_are_structure
INT_VAR
fj_loc_x = $x_coord("%index%")
fj_loc_y = $y_coord("%index%")
fj_schedule = 0b111111111111111111111111 //Hours 0.00 - 24.00
fj_flags = 0b00000000000000000001000001000011 // Visible, blend colours, not covered by wall, don't remove in combat
STR_VAR
fj_structure_type = animation
fj_name = FLAME2S
fj_bam_resref = FLAME2S //bgrd
END
END
CLEAR_ARRAY x_coord
CLEAR_ARRAY y_coord

20 changes: 20 additions & 0 deletions SirinesCall/areas/J#Stor_are.tpa
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
COPY_EXISTING ~J#Stor.are~ ~override~
//Add candles and torches
PATCH_DEFINE_ARRAY x_coord BEGIN 446 END
PATCH_DEFINE_ARRAY y_coord BEGIN 197 END
PATCH_PHP_EACH x_coord AS index => x BEGIN
LPF fj_are_structure
INT_VAR
fj_loc_x = $x_coord("%index%")
fj_loc_y = $y_coord("%index%")
fj_schedule = 0b111111111111111111111111 //Hours 0.00 - 24.00
fj_flags = 0b00000000000000000001000001000011 // Visible, blend colours, not covered by wall, don't remove in combat
STR_VAR
fj_structure_type = animation
fj_name = FLAME2S
fj_bam_resref = FLAME2S //bgrd
END
END
CLEAR_ARRAY x_coord
CLEAR_ARRAY y_coord

4 changes: 4 additions & 0 deletions SirinesCall/setup-SirinesCall.tp2
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ EXTEND_TOP ~%Lighthouse_bcs%.bcs~ ~sirinescall/scriptsar/_AR3600.baf~
COPY ~sirinescall/areas/storage~ ~override~
~sirinescall/areas/lighthouse~ ~override~
~sirinescall/areas/longhall~ ~override~
INCLUDE ~%MOD_FOLDER%/areas/J#Lig2_are.tpa~
INCLUDE ~%MOD_FOLDER%/areas/J#Ligh_are.tpa~
INCLUDE ~%MOD_FOLDER%/areas/J#Hall_are.tpa~
INCLUDE ~%MOD_FOLDER%/areas/J#Stor_are.tpa~


/* ACTION_IF GAME_IS ~tutu tutu_totsc~ THEN BEGIN
Expand Down

0 comments on commit 5105910

Please sign in to comment.