mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3399e07958 | ||
|
|
044af677d9 | ||
|
|
752ad8ae01 | ||
|
|
9d9d8ada49 | ||
|
|
6bd7d3ebca | ||
|
|
9bc71a5d2a | ||
|
|
6d66232162 | ||
|
|
fe5f4bb2aa | ||
|
|
8a7d22dd03 | ||
|
|
fac0b73d9e | ||
|
|
2974210ad3 | ||
|
|
bb0f2bb8db | ||
|
|
715b55dda8 | ||
|
|
999d818c86 | ||
|
|
1d7fd442b0 | ||
|
|
3062533492 | ||
|
|
032e1d13f3 | ||
|
|
9f0797f8ad | ||
|
|
a7c66685b9 | ||
|
|
118b186d4d | ||
|
|
a8718dab2f | ||
|
|
ccd897281f | ||
|
|
d200262a2b | ||
|
|
0ebe3ef1a4 | ||
|
|
d0c97f7118 | ||
|
|
0bda53e109 | ||
|
|
93cd7a08ad | ||
|
|
44d668f50b | ||
|
|
f368973299 | ||
|
|
96802c9642 | ||
|
|
39221065af | ||
|
|
95f95e7b38 | ||
|
|
41c8722179 | ||
|
|
3b780110ea | ||
|
|
448dbdb31e | ||
|
|
033376000c | ||
|
|
bc2dabc461 | ||
|
|
08b5e3a769 | ||
|
|
09c9c5cce0 | ||
|
|
b4b1698345 | ||
|
|
2a20209bb8 | ||
|
|
84c7ac0536 | ||
|
|
46f8820ecf | ||
|
|
5d4b8fdd7b | ||
|
|
44603174dd | ||
|
|
d37fbd8390 | ||
|
|
2f22a1e982 | ||
|
|
3f03cf3c18 | ||
|
|
1b3b5dc523 | ||
|
|
fff48407c3 | ||
|
|
841e741e91 | ||
|
|
d4a501d813 | ||
|
|
5e056f1743 | ||
|
|
35a94b5418 | ||
|
|
7eaef76f6f | ||
|
|
30002664ef | ||
|
|
c2f7e38a43 | ||
|
|
8a5674f2d9 | ||
|
|
8c2483a289 | ||
|
|
e14ac89463 | ||
|
|
d5a38eb3aa | ||
|
|
177137f2ee | ||
|
|
76f88eae18 | ||
|
|
28962f428f | ||
|
|
aaa76cb3d1 | ||
|
|
ea1c00ec91 | ||
|
|
410c7ab417 | ||
|
|
ab3ddc68b6 | ||
|
|
1652072391 | ||
|
|
051b1c98aa | ||
|
|
56945c7437 | ||
|
|
2f6f0d8b28 | ||
|
|
0e715236bf | ||
|
|
b24a860d40 | ||
|
|
120a8cd964 | ||
|
|
62d4577152 | ||
|
|
2d8ea2b44c | ||
|
|
4ef20c3526 | ||
|
|
5e0e8dd2f1 | ||
|
|
04bd88cdc2 | ||
|
|
839e86ed26 | ||
|
|
eeef8759d3 | ||
|
|
c4903abd4c | ||
|
|
e0c0b9ba19 | ||
|
|
b9c7f5ea82 | ||
|
|
56fdec8b37 | ||
|
|
470a0b3386 | ||
|
|
279c524da9 | ||
|
|
57c4c0bd5d | ||
|
|
3ff0e77c26 | ||
|
|
15909dbb5b | ||
|
|
ee9010217e | ||
|
|
9fa59a0d75 | ||
|
|
371a299640 | ||
|
|
31f42128e1 | ||
|
|
57225bbd38 | ||
|
|
310d029801 | ||
|
|
b52f4544c0 | ||
|
|
0950efec8c | ||
|
|
d86794be3a | ||
|
|
d6aff61607 | ||
|
|
0eeab768bd | ||
|
|
e474ba1660 | ||
|
|
3abebb8486 | ||
|
|
29910e98bf | ||
|
|
4194feafdf | ||
|
|
1c6729a25f | ||
|
|
39388fd927 | ||
|
|
72093079c5 | ||
|
|
5141ca4ebb | ||
|
|
78e9f08682 | ||
|
|
ce779b4764 | ||
|
|
1a108cade5 | ||
|
|
cc875291d1 | ||
|
|
9e28f8bdfd | ||
|
|
b2894268f6 | ||
|
|
b3e2b8b5b8 | ||
|
|
3227966767 | ||
|
|
9475b8c482 | ||
|
|
8b356b1213 | ||
|
|
90485a205a | ||
|
|
d5be2fdc9b | ||
|
|
a705341e02 | ||
|
|
ca3f59ad1e | ||
|
|
4d0c056e72 | ||
|
|
d388a5c3bb | ||
|
|
9b808cd008 | ||
|
|
fd91be7ea2 | ||
|
|
4fdd1d3cd8 | ||
|
|
9cb2d3df3e | ||
|
|
08242d77d5 | ||
|
|
68d0a3e894 | ||
|
|
16ff0e9ca6 | ||
|
|
218ba3004c | ||
|
|
8473ce5210 | ||
|
|
38a3dba476 | ||
|
|
9c1d439153 | ||
|
|
bc38a02508 | ||
|
|
8ae705d591 | ||
|
|
94fdfb49ef | ||
|
|
ee67b9b59d | ||
|
|
74d496845b | ||
|
|
1bde433a16 | ||
|
|
f0f4948856 | ||
|
|
b4168fe934 | ||
|
|
848f29b468 | ||
|
|
bf1da72def | ||
|
|
75909e688e | ||
|
|
394000fa2a | ||
|
|
ad17773ace | ||
|
|
85cdd8973e | ||
|
|
85bcf82c1e | ||
|
|
6c65d8fe79 | ||
|
|
34eaddebb8 | ||
|
|
7989da8bfa | ||
|
|
012418cd59 | ||
|
|
0a4e0cb755 | ||
|
|
fc930ff7fb | ||
|
|
6a0a93836e | ||
|
|
e7e286013f | ||
|
|
f0e93450f6 | ||
|
|
46ea2fb265 | ||
|
|
35d8052098 | ||
|
|
abb71a1a1f | ||
|
|
35d397c891 | ||
|
|
92b010f362 | ||
|
|
c2e6d743a3 | ||
|
|
579cbd7543 | ||
|
|
34db527f45 | ||
|
|
475503d632 | ||
|
|
31834fdfea | ||
|
|
7405e3cb52 | ||
|
|
771230f9b4 | ||
|
|
0486192c3c | ||
|
|
83f2d48668 | ||
|
|
7b333ca458 | ||
|
|
fd4fe5fd0e | ||
|
|
2255d9e947 | ||
|
|
85020d66f2 | ||
|
|
629641eb96 | ||
|
|
0af8010861 | ||
|
|
addccd2bc6 | ||
|
|
8a0ac2082e | ||
|
|
a5599e1942 | ||
|
|
43e2ddeeef | ||
|
|
0c5e6af119 | ||
|
|
dc785d010e | ||
|
|
d484be45c8 | ||
|
|
ae3634779c | ||
|
|
18644f37fd | ||
|
|
bb52a6d9cb | ||
|
|
e34a00148f | ||
|
|
478684f8ef | ||
|
|
e2a383511d | ||
|
|
116c522bdc | ||
|
|
9531fcbebd | ||
|
|
76a946c72e | ||
|
|
20bc5b9fd6 | ||
|
|
dcc471fc47 | ||
|
|
d881dc9e89 | ||
|
|
fef690c2c2 | ||
|
|
5bbdcbd2db | ||
|
|
24e9dde577 | ||
|
|
029419db3d | ||
|
|
6e0fe881df | ||
|
|
203dcdf6be | ||
|
|
34500d9dd5 | ||
|
|
cbe987df25 | ||
|
|
7dcef6f4b2 | ||
|
|
5dadba6e56 | ||
|
|
b592d6bdbe | ||
|
|
0fe6c2a426 | ||
|
|
32564d64d1 | ||
|
|
897f1ab323 | ||
|
|
4e3168e2e3 | ||
|
|
8a65172927 | ||
|
|
778230dde1 | ||
|
|
6a78206c2e | ||
|
|
c519fb6fb6 | ||
|
|
96fa2668cc | ||
|
|
c32dc7664e | ||
|
|
2c14d5dd57 | ||
|
|
945f4696d7 | ||
|
|
e7d03fc60a | ||
|
|
61615930b6 | ||
|
|
62e5559aea | ||
|
|
f2243f2874 | ||
|
|
52e24a4dd4 | ||
|
|
50c91db5ea | ||
|
|
b1624e5acf | ||
|
|
1644ca437c | ||
|
|
4482630f9a | ||
|
|
024b1dbf6f | ||
|
|
7bbe84feef | ||
|
|
659da227f4 | ||
|
|
c83fe0690b | ||
|
|
76e32e1bef | ||
|
|
92c599e1a2 | ||
|
|
1f74aa5c22 | ||
|
|
b48549b524 | ||
|
|
2525e8a005 | ||
|
|
7c661ce408 | ||
|
|
2d278bf4c7 | ||
|
|
fc99baa0c6 | ||
|
|
bf61051887 | ||
|
|
0b739b7d77 | ||
|
|
2fbf4a0518 | ||
|
|
9514602f91 | ||
|
|
adf8dd13dd | ||
|
|
943561ea65 | ||
|
|
158234438b | ||
|
|
eb4998ced6 | ||
|
|
9631e08db4 | ||
|
|
c5698d74ce | ||
|
|
afadbb71c4 | ||
|
|
a74bab42e8 | ||
|
|
c411ced286 | ||
|
|
b0dc6ff182 | ||
|
|
52072e29c0 | ||
|
|
28c18c1925 | ||
|
|
cbcc0e4a86 | ||
|
|
133d092d02 | ||
|
|
77349cbaec | ||
|
|
fa583d41d7 | ||
|
|
c63ddf3e9c | ||
|
|
6152615ce5 | ||
|
|
a379e1f998 | ||
|
|
b3d5d38cc4 | ||
|
|
ede1bacf2b | ||
|
|
85845a2d80 | ||
|
|
4823b71d96 | ||
|
|
aa77d82a23 | ||
|
|
0a3745f8f5 | ||
|
|
d8e2e6f1ca | ||
|
|
dd00e130a9 | ||
|
|
6cb8700df5 | ||
|
|
685914dafa | ||
|
|
2d4ce73664 | ||
|
|
7b5e730f72 | ||
|
|
ec0baf3065 | ||
|
|
10bc859892 | ||
|
|
2e064580ed | ||
|
|
8357465e9c | ||
|
|
81d3479bff | ||
|
|
89f92f9676 | ||
|
|
5888b76afb | ||
|
|
e1db0550b1 | ||
|
|
d0f05e4efe | ||
|
|
b18b5a340c | ||
|
|
5265100425 | ||
|
|
c095e54b62 | ||
|
|
6e5b811b87 | ||
|
|
229a5516e0 | ||
|
|
f056c53739 | ||
|
|
cb84700bfc | ||
|
|
e71d1962b5 | ||
|
|
a4de59dac4 | ||
|
|
67c3ba7caf | ||
|
|
4b261febfd | ||
|
|
0f722a50fd | ||
|
|
6b7a10130d | ||
|
|
6b6da17610 | ||
|
|
8ed93e8cf7 | ||
|
|
31520d6f65 | ||
|
|
061302585b | ||
|
|
033221398e | ||
|
|
3a4b7fe3f5 | ||
|
|
a016e4a236 | ||
|
|
6f0901f980 | ||
|
|
c3acd1af3e | ||
|
|
fbb643bfa8 | ||
|
|
32c1de3a34 | ||
|
|
b5a85fd57c | ||
|
|
c0906521aa | ||
|
|
411c0a6e98 | ||
|
|
5b10d9e786 | ||
|
|
75c7ab647f | ||
|
|
38e0f21e93 | ||
|
|
4cc1235dbc | ||
|
|
02658a3801 | ||
|
|
72bde84d92 | ||
|
|
f3f9186ce7 | ||
|
|
be0cc2f3d5 | ||
|
|
826c3eb021 | ||
|
|
bf70cadc02 | ||
|
|
8284eb50f0 | ||
|
|
160c11043f | ||
|
|
6e5a0fd085 | ||
|
|
57ef099e97 | ||
|
|
944b95d796 | ||
|
|
dfa9534bd1 | ||
|
|
c186ed5ee0 | ||
|
|
4dc2aaa046 | ||
|
|
b3e1837cfc | ||
|
|
94c00f12f7 | ||
|
|
70a742db81 | ||
|
|
00d4e188d6 | ||
|
|
df5c81164f | ||
|
|
17df8deb86 | ||
|
|
54f9fc4bcd | ||
|
|
6d88cd03f7 | ||
|
|
a30464cfae | ||
|
|
ce21fdab79 | ||
|
|
bac748a525 | ||
|
|
d9b8d18a67 | ||
|
|
15b51eaa6d | ||
|
|
ae1aa27d13 | ||
|
|
f150163bc5 | ||
|
|
142264d6b6 | ||
|
|
a69b1b92b2 | ||
|
|
38438d1e9c | ||
|
|
94e4a2043a | ||
|
|
42f70f920e | ||
|
|
214e405c32 | ||
|
|
99d6ff332f | ||
|
|
2d726de3f0 | ||
|
|
212118ba8c | ||
|
|
2383d8d507 | ||
|
|
94f138f64b | ||
|
|
a5ffbe3a5f | ||
|
|
7a5a54ab5e | ||
|
|
b5f3addae5 | ||
|
|
2db071d0ca | ||
|
|
5b59c9e54d | ||
|
|
60fb21cd1b | ||
|
|
0f1072c302 | ||
|
|
8069d925fe | ||
|
|
69905b633b | ||
|
|
1aba89e810 | ||
|
|
2548e6ea8f | ||
|
|
0026590058 | ||
|
|
f56af79c16 | ||
|
|
955733270c | ||
|
|
9804902af6 | ||
|
|
cfb546ce8a | ||
|
|
de2549eeaa | ||
|
|
cc00a2c162 | ||
|
|
16be32d284 | ||
|
|
16f19824d1 | ||
|
|
535b7edc55 | ||
|
|
573e5324f4 | ||
|
|
e17b722f16 | ||
|
|
7a6e15bae1 | ||
|
|
df34f6c994 | ||
|
|
26874a709e | ||
|
|
45724aa6b3 | ||
|
|
b477a43bd0 | ||
|
|
ca86b5f930 | ||
|
|
f05ec714e7 | ||
|
|
6bd7d4f05c | ||
|
|
c26c2ad8f6 | ||
|
|
ae4193d6f9 | ||
|
|
3fed492a5b | ||
|
|
3e3f6f92ed | ||
|
|
ad1f08378b | ||
|
|
b026f8eadd | ||
|
|
adcf3be520 | ||
|
|
728e18b344 | ||
|
|
65bb7d4de7 | ||
|
|
1472902de4 | ||
|
|
dd1474c8d3 | ||
|
|
830309b544 | ||
|
|
84a60128a2 | ||
|
|
ec34df50ac | ||
|
|
9edf6e6cc3 | ||
|
|
99ddda2848 | ||
|
|
f351faa422 | ||
|
|
a4dee3dbca | ||
|
|
9be861a84b | ||
|
|
726aff686b | ||
|
|
34b0b7269f | ||
|
|
2ac60d66f5 | ||
|
|
77cc151455 | ||
|
|
d63392aea2 | ||
|
|
07b5f78318 | ||
|
|
37e159dd21 | ||
|
|
cd1c756e24 | ||
|
|
66ea6a7609 | ||
|
|
0efdf7096b | ||
|
|
80dad0d5d0 | ||
|
|
10ec39ab60 | ||
|
|
bd7518ca33 | ||
|
|
8b264db28a | ||
|
|
c44ca6adc1 | ||
|
|
96db48626a | ||
|
|
7705e43ce4 | ||
|
|
8da65a92e9 | ||
|
|
6eb9a37a07 | ||
|
|
6290effd93 | ||
|
|
f3209d282d | ||
|
|
a05d440ad6 | ||
|
|
87e28277ad | ||
|
|
935f7ead89 | ||
|
|
84042f1736 |
@@ -46,6 +46,8 @@ nb-configuration.xml
|
|||||||
*.user
|
*.user
|
||||||
*.userosscache
|
*.userosscache
|
||||||
*.sln.docstates
|
*.sln.docstates
|
||||||
|
*.VC.db
|
||||||
|
*.VC.opendb
|
||||||
|
|
||||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
*.userprefs
|
*.userprefs
|
||||||
|
|||||||
@@ -7,6 +7,34 @@
|
|||||||
; have an additional NoHardcode option in this file which can
|
; have an additional NoHardcode option in this file which can
|
||||||
; be used to remove their hardcoded effects, and add new stat/skill effects
|
; be used to remove their hardcoded effects, and add new stat/skill effects
|
||||||
|
|
||||||
|
;Name=The name of the perk
|
||||||
|
;Desc=The description of the perk
|
||||||
|
;Image=The line number (0-indexed) of the corresponding FRM in skilldex.lst
|
||||||
|
;Ranks=The number of perk levels
|
||||||
|
;Level=The minimum required level
|
||||||
|
;Type=If 0, the perk checks only Skill1 for skill requirements; if 1, it checks
|
||||||
|
; Skill1 or Skill2; if 2, it checks both Skill1 and Skill2
|
||||||
|
;Stat=The modified stat or -1 if you don't want to change any stats
|
||||||
|
;StatMag=The increased/decreased value to the modified stat
|
||||||
|
;Skill1=The first skill (or -1 for none) to check, but if you set a specific bit
|
||||||
|
; (67108864 or 0x4000000), it checks GVAR. For example, if Skill1=67108864, then
|
||||||
|
; the perk will check GVAR_PLAYER_REPUTATION (67108864 + 0) on Skill1Mag value
|
||||||
|
;Skill1Mag=Positive value is used as the minimum requirements of the first
|
||||||
|
; skill/GVAR, and a negative value is interpreted as the maximum requirement.
|
||||||
|
; For example, with Skill1=0 and Skill1Mag=100, if player has small guns skill
|
||||||
|
; >= 100 and meets all other requirements, the perk will be available in the
|
||||||
|
; selection window; with Skill1=1 and Skill1Mag=-120, the perk will not be
|
||||||
|
; available if player has big guns skill >= 120
|
||||||
|
;Skill2=The second skill/GVAR (or -1 for none) to check
|
||||||
|
;Skill2Mag=Same as Skill1Mag, but for Skill2
|
||||||
|
;STR-LCK=Positive values are used as minimum requirements of SPECIAL stats, and
|
||||||
|
; negative values are interpreted as maximum requirements. For some special
|
||||||
|
; perks processed by the engine (e.g. PERK_armor_powered and PERK_armor_combat),
|
||||||
|
; the values are not used as requirements but to add to corresponding SPECIAL
|
||||||
|
; stats
|
||||||
|
|
||||||
|
;If the value is set to -99999, the variable will be ignored (similar to comment out that line)
|
||||||
|
|
||||||
;This is a modification to perk 119
|
;This is a modification to perk 119
|
||||||
[119]
|
[119]
|
||||||
Name=Example
|
Name=Example
|
||||||
@@ -36,4 +64,4 @@ Name=Example
|
|||||||
Desc=This is an example trait
|
Desc=This is an example trait
|
||||||
Image=72
|
Image=72
|
||||||
StatMod=0|-1 ;Subtract 1 from strength
|
StatMod=0|-1 ;Subtract 1 from strength
|
||||||
SkillMod=0|20|1|-5 ;Add 20 to the players small guns skill and subtract 5 from big guns
|
SkillMod=0|20|1|-5 ;Add 20 to the player's small guns skill and subtract 5 from big guns
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[sfall]
|
[sfall]
|
||||||
SaveInCombat=Cannot save at this time
|
SaveInCombat=Cannot save at this time.
|
||||||
KarmaGain=You gained %d karma.
|
KarmaGain=You gained %d karma.
|
||||||
KarmaLoss=You lost %d karma.
|
KarmaLoss=You lost %d karma.
|
||||||
HighlightFail1=You aren't carrying a motion sensor.
|
HighlightFail1=You aren't carrying a motion sensor.
|
||||||
@@ -11,4 +11,4 @@ SaveSfallDataFail=ERROR saving extended savegame information! Check if other pro
|
|||||||
[AppearanceMod]
|
[AppearanceMod]
|
||||||
RaceText=Race
|
RaceText=Race
|
||||||
StyleText=Style
|
StyleText=Style
|
||||||
MainButtonText=Appearance
|
MainButtonText=Appearance
|
||||||
|
|||||||
@@ -0,0 +1,79 @@
|
|||||||
|
|
||||||
|
; 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
|
||||||
|
WeaponAnims=1,3,4,6
|
||||||
|
Default=16777280
|
||||||
|
Leather=16777325
|
||||||
|
Power=16777324
|
||||||
|
Metal=16777323
|
||||||
|
Jacket=16777321
|
||||||
|
Combat=16777322
|
||||||
|
|
||||||
|
; Vic
|
||||||
|
[2]
|
||||||
|
PID=16777278
|
||||||
|
WeaponAnims=1,5,7
|
||||||
|
Default=16777307
|
||||||
|
Jacket=16777329
|
||||||
|
Combat=16777330
|
||||||
|
Metal=16777331
|
||||||
|
Power=16777332
|
||||||
|
Leather=16777333
|
||||||
|
|
||||||
|
; Cassidy
|
||||||
|
[3]
|
||||||
|
PID=16777305
|
||||||
|
WeaponAnims=4,5,7
|
||||||
|
Default=16777354
|
||||||
|
Leather=16777260
|
||||||
|
Power=16777328
|
||||||
|
Metal=16777327
|
||||||
|
Jacket=16777351
|
||||||
|
Combat=16777326
|
||||||
|
|
||||||
|
; Myron
|
||||||
|
[4]
|
||||||
|
PID=16777376
|
||||||
|
WeaponAnims=1,5
|
||||||
|
Default=16777304
|
||||||
|
Leather=
|
||||||
|
Power=16777349
|
||||||
|
Combat=16777350
|
||||||
|
|
||||||
|
; Cat Jules
|
||||||
|
[5]
|
||||||
|
PID=16777734
|
||||||
|
WeaponAnims=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
|
||||||
|
Default=16777353
|
||||||
|
Leather=16777347
|
||||||
|
Metal=16777348
|
||||||
|
Jacket=16777346
|
||||||
|
Combat=16777226
|
||||||
|
|
||||||
|
; Kitsune
|
||||||
|
[6]
|
||||||
|
PID=16777724
|
||||||
|
WeaponAnims=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
|
||||||
|
Default=16777222
|
||||||
|
Leather=16777221
|
||||||
|
Metal=16777223
|
||||||
|
Jacket=16777222
|
||||||
|
Combat=16777219
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
[Highlighting]
|
||||||
|
|
||||||
|
; DX scancode of a key to press to highlight items on the ground
|
||||||
|
; 42 - SHIFT key
|
||||||
|
Key=42
|
||||||
|
|
||||||
|
; Set to 1 to also highlight containers
|
||||||
|
Containers=0
|
||||||
|
|
||||||
|
; Set to 1 to also highlight lootable corpses
|
||||||
|
Corpses=0
|
||||||
|
|
||||||
|
; 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
|
||||||
|
|
||||||
|
;Choose a notification box to display the name of the controlled critter above the interface bar
|
||||||
|
;Must be between 5 and (4 + the value of BoxBarCount in ddraw.ini)
|
||||||
|
;Set to 0 to disable
|
||||||
|
DisplayName=0
|
||||||
|
|
||||||
|
;Set the color of display name, available colors:
|
||||||
|
;0 - green
|
||||||
|
;1 - red
|
||||||
|
;2 - white
|
||||||
|
;3 - yellow
|
||||||
|
;4 - dark yellow
|
||||||
|
;5 - blue
|
||||||
|
;6 - purple
|
||||||
|
DisplayNameColor=0
|
||||||
+117
-73
@@ -1,5 +1,5 @@
|
|||||||
;sfall configuration settings
|
;sfall configuration settings
|
||||||
;v3.8
|
;v4.1
|
||||||
|
|
||||||
[Main]
|
[Main]
|
||||||
;Change to 1 if you want to use command line args to tell sfall to use another ini file.
|
;Change to 1 if you want to use command line args to tell sfall to use another ini file.
|
||||||
@@ -48,31 +48,31 @@ SpeedMultiInitial=100
|
|||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
[Graphics]
|
[Graphics]
|
||||||
;Set to 0 for 8 bit fullscreen
|
;Set to 0 for 8 bit fullscreen
|
||||||
;Set to 4 for dx9 fullscreen
|
;Set to 4 for DX9 fullscreen
|
||||||
;Set to 5 for dx9 windowed
|
;Set to 5 for DX9 windowed
|
||||||
;A dx9 mode is required for any graphics related script extender functions to work (i.e. fullscreen shaders)
|
;A DX9 mode is required for any graphics related script extender functions to work (i.e. fullscreen shaders)
|
||||||
;Modes 1, 2 and 3 are no longer supported
|
;Modes 1, 2 and 3 are no longer supported
|
||||||
Mode=0
|
Mode=0
|
||||||
|
|
||||||
;If using a dx9 mode, this changes the resolution
|
;If using a DX9 mode, this changes the resolution
|
||||||
;The graphics are simply stretched to fit the new window; this does _not_ let you see more of the map
|
;The graphics are simply stretched to fit the new window; this does _not_ let you see more of the map
|
||||||
;If set to 0, use Fallout's native resolution
|
;If set to 0, use Fallout's native resolution
|
||||||
GraphicsWidth=0
|
GraphicsWidth=0
|
||||||
GraphicsHeight=0
|
GraphicsHeight=0
|
||||||
|
|
||||||
;Set to 1 to do the palette conversion on the gpu
|
;Set to 1 to do the palette conversion on the GPU
|
||||||
;Set to 2 to do the palette conversion on the cpu
|
;Set to 2 to do the palette conversion on the CPU
|
||||||
;Set to 0 to pick automatically
|
;Set to 0 to pick automatically
|
||||||
;GPU is faster, but requires v2.0 pixel shader support
|
;GPU is faster, but requires v2.0 pixel shader support
|
||||||
GPUBlt=0
|
GPUBlt=0
|
||||||
|
|
||||||
;Set to 1 to allow using 32 bit graphics for talking heads
|
;Set to 1 to allow using 32 bit graphics for talking heads
|
||||||
;Requires graphics mode 4 or 5, and gpublt set to 1
|
;Requires graphics mode 4 or 5, and GPUBlt set to 1
|
||||||
Use32BitHeadGraphics=0
|
Use32BitHeadGraphics=0
|
||||||
|
|
||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
[Input]
|
[Input]
|
||||||
;Set to 1 to enable the mouse scroll wheel to scroll through your inventory
|
;Set to 1 to enable the mouse scroll wheel to scroll through inventory, barter, and loot screens
|
||||||
UseScrollWheel=1
|
UseScrollWheel=1
|
||||||
|
|
||||||
;The mouse Z position is divided by this modifier to calculate the number of inventory
|
;The mouse Z position is divided by this modifier to calculate the number of inventory
|
||||||
@@ -98,7 +98,7 @@ ReverseMouseButtons=0
|
|||||||
BackgroundKeyboard=0
|
BackgroundKeyboard=0
|
||||||
BackgroundMouse=0
|
BackgroundMouse=0
|
||||||
|
|
||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
|
|
||||||
;The modifier key you have to hold down to change any speed settings
|
;The modifier key you have to hold down to change any speed settings
|
||||||
;Set to 0 if you don't want to use a modifier key, or a DX scancode otherwise
|
;Set to 0 if you don't want to use a modifier key, or a DX scancode otherwise
|
||||||
@@ -107,7 +107,7 @@ SpeedModKey=-1
|
|||||||
|
|
||||||
;A key to press to toggle the speed tweak on or off
|
;A key to press to toggle the speed tweak on or off
|
||||||
;Specify 0 if you don't want a toggle key, or a DX scancode otherwise
|
;Specify 0 if you don't want a toggle key, or a DX scancode otherwise
|
||||||
SpeedToggleKey=0x00
|
SpeedToggleKey=0
|
||||||
|
|
||||||
;The keys corresponding to the 10 speed slots
|
;The keys corresponding to the 10 speed slots
|
||||||
;Set to 0 to disable a slot, otherwise specify the DX scancode of the key you want to use
|
;Set to 0 to disable a slot, otherwise specify the DX scancode of the key you want to use
|
||||||
@@ -127,20 +127,19 @@ SpeedKey9=0x00
|
|||||||
;Set to -1 for either ctrl key, -2 for either alt key or -3 for either shift key
|
;Set to -1 for either ctrl key, -2 for either alt key or -3 for either shift key
|
||||||
WindowScrollKey=0
|
WindowScrollKey=0
|
||||||
|
|
||||||
;A key to press to toggle the highlighting of all items on the ground on the current map
|
|
||||||
ToggleItemHighlightsKey=42
|
|
||||||
|
|
||||||
;Set to 1 to also highlight containers
|
|
||||||
;Set to 2 for purple outlines
|
|
||||||
HighlightContainers=0
|
|
||||||
|
|
||||||
;A key to press to reload your currently equipped weapon
|
;A key to press to reload your currently equipped weapon
|
||||||
|
;Set to 0 if you don't want a reload key, or a DX scancode otherwise
|
||||||
ReloadWeaponKey=0
|
ReloadWeaponKey=0
|
||||||
|
|
||||||
;A key to press to open a debug game editor
|
;A key to hold down to let you move/drop a whole stack of items at once without the 'Move Items' window
|
||||||
|
;Set to 0 if you don't want to use a modifier key, or a DX scancode otherwise
|
||||||
|
ItemFastMoveKey=0x1d
|
||||||
|
|
||||||
|
;A key to press to open a debug game editor (requires FalloutClient.exe from the modders pack)
|
||||||
|
;Set to 0 to disable, or a DX scancode otherwise
|
||||||
DebugEditorKey=0
|
DebugEditorKey=0
|
||||||
|
|
||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
[Misc]
|
[Misc]
|
||||||
|
|
||||||
;Time limit in years. Must be between -3 and 13
|
;Time limit in years. Must be between -3 and 13
|
||||||
@@ -164,28 +163,14 @@ WorldMapFPSPatch=1
|
|||||||
;Controls the world map speed if WorldMapFPSPatch is 1. Higher values cause slower movement
|
;Controls the world map speed if WorldMapFPSPatch is 1. Higher values cause slower movement
|
||||||
WorldMapDelay2=66
|
WorldMapDelay2=66
|
||||||
|
|
||||||
;XX OBSOLETE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;Set to 1 to enable Ray's patch to make world map encounter rate independent of your travel speed
|
||||||
;XX
|
;Higher values of WorldMapEncounterRate cause a slower encounter rate
|
||||||
;XX ;This will change the physical speed at which you move across the map
|
WorldMapEncounterFix=0
|
||||||
;XX ;Set to 0 to leave at the default. (i.e. limited by vwait in windowed mode, or by processor speed in fullscreen)
|
WorldMapEncounterRate=5
|
||||||
;XX ;If set to something other than 0, it enforces a maximum fps on the world map screen.
|
|
||||||
;XX ;Changing this to something other than 0 is not recommended if you've already applied a world map speed patch to your Fallout exe.
|
|
||||||
;XX WorldMapFPS=0
|
|
||||||
;XX
|
|
||||||
;XX ;Only set to 1 if your systems high performance timer is unreliable for some reason
|
|
||||||
;XX ForceLowResolutionTimer=0
|
|
||||||
;XX
|
|
||||||
;XX ;Set to 1 to enable Ray's patch to make world map encounter rate independent of your travel speed
|
|
||||||
;XX WorldMapEncounterFix=0
|
|
||||||
;XX WorldMapEncounterRate=6
|
|
||||||
;XX
|
|
||||||
;XX ;Obsolete, but can still be used if you know what it does.
|
|
||||||
;XX ;WorldMapDelay=0
|
|
||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
||||||
|
|
||||||
;The number of slots available in the locations list panel of the world map
|
;The number of slots available in the locations list panel of the world map
|
||||||
;Set to 0 to leave unchanged. 17 is default.
|
;Set to 0 to leave unchanged. 17 is default.
|
||||||
;Setting this greater than 17 requires a replacement background frm, or you'll get glitched graphics
|
;Setting this greater than 17 requires a replacement background FRM, or you'll get glitched graphics
|
||||||
WorldMapSlots=0
|
WorldMapSlots=0
|
||||||
|
|
||||||
;To start a new game somewhere other than artemple.map, uncomment the next line and set it to the map you want to load
|
;To start a new game somewhere other than artemple.map, uncomment the next line and set it to the map you want to load
|
||||||
@@ -205,11 +190,15 @@ WorldMapSlots=0
|
|||||||
;PatchFile=patch%03d.dat
|
;PatchFile=patch%03d.dat
|
||||||
;MultiPatches=0
|
;MultiPatches=0
|
||||||
|
|
||||||
;Set to 1 to enable the modified data load order for the engine to find game data
|
;Set to 1 to use the modified data load order for the engine to find game data
|
||||||
;Original: patchXXX.dat > critter_patches > critter_dat > f2_res_patches > f2_res_dat > master_patches > master_dat
|
;Original: patchXXX.dat > critter_patches > critter_dat > f2_res_patches > f2_res_dat > master_patches > master_dat
|
||||||
;Modified: master_patches > critter_patches > patchXXX.dat > critter_dat > f2_res_patches > f2_res_dat > master_dat
|
;Modified: master_patches > critter_patches > patchXXX.dat > critter_dat > f2_res_patches > f2_res_dat > master_dat
|
||||||
DataLoadOrderPatch=0
|
DataLoadOrderPatch=0
|
||||||
|
|
||||||
|
;Set to 1 to enable loading alternative dialog msg files from text/language/dialog_female/ for female PC
|
||||||
|
;Set to 2 to also load subtitle files from text/language/cuts_female/ for female PC
|
||||||
|
FemaleDialogMsgs=0
|
||||||
|
|
||||||
;To change the default and starting player models, uncomment the next four lines.
|
;To change the default and starting player models, uncomment the next four lines.
|
||||||
;The default models can also be changed ingame via script
|
;The default models can also be changed ingame via script
|
||||||
;MaleStartModel=hmwarr
|
;MaleStartModel=hmwarr
|
||||||
@@ -238,6 +227,7 @@ Movie16=artimer4.mve
|
|||||||
Movie17=credits.mve
|
Movie17=credits.mve
|
||||||
|
|
||||||
;To change the starting year, month or day, uncomment the next 3 lines
|
;To change the starting year, month or day, uncomment the next 3 lines
|
||||||
|
;Both StartMonth and StartDay are 0-indexed
|
||||||
;StartYear=-1
|
;StartYear=-1
|
||||||
;StartMonth=-1
|
;StartMonth=-1
|
||||||
;StartDay=-1
|
;StartDay=-1
|
||||||
@@ -257,7 +247,7 @@ PipBoyAvailableAtGameStart=0
|
|||||||
|
|
||||||
;Set to 1 to double the number of available kill types
|
;Set to 1 to double the number of available kill types
|
||||||
;If you use this, you need to provide the extra descriptions in proto.msg (entries from 1450 to 1487 are names and 1488 to 1525 are descriptions)
|
;If you use this, you need to provide the extra descriptions in proto.msg (entries from 1450 to 1487 are names and 1488 to 1525 are descriptions)
|
||||||
;Changing this option mid game will not invalidate old save games, but the players kill counters will be completely screwed.
|
;Changing this option mid game will not invalidate old save games, but the player's kill counters will be completely screwed.
|
||||||
;Setting this to 1 may cause problems if the player kills more than 32767 of any one critter type
|
;Setting this to 1 may cause problems if the player kills more than 32767 of any one critter type
|
||||||
;Additional kill types must have their new critical tables set! (See the OverrideCriticalTable option)
|
;Additional kill types must have their new critical tables set! (See the OverrideCriticalTable option)
|
||||||
ExtraKillTypes=0
|
ExtraKillTypes=0
|
||||||
@@ -279,8 +269,8 @@ TownMapHotkeysFix=1
|
|||||||
;Set to 1 to disable the horrigan encounter
|
;Set to 1 to disable the horrigan encounter
|
||||||
DisableHorrigan=0
|
DisableHorrigan=0
|
||||||
|
|
||||||
;Set to 1 to disable the random element in npc levelling.
|
;Set to 1 to disable the random element in NPC levelling.
|
||||||
;This will cause all npc party members to automatically level up as soon as the player reaches the requirements
|
;This will cause all NPC party members to automatically level up as soon as the player reaches the requirements
|
||||||
NPCAutoLevel=0
|
NPCAutoLevel=0
|
||||||
|
|
||||||
;Change the initial starting location and world map viewport
|
;Change the initial starting location and world map viewport
|
||||||
@@ -305,10 +295,10 @@ SaveInCombatFix=1
|
|||||||
;ElevatorsFile=Elevators.ini
|
;ElevatorsFile=Elevators.ini
|
||||||
|
|
||||||
;Uncomment and set a comma delimited list of numbers to use a custom xp table.
|
;Uncomment and set a comma delimited list of numbers to use a custom xp table.
|
||||||
;Players level is capped once the highest specified level is reached
|
;Player's level is capped once the highest specified level is reached
|
||||||
;XPTable=50,100,200
|
;XPTable=50,100,200
|
||||||
|
|
||||||
;Set to 1 to enable additional weapon animations codes from o-t
|
;Set to 1 to enable additional weapon animation codes from o-t
|
||||||
;The 4 byte value at 0x39 of weapon protos may range from 0 to 15 rather than 0 to 10
|
;The 4 byte value at 0x39 of weapon protos may range from 0 to 15 rather than 0 to 10
|
||||||
;Since the letters 'n' and 'r' are in use for other animations, an animation code of 11 corrisponds to 's' and 15 to 't'
|
;Since the letters 'n' and 'r' are in use for other animations, an animation code of 11 corrisponds to 's' and 15 to 't'
|
||||||
AdditionalWeaponAnims=1
|
AdditionalWeaponAnims=1
|
||||||
@@ -317,7 +307,7 @@ AdditionalWeaponAnims=1
|
|||||||
;BodyHit_Head=-40
|
;BodyHit_Head=-40
|
||||||
;BodyHit_Left_Arm=-30
|
;BodyHit_Left_Arm=-30
|
||||||
;BodyHit_Right_Arm=-30
|
;BodyHit_Right_Arm=-30
|
||||||
;BodyHit_Torso=0
|
;BodyHit_Torso_Uncalled=0
|
||||||
;BodyHit_Right_Leg=-20
|
;BodyHit_Right_Leg=-20
|
||||||
;BodyHit_Left_Leg=-20
|
;BodyHit_Left_Leg=-20
|
||||||
;BodyHit_Eyes=-60
|
;BodyHit_Eyes=-60
|
||||||
@@ -345,7 +335,7 @@ CorpseLineOfFireFix=0
|
|||||||
;Set a number of milliseconds to idle each input loop
|
;Set a number of milliseconds to idle each input loop
|
||||||
;Set to -1 to disable
|
;Set to -1 to disable
|
||||||
;Set to 0 to idle only if other processes are waiting for processor time
|
;Set to 0 to idle only if other processes are waiting for processor time
|
||||||
;Set to 1 (or some higher number if needed, the maximum is 127) to prevent 100% cpu use
|
;Set to 1 (or some higher number if needed, the maximum is 127) to prevent 100% CPU use
|
||||||
ProcessorIdle=-1
|
ProcessorIdle=-1
|
||||||
|
|
||||||
;Set to 1 if using the hero appearance mod
|
;Set to 1 if using the hero appearance mod
|
||||||
@@ -354,17 +344,24 @@ EnableHeroAppearanceMod=0
|
|||||||
;Set to 1 to skip the 3 opening movies
|
;Set to 1 to skip the 3 opening movies
|
||||||
SkipOpeningMovies=0
|
SkipOpeningMovies=0
|
||||||
|
|
||||||
;Causes npc's who complete their combat turn with ap left over will try and find other ways to spend it.
|
;Causes NPCs who complete their combat turn with ap left over will try and find other ways to spend it.
|
||||||
;Only npcs with ap left equal to or greater than the value given here will be considered.
|
;Only NPCs with ap left equal to or greater than the value given here will be considered.
|
||||||
;Set to 0 to disable
|
;Set to 0 to disable
|
||||||
NPCsTryToSpendExtraAP=0
|
NPCsTryToSpendExtraAP=0
|
||||||
|
|
||||||
|
;Set to 1 to fix NPCs not checking weapon perks properly when searching for the best weapon
|
||||||
|
;Note that enabling this option can significantly affect the weapon choice of some NPCs in combat
|
||||||
|
AIBestWeaponFix=0
|
||||||
|
|
||||||
;Allows the use of tiles over 80*36 in size. sfall will just split and resave them at startup
|
;Allows the use of tiles over 80*36 in size. sfall will just split and resave them at startup
|
||||||
;Set to 1 to check all tiles on started (slow)
|
;Set to 1 to check all tiles on started (slow)
|
||||||
;set to 2 if you provide a XLtiles.lst file in art/tiles/ containing a list of the tile ids that need checking
|
;Set to 2 if you provide a XLtiles.lst file in art/tiles/ containing a list of the tile ids that need checking
|
||||||
AllowLargeTiles=0
|
AllowLargeTiles=0
|
||||||
|
|
||||||
;Change the skilldex cursor frm numbers
|
;Set to 1 to boost the maximum number of tile FRMs from 4096 to 16383
|
||||||
|
MoreTiles=0
|
||||||
|
|
||||||
|
;Change the Skilldex cursor FRM numbers
|
||||||
;Default is 293 for all skills
|
;Default is 293 for all skills
|
||||||
Lockpick=293
|
Lockpick=293
|
||||||
Steal=293
|
Steal=293
|
||||||
@@ -377,17 +374,22 @@ Repair=293
|
|||||||
;Remove window position rounding
|
;Remove window position rounding
|
||||||
RemoveWindowRounding=0
|
RemoveWindowRounding=0
|
||||||
|
|
||||||
;Set to 1 to add scroll buttons to the pip boy quest list, and remove the quests per area limit
|
;Set to 1 to add scroll buttons to the pipboy quest list, and remove the quests per area limit
|
||||||
|
;Set to 2 to use a different set of scroll buttons
|
||||||
UseScrollingQuestsList=1
|
UseScrollingQuestsList=1
|
||||||
|
|
||||||
|
;To change the location of quest list scroll buttons, uncomment the next two lines
|
||||||
|
;Defaults are 140 for the X-axis and 334 for the Y-axis
|
||||||
|
;QuestsScrollButtonsX=140
|
||||||
|
;QuestsScrollButtonsY=334
|
||||||
|
|
||||||
;Uncomment these lines to control the premade characters offered when starting a new game
|
;Uncomment these lines to control the premade characters offered when starting a new game
|
||||||
;Multiple options should be separated by commas, and there must be the same number of entries in both lines
|
;Multiple options should be separated by commas, and there must be the same number of entries in both lines
|
||||||
;PremadePaths=combat,diplomat,stealth
|
;PremadePaths=combat,diplomat,stealth
|
||||||
;PremadeFIDs=201,203,202
|
;PremadeFIDs=201,203,202
|
||||||
|
|
||||||
;Use this line to modify the list of cities and their associated global variables used for city reputations
|
;Use this line to modify the list of cities and their associated global variables used for city reputations
|
||||||
;Syntax is 'city id : global id',with each city/global pair separated by a comma.
|
;Syntax is 'city id:global id', with each city/global pair separated by a comma.
|
||||||
;CityRepsCount=19
|
|
||||||
;CityRepsList=0:47,2:48,1:49,4:50,5:51,3:52,8:53,6:54,7:55,13:56,10:57,11:59,14:61,17:63,19:64,18:65,25:66,9:294,20:308
|
;CityRepsList=0:47,2:48,1:49,4:50,5:51,3:52,8:53,6:54,7:55,13:56,10:57,11:59,14:61,17:63,19:64,18:65,25:66,9:294,20:308
|
||||||
|
|
||||||
;Set this to a valid path to save a copy of the console contents
|
;Set this to a valid path to save a copy of the console contents
|
||||||
@@ -396,24 +398,35 @@ UseScrollingQuestsList=1
|
|||||||
;Set to 1 to add additional pages of save slots
|
;Set to 1 to add additional pages of save slots
|
||||||
ExtraSaveSlots=0
|
ExtraSaveSlots=0
|
||||||
|
|
||||||
;Set to 1 to speed up the hp/ac counter animations
|
;To use more than one save slot for quick saving (F6 key) without picking a slot beforehand, set the next two lines
|
||||||
;Set to 2 to update the hp/ac counters instantly
|
;AutoQuickSave sets how many save slots on a page you want to use for quick saving (valid range: 1..10)
|
||||||
|
;AutoQuickSavePage is the page number to use (valid range: 1..1000) if ExtraSaveSlots is enabled
|
||||||
|
;The quick saves will be rotated from the first slot on the page to the n-th slot
|
||||||
|
;Set to 0 to disable. AutoQuickSave will use page 1 if AutoQuickSavePage is disabled
|
||||||
|
AutoQuickSave=0
|
||||||
|
AutoQuickSavePage=0
|
||||||
|
|
||||||
|
;Set to 1 to speed up the HP/AC counter animations
|
||||||
|
;Set to 2 to update the HP/AC counters instantly
|
||||||
SpeedInterfaceCounterAnims=0
|
SpeedInterfaceCounterAnims=0
|
||||||
|
|
||||||
;These lines allow you to control the karma frm's displayed on the character screen
|
;These lines allow you to control the karma FRMs displayed on the character screen
|
||||||
;KarmaFRMsCount=3
|
;Number of KarmaPoints should be 1 less than number of KarmaFRMs
|
||||||
;KarmaFRMs=47,48,49
|
;KarmaFRMs=47,48,49
|
||||||
;KarmaPoints=-100,100
|
;KarmaPoints=-100,100
|
||||||
|
|
||||||
;Set to 1 to allow science and repair to be used on the player, or 2 for all critters. (Rather than only brahmin/robots)
|
;Set to 1 to allow science and repair to be used on the player, or 2 for all critters. (Rather than only brahmin/robots)
|
||||||
ScienceOnCritters=0
|
ScienceOnCritters=0
|
||||||
|
|
||||||
;Modify this value to change the players speed of rotation on the inventory and character screens
|
;Modify this value to change the player's speed of rotation on the inventory and character screens
|
||||||
;Default is 166
|
;Default is 166
|
||||||
SpeedInventoryPCRotation=166
|
SpeedInventoryPCRotation=166
|
||||||
|
|
||||||
;Uncomment to set the text colour of the extra 5 interface boxes
|
;Modify the number of the extra interface boxes available to modders. (Default is 5, and the maximum is 95)
|
||||||
;The line must contain a 5 digits, each either a 0 for green or 1 for red
|
BoxBarCount=5
|
||||||
|
|
||||||
|
;Uncomment to set the text colour of the extra interface boxes
|
||||||
|
;The line must contain the same number of digits as the value of BoxBarCount, each either a 0 for green or 1 for red
|
||||||
;BoxBarColours=00000
|
;BoxBarColours=00000
|
||||||
|
|
||||||
;Set to 1 to fix the bug that caused bonus HtH damage to not be applied correctly.
|
;Set to 1 to fix the bug that caused bonus HtH damage to not be applied correctly.
|
||||||
@@ -422,6 +435,9 @@ BonusHtHDamageFix=1
|
|||||||
;Set to 1 to display additional points of damage from Bonus HtH/Ranged Damage perks in the inventory
|
;Set to 1 to display additional points of damage from Bonus HtH/Ranged Damage perks in the inventory
|
||||||
DisplayBonusDamage=0
|
DisplayBonusDamage=0
|
||||||
|
|
||||||
|
;Set to 1 to display the range of the second attack mode in the inventory when you switch weapon modes in active item slots
|
||||||
|
DisplaySecondWeaponRange=1
|
||||||
|
|
||||||
;Modify the maximum number of animations allowed to run on a map. (Default is 32, and the maximum is 127)
|
;Modify the maximum number of animations allowed to run on a map. (Default is 32, and the maximum is 127)
|
||||||
AnimationsAtOnceLimit=120
|
AnimationsAtOnceLimit=120
|
||||||
|
|
||||||
@@ -432,7 +448,7 @@ RemoveCriticalTimelimits=0
|
|||||||
NPCStage6Fix=0
|
NPCStage6Fix=0
|
||||||
|
|
||||||
;Change the colour of the font used on the main menu for the Fallout/sfall version number
|
;Change the colour of the font used on the main menu for the Fallout/sfall version number
|
||||||
;It's the last byte ('3c' by default,) that picks the colour used. The first byte supplies additional flags
|
;It's the last byte ('3c' by default) that picks the colour used. The first byte supplies additional flags
|
||||||
;MainMenuFontColour=0x0600003c
|
;MainMenuFontColour=0x0600003c
|
||||||
|
|
||||||
;Two alternate fixes to the interaction between HtH attacks and the fast shot trait
|
;Two alternate fixes to the interaction between HtH attacks and the fast shot trait
|
||||||
@@ -453,7 +469,7 @@ BoostScriptDialogLimit=0
|
|||||||
;DerivedStats=Stats.ini
|
;DerivedStats=Stats.ini
|
||||||
|
|
||||||
;These options modify the checks to see if a critter can carry an additional item, changing which items are counted towards the weight limit and adding an additional size check
|
;These options modify the checks to see if a critter can carry an additional item, changing which items are counted towards the weight limit and adding an additional size check
|
||||||
;Set the mode to 0 to disable the size check, 1 to apply to pc only, 2 to apply to the pc and party members, or 3 to apply to all critters
|
;Set the mode to 0 to disable the size check, 1 to apply to the PC only, 2 to apply to the PC and party members, or 3 to apply to all critters
|
||||||
;Only the PC uses CritterInvSizeLimit. Other critters will use the extra unused stat (STAT_unused = 10)
|
;Only the PC uses CritterInvSizeLimit. Other critters will use the extra unused stat (STAT_unused = 10)
|
||||||
;Add 4 to the mode to limit the weight check to used items only
|
;Add 4 to the mode to limit the weight check to used items only
|
||||||
CritterInvSizeLimitMode=0
|
CritterInvSizeLimitMode=0
|
||||||
@@ -462,7 +478,6 @@ CritterInvSizeLimit=200
|
|||||||
;Some bit flags to alter behaviour of the motion sensor
|
;Some bit flags to alter behaviour of the motion sensor
|
||||||
;1 - Allow sensor use on automap when motion sensor is in pack rather than hands
|
;1 - Allow sensor use on automap when motion sensor is in pack rather than hands
|
||||||
;2 - Motion sensor doesn't require charges
|
;2 - Motion sensor doesn't require charges
|
||||||
;4 - Motion sensor is required to use the item highlight feature
|
|
||||||
MotionScannerFlags=1
|
MotionScannerFlags=1
|
||||||
|
|
||||||
;Set to non-0 to adjust the maximum encounter table size
|
;Set to non-0 to adjust the maximum encounter table size
|
||||||
@@ -488,6 +503,9 @@ QuickPocketsApCostReduction=2
|
|||||||
;Set to 1 to allow objects seeing through other objects with their ShootThru flag set
|
;Set to 1 to allow objects seeing through other objects with their ShootThru flag set
|
||||||
ObjCanSeeObj_ShootThru_Fix=0
|
ObjCanSeeObj_ShootThru_Fix=0
|
||||||
|
|
||||||
|
;Set to 1 to fix the broken obj_can_hear_obj script function
|
||||||
|
ObjCanHearObjFix=0
|
||||||
|
|
||||||
;Set to 1 to enable the balanced bullet distribution formula for burst attacks
|
;Set to 1 to enable the balanced bullet distribution formula for burst attacks
|
||||||
ComputeSprayMod=0
|
ComputeSprayMod=0
|
||||||
|
|
||||||
@@ -535,14 +553,6 @@ DialogPanelAnimDelay=33
|
|||||||
;Controls the speed of pipboy alarm clock animations (lower - faster; valid range: 0..127)
|
;Controls the speed of pipboy alarm clock animations (lower - faster; valid range: 0..127)
|
||||||
PipboyTimeAnimDelay=50
|
PipboyTimeAnimDelay=50
|
||||||
|
|
||||||
;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 ControlCombatPIDList line and set a comma delimited list of PIDs
|
|
||||||
ControlCombat=0
|
|
||||||
;ControlCombatPIDList=62,89,97,107,160,161
|
|
||||||
|
|
||||||
;Set to 1 to stack empty identical weapons, no matter what type of ammo was loaded before
|
;Set to 1 to stack empty identical weapons, no matter what type of ammo was loaded before
|
||||||
StackEmptyWeapons=0
|
StackEmptyWeapons=0
|
||||||
|
|
||||||
@@ -553,31 +563,60 @@ StackEmptyWeapons=0
|
|||||||
;If the amount of ammo boxes in the inventory is less than or equal to the reserve, only one box will be used
|
;If the amount of ammo boxes in the inventory is less than or equal to the reserve, only one box will be used
|
||||||
ReloadReserve=-1
|
ReloadReserve=-1
|
||||||
|
|
||||||
|
;Set to 1 to change the counter in the 'Move Items' window to start at the maximum number of items
|
||||||
|
ItemCounterDefaultMax=0
|
||||||
|
|
||||||
;Allows 9 options (lines of text) to be displayed correctly in a dialog window
|
;Allows 9 options (lines of text) to be displayed correctly in a dialog window
|
||||||
DialogOptions9Lines=1
|
DialogOptions9Lines=1
|
||||||
|
|
||||||
;Set to 1 to leave the music playing in dialogue with talking heads
|
;Set to 1 to leave the music playing in dialogue with talking heads
|
||||||
EnableMusicInDialogue=0
|
EnableMusicInDialogue=0
|
||||||
|
|
||||||
|
;Set to 1 to prevent the player from running while sneaking without Silent Running perk
|
||||||
|
DontTurnOffSneakIfYouRun=0
|
||||||
|
|
||||||
;Set to 1 to fix the bug that unable to sell used geiger counters or stealth boys
|
;Set to 1 to fix the bug that unable to sell used geiger counters or stealth boys
|
||||||
CanSellUsedGeiger=1
|
CanSellUsedGeiger=1
|
||||||
|
|
||||||
;Set to 1 to fix the issue with being able to charge the car by using cells on other scenary/critters
|
;Set to 1 to fix the issue with being able to charge the car by using cells on other scenary/critters
|
||||||
|
;Set to 0 if another mod you're using has custom vehicles
|
||||||
CarChargingFix=1
|
CarChargingFix=1
|
||||||
|
|
||||||
;Set to 1 to skip weapon equip/unequip animations when performing various actions
|
;Set to 1 to skip weapon equip/unequip animations when performing various actions
|
||||||
InstantWeaponEquip=0
|
InstantWeaponEquip=0
|
||||||
|
|
||||||
;To add additional game msg files, uncomment the next line and set a comma delimited list of filenames without .msg extension
|
;To add additional game msg files, uncomment the next line and set a comma delimited list of filenames without .msg extension
|
||||||
|
;By default, the files will have consecutive numbers assigned beginning with 0
|
||||||
|
;You can use the syntax 'filename:number' to manually assign numbers to specific msg files, with each pair separated by a comma
|
||||||
|
;If a file after the specified pair does not have a number assigned, it will have the next consecutive number from the last pair
|
||||||
;You need to use the message_str_game script function to get messages from the files
|
;You need to use the message_str_game script function to get messages from the files
|
||||||
;ExtraGameMsgFileList=
|
;ExtraGameMsgFileList=
|
||||||
|
|
||||||
;Set to 1 to display numbered dialogue options
|
;Set to 1 to display numbered dialogue options
|
||||||
NumbersInDialogue=0
|
NumbersInDialogue=0
|
||||||
|
|
||||||
|
;Set to 1 to use Fallout's normal text font instead of DOS-like font on the world map
|
||||||
|
WorldMapFontPatch=0
|
||||||
|
|
||||||
|
;Set to 1 to keep the selected attack mode when moving the weapon between active item slots
|
||||||
|
KeepWeaponSelectMode=1
|
||||||
|
|
||||||
|
;Set to 1 to display full item description for weapon/ammo in barter screen
|
||||||
|
FullItemDescInBarter=0
|
||||||
|
|
||||||
|
;Set to 1 to display experience points with the bonus from Swift Learner perk when gained from non-scripted situations
|
||||||
|
DisplaySwiftLearnerExp=1
|
||||||
|
|
||||||
;Set to 1 to display sfall built-in credits at the bottom of credits.txt contents instead of at the top
|
;Set to 1 to display sfall built-in credits at the bottom of credits.txt contents instead of at the top
|
||||||
CreditsAtBottom=0
|
CreditsAtBottom=0
|
||||||
|
|
||||||
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
|
[Scripts]
|
||||||
|
;Comma-separated list of masked paths to load global scripts from
|
||||||
|
;Only use single slash \ as directory separator
|
||||||
|
;Paths outside of scripts folder are supported
|
||||||
|
GlobalScriptPaths=scripts\gl*.int,scripts\sfall\gl*.int
|
||||||
|
|
||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
[Debugging]
|
[Debugging]
|
||||||
;Extra sfall configuration settings that can be used by modders
|
;Extra sfall configuration settings that can be used by modders
|
||||||
@@ -606,10 +645,12 @@ DebugMode=0
|
|||||||
SkipCompatModeCheck=0
|
SkipCompatModeCheck=0
|
||||||
|
|
||||||
;Set to 1 to skip the executable file size check
|
;Set to 1 to skip the executable file size check
|
||||||
|
;Does not require enabling sfall debugging mode
|
||||||
SkipSizeCheck=0
|
SkipSizeCheck=0
|
||||||
|
|
||||||
;If you're testing changes to the Fallout exe, you can override the crc that sfall looks for here
|
;If you're testing changes to the Fallout exe, you can override the CRC that sfall looks for here
|
||||||
;You can use several hex values, separated by commas
|
;You can use several hex values, separated by commas
|
||||||
|
;Does not require enabling sfall debugging mode
|
||||||
;ExtraCRC=0x00000000,0x00000000
|
;ExtraCRC=0x00000000,0x00000000
|
||||||
|
|
||||||
;Set to 1 to stop Fallout from deleting non readonly protos at startup
|
;Set to 1 to stop Fallout from deleting non readonly protos at startup
|
||||||
@@ -619,6 +660,9 @@ DontDeleteProtos=0
|
|||||||
;Set to 1 to give scripts direct access to Fallout's address space, and to make arbitrary calls into Fallout's code
|
;Set to 1 to give scripts direct access to Fallout's address space, and to make arbitrary calls into Fallout's code
|
||||||
AllowUnsafeScripting=0
|
AllowUnsafeScripting=0
|
||||||
|
|
||||||
|
;Set to 1 to force sfall to inject all hooks code into the game, even if corresponding hook scripts don't exist
|
||||||
|
InjectAllGameHooks=0
|
||||||
|
|
||||||
;These options control what output is saved in the debug log (sfall-log.txt)
|
;These options control what output is saved in the debug log (sfall-log.txt)
|
||||||
|
|
||||||
;Prints messages duing sfall initialization
|
;Prints messages duing sfall initialization
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
Auto Doors mod for Fallout 2 by Mr.Stalin
|
||||||
|
-----------------------------------------
|
||||||
|
|
||||||
|
- allows the player to automatically open/walk through unlocked doors when not in combat
|
||||||
|
|
||||||
|
Requires sfall 3.7b or higher
|
||||||
|
|
||||||
|
NOTE: this script requires compiler from sfall modderspack with -s option
|
||||||
|
(short circuit evaluation)
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "..\headers\define.h"
|
||||||
|
#include "..\headers\command.h"
|
||||||
|
#include "..\headers\sfall\sfall.h"
|
||||||
|
#include "..\headers\sfall\define_extra.h"
|
||||||
|
|
||||||
|
procedure start;
|
||||||
|
procedure map_enter_p_proc;
|
||||||
|
procedure set_door_flag(variable state);
|
||||||
|
procedure combatturn_handler;
|
||||||
|
|
||||||
|
#define PORTAL (0)
|
||||||
|
#define DOOR_FLAGS (0x24)
|
||||||
|
|
||||||
|
variable only_once := 0;
|
||||||
|
|
||||||
|
procedure start begin
|
||||||
|
if game_loaded then begin
|
||||||
|
if (sfall_ver_major >= 4) then
|
||||||
|
register_hook_proc(HOOK_COMBATTURN, combatturn_handler);
|
||||||
|
else
|
||||||
|
set_global_script_repeat(60);
|
||||||
|
call map_enter_p_proc;
|
||||||
|
end else begin
|
||||||
|
if (only_once == 1 and combat_is_initialized) then begin
|
||||||
|
only_once := 2;
|
||||||
|
call set_door_flag(false);
|
||||||
|
end else if (only_once == 2 and not(combat_is_initialized)) then begin
|
||||||
|
only_once := 1;
|
||||||
|
if (sfall_ver_major >= 4) then
|
||||||
|
set_global_script_repeat(0);
|
||||||
|
call set_door_flag(FLAG_WALKTHRU);
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
procedure map_enter_p_proc begin
|
||||||
|
only_once := 1;
|
||||||
|
call set_door_flag(FLAG_WALKTHRU);
|
||||||
|
end
|
||||||
|
|
||||||
|
procedure set_door_flag(variable state) begin
|
||||||
|
variable objectMap, obj, objPid, arrayPid, i;
|
||||||
|
|
||||||
|
objectMap := list_as_array(LIST_SCENERY);
|
||||||
|
arrayPid := temp_array(1, 0);
|
||||||
|
|
||||||
|
foreach (obj in objectMap) begin
|
||||||
|
objPid := obj_pid(obj);
|
||||||
|
|
||||||
|
if (proto_data(objPid, sc_type) != PORTAL) or is_in_array(objPid, arrayPid) then
|
||||||
|
continue;
|
||||||
|
|
||||||
|
arrayPid[i] := objPid;
|
||||||
|
i++;
|
||||||
|
resize_array(arrayPid, i + 1);
|
||||||
|
set_proto_data(objPid, DOOR_FLAGS, state);
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
procedure combatturn_handler begin
|
||||||
|
if (only_once == 1) then
|
||||||
|
set_global_script_repeat(60);
|
||||||
|
end
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Auto Doors mod for Fallout 2 by Mr.Stalin
|
||||||
|
-----------------------------------------
|
||||||
|
|
||||||
|
- allows the player to automatically open/walk through unlocked doors when not in combat
|
||||||
|
|
||||||
|
|
||||||
|
Requires sfall 3.7b or higher.
|
||||||
|
|
||||||
|
To use, copy gl_autodoors.int to your scripts folder.
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
Example implementation of the algorithm of how the game engine sets the explosive timer.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "..\..\scripting_docs\headers\sfall.h"
|
||||||
|
#include "..\..\scripting_docs\headers\define_lite.h"
|
||||||
|
|
||||||
|
// from CONDTION.H
|
||||||
|
#define ROLL_CRITICAL_FAILURE (0)
|
||||||
|
#define ROLL_FAILURE (1)
|
||||||
|
#define ROLL_SUCCESS (2)
|
||||||
|
#define ROLL_CRITICAL_SUCCESS (3)
|
||||||
|
|
||||||
|
procedure start;
|
||||||
|
|
||||||
|
procedure start begin
|
||||||
|
if game_loaded then begin
|
||||||
|
register_hook(HOOK_EXPLOSIVETIMER);
|
||||||
|
end else begin
|
||||||
|
variable
|
||||||
|
time := get_sfall_arg,
|
||||||
|
result := ROLL_CRITICAL_FAILURE;
|
||||||
|
|
||||||
|
if has_trait(TRAIT_PERK, dude_obj, PERK_demolition_expert_perk) then
|
||||||
|
result := ROLL_SUCCESS;
|
||||||
|
else begin
|
||||||
|
result := roll_vs_skill(dude_obj, SKILL_TRAPS, 0);
|
||||||
|
end
|
||||||
|
|
||||||
|
if (result) then begin
|
||||||
|
if (result == ROLL_FAILURE) then
|
||||||
|
time /= 2;
|
||||||
|
else begin // success or critical success
|
||||||
|
result := ROLL_SUCCESS;
|
||||||
|
end
|
||||||
|
end else begin // critical failure
|
||||||
|
time := 0;
|
||||||
|
result := ROLL_FAILURE;
|
||||||
|
end
|
||||||
|
|
||||||
|
set_sfall_return(time);
|
||||||
|
set_sfall_return(result); // failure/success
|
||||||
|
end
|
||||||
|
end
|
||||||
Binary file not shown.
+13
-11
@@ -1,22 +1,24 @@
|
|||||||
procedure start;
|
procedure start;
|
||||||
// adjust include paths if needed
|
// adjust include paths if needed
|
||||||
#include "..\..\scripting_docs\headers\sfall.h"
|
#include "..\..\scripting_docs\headers\sfall.h"
|
||||||
|
|
||||||
#define RESULT_SUCCESS (1)
|
#define RESULT_SUCCESS (1)
|
||||||
#define RESULT_FAIL (0)
|
#define RESULT_FAIL (0)
|
||||||
|
|
||||||
procedure start begin
|
procedure start begin
|
||||||
if not init_hook then begin
|
if game_loaded then begin
|
||||||
|
register_hook(HOOK_STEAL);
|
||||||
|
end else begin
|
||||||
variable
|
variable
|
||||||
thief := get_sfall_arg,
|
thief := get_sfall_arg,
|
||||||
target := get_sfall_arg,
|
target := get_sfall_arg,
|
||||||
item := get_sfall_arg,
|
item := get_sfall_arg,
|
||||||
action := get_sfall_arg,
|
action := get_sfall_arg,
|
||||||
result := RESULT_SUCCESS;
|
result := RESULT_SUCCESS;
|
||||||
|
|
||||||
if (thief == dude_obj) then begin
|
if (thief == dude_obj) then begin
|
||||||
display_msg(sprintf(mstr_skill(570 + result + action*2), obj_name(item)));
|
display_msg(sprintf(mstr_skill(570 + result + action*2), obj_name(item)));
|
||||||
set_sfall_return(result);
|
set_sfall_return(result);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Binary file not shown.
Binary file not shown.
@@ -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.
@@ -1,16 +0,0 @@
|
|||||||
procedure start;
|
|
||||||
#include ".\HEADERS\dik.h"
|
|
||||||
|
|
||||||
procedure start begin
|
|
||||||
variable event, keyDX;
|
|
||||||
if not init_hook then begin
|
|
||||||
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
|
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
- makes pressing the semicolon key send an uppercase A after a semicolon.
|
- makes pressing the semicolon key send an uppercase A after a semicolon.
|
||||||
- the uppercase A (shift + A if Caps Lock is off) is the built-in hotkey for the TAKE ALL button on the loot screen.
|
- Note: the uppercase A (shift + A if Caps Lock is off) is the built-in hotkey for the TAKE ALL button on the loot screen.
|
||||||
|
|
||||||
To use, copy hs_keypress.int file to your scripts folder.
|
To use, copy *.int file to your scripts folder.
|
||||||
|
|
||||||
This mod is a simple example of how you can use HOOK_KEYPRESS hooks.
|
This mod is a simple example of how you can use HOOK_KEYPRESS hooks.
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
Example implementation of the algorithm of how the game engine checks if one critter sees another critter.
|
||||||
|
|
||||||
|
NOTE: the AllowUnsafeScripting option must be enabled.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "..\headers\define.h"
|
||||||
|
#include "..\headers\command.h"
|
||||||
|
#include "..\headers\sfall\sfall.h"
|
||||||
|
#include "..\headers\sfall\define_extra.h"
|
||||||
|
|
||||||
|
#define can_see_(source, target) call_offset_r2(0x412BEC, source, target)
|
||||||
|
#define obj_dist_(target, source) call_offset_r2(0x48BBD4, target, source)
|
||||||
|
|
||||||
|
procedure start;
|
||||||
|
|
||||||
|
procedure start begin
|
||||||
|
if game_loaded then begin
|
||||||
|
register_hook(HOOK_WITHINPERCEPTION);
|
||||||
|
end else begin
|
||||||
|
variable
|
||||||
|
source := get_sfall_arg,
|
||||||
|
target := get_sfall_arg,
|
||||||
|
original := get_sfall_arg,
|
||||||
|
hookType := get_sfall_arg, /* new arg */
|
||||||
|
result := 0,
|
||||||
|
distance;
|
||||||
|
|
||||||
|
if target then begin
|
||||||
|
distance := get_critter_stat(source, STAT_pe);
|
||||||
|
|
||||||
|
if can_see_(source, target) then begin
|
||||||
|
distance *= 5;
|
||||||
|
if (get_flags(target) bwand FLAG_TRANSGLASS) then distance /= 2;
|
||||||
|
end else if combat_is_initialized then begin
|
||||||
|
distance *= 2;
|
||||||
|
end
|
||||||
|
|
||||||
|
if (target == dude_obj) then begin
|
||||||
|
if sneak_success then begin
|
||||||
|
distance /= 4;
|
||||||
|
if has_skill(target, SKILL_SNEAK) > 120 then distance -= 1;
|
||||||
|
end else if dude_is_sneaking then begin
|
||||||
|
distance := distance * 2 / 3;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if obj_dist_(target, source) <= distance then result := 1;
|
||||||
|
|
||||||
|
// example
|
||||||
|
if (result) then begin
|
||||||
|
display_msg("hs_withinperception: " + obj_name(source) + " sees " + obj_name(target) + " [original: " + original + " script: " + result + "]");
|
||||||
|
end else begin
|
||||||
|
display_msg("hs_withinperception: " + obj_name(source) + " does not see " + obj_name(target) + " [original: " + original + " script: " + result + "]");
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
//set_sfall_return(result);
|
||||||
|
end
|
||||||
|
end
|
||||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user