-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop'. sfall is now updated to 4.0.
- Loading branch information
Showing
250 changed files
with
31,992 additions
and
22,702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
|
||
; This section maps 7 armor types to corresponding armor item PIDs | ||
[ArmorTypes] | ||
Jacket = 74,265 | ||
Leather = 1,379 | ||
Metal = 2,240,380 | ||
Power = 3,232 | ||
AdvPower = 348,349 | ||
Combat = 17,239,381 | ||
Robe = 113,524 | ||
|
||
; Default armor FIDs (the same for all NPCs) | ||
[Default] | ||
Power=16777217 | ||
AdvPower=16777287 | ||
Robe=16777218 | ||
|
||
|
||
; Sulik | ||
[1] | ||
PID=16777313 | ||
Default=16777280 | ||
Leather=16777325 | ||
Power=16777324 | ||
Metal=16777323 | ||
Jacket=16777321 | ||
Combat=16777322 | ||
|
||
; Vic | ||
[2] | ||
PID=16777278 | ||
Default=16777307 | ||
Jacket=16777329 | ||
Combat=16777330 | ||
Metal=16777331 | ||
Power=16777332 | ||
Leather=16777333 | ||
|
||
; Cassidy | ||
[3] | ||
PID=16777305 | ||
Default=16777354 | ||
Leather=16777260 | ||
Power=16777328 | ||
Metal=16777327 | ||
Jacket=16777351 | ||
Combat=16777326 | ||
|
||
; Myron | ||
[4] | ||
PID=16777376 | ||
Default=16777304 | ||
Leather= | ||
Power=16777349 | ||
Combat=16777350 | ||
|
||
; Cat Jules | ||
[5] | ||
PID=16777734 | ||
Default=16777353 | ||
Leather=16777347 | ||
Metal=16777348 | ||
Jacket=16777346 | ||
Combat=16777226 | ||
|
||
; Kitsune | ||
[6] | ||
PID=16777724 | ||
Default=16777222 | ||
Leather=16777221 | ||
Metal=16777223 | ||
Jacket=16777222 | ||
Combat=16777219 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[Highlighting] | ||
|
||
; DX scandode of a key to press to highlight items on the ground | ||
; 42 - SHIFT key | ||
Key=42 | ||
|
||
; Set to 1 to also highlight containers | ||
Containers=1 | ||
|
||
; Set to 1 to also highlight corpses | ||
Corpses=1 | ||
|
||
; Set to 1 to only highlight objects in the player's line-of-sight | ||
CheckLOS=0 | ||
|
||
; Set the color of outlines, available colors: | ||
; 1 - glowing red | ||
; 2 - red | ||
; 4 - grey | ||
; 8 - glowing green | ||
; 16 - bright yellow | ||
; 32 - dark yellow | ||
; 64 - purple | ||
OutlineColor=16 | ||
|
||
; Motion Scanner mode: | ||
; 0 - ignored | ||
; 1 - requires Motion Scanner present in player inventory to activate highlighting | ||
; 2 - requires Motion Scanner and also requires 1 charge on every use (depleted scanner will not work anymore) | ||
MotionScanner=0 | ||
|
||
|
||
[CombatControl] | ||
;Allows you to directly control other critters in combat | ||
;Set to 0 to disable | ||
;Set to 1 to control all critters in combat | ||
;Set to 2 to control all party members | ||
;If you want to control only specific critters, uncomment the PIDList line and set a comma delimited list of PIDs | ||
Mode=0 | ||
;PIDList=62,89,97,107,160,161 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
24 changes: 13 additions & 11 deletions
24
...acts/example_mods/StealCheat/hs_steal.ssl → ...example_mods/StealCheat/gl_stealcheat.ssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
procedure start; | ||
procedure start; | ||
// adjust include paths if needed | ||
#include "..\..\scripting_docs\headers\sfall.h" | ||
#include "..\..\scripting_docs\headers\sfall.h" | ||
|
||
#define RESULT_SUCCESS (1) | ||
#define RESULT_FAIL (0) | ||
|
||
procedure start begin | ||
if not init_hook then begin | ||
|
||
procedure start begin | ||
if game_loaded then begin | ||
register_hook(HOOK_STEAL); | ||
end else begin | ||
variable | ||
thief := get_sfall_arg, | ||
target := get_sfall_arg, | ||
item := get_sfall_arg, | ||
action := get_sfall_arg, | ||
result := RESULT_SUCCESS; | ||
if (thief == dude_obj) then begin | ||
display_msg(sprintf(mstr_skill(570 + result + action*2), obj_name(item))); | ||
set_sfall_return(result); | ||
end | ||
end | ||
|
||
if (thief == dude_obj) then begin | ||
display_msg(sprintf(mstr_skill(570 + result + action*2), obj_name(item))); | ||
set_sfall_return(result); | ||
end | ||
end | ||
end |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
procedure start; | ||
// adjust include paths if needed | ||
#include "..\..\scripting_docs\headers\sfall.h" | ||
#include "..\..\scripting_docs\headers\dik.h" | ||
|
||
procedure start begin | ||
if game_loaded then begin | ||
register_hook(HOOK_KEYPRESS); | ||
end else begin | ||
variable | ||
event := get_sfall_arg, | ||
keyDX := get_sfall_arg; | ||
|
||
if (event == 1) and (keyDX == DIK_SEMICOLON) then begin | ||
tap_key(DIK_CAPITAL); | ||
tap_key(DIK_A); | ||
tap_key(DIK_CAPITAL); | ||
end | ||
end | ||
end |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.