mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51864eaf6a | ||
|
|
cd828b9717 | ||
|
|
030533207f | ||
|
|
1d42a2242c | ||
|
|
191beb8e0c | ||
|
|
c27d1468ec | ||
|
|
0941b4684c | ||
|
|
866c95599d | ||
|
|
c14966f0b9 | ||
|
|
23d50410e2 | ||
|
|
9e250aeebb | ||
|
|
f2efc1978a | ||
|
|
30cabcff2d | ||
|
|
939cf8a089 | ||
|
|
c5ed504c62 | ||
|
|
f9157bee6d | ||
|
|
16843956b5 | ||
|
|
15564dc0ab | ||
|
|
be6347ba9b | ||
|
|
671065baed | ||
|
|
9e403e0e6b | ||
|
|
88050850f7 | ||
|
|
4618776322 | ||
|
|
ef89748eda | ||
|
|
a1c038846a | ||
|
|
ef0bdf1e3b | ||
|
|
bde6b94855 | ||
|
|
4535ec9e20 | ||
|
|
c736e39f9e | ||
|
|
83a91638c2 | ||
|
|
97c48909c0 | ||
|
|
dfeafc3058 | ||
|
|
1219571367 | ||
|
|
19f6d64e5b | ||
|
|
45a523f6ca | ||
|
|
3798247a68 | ||
|
|
279f91274e | ||
|
|
9d5bfaa059 | ||
|
|
2bc94e8036 | ||
|
|
d82db3f572 | ||
|
|
b24b5124d2 | ||
|
|
db5704f653 | ||
|
|
2764d2c9bc | ||
|
|
66058dd975 | ||
|
|
3550289ea6 | ||
|
|
02fba6eda1 | ||
|
|
ac233c710d | ||
|
|
be5447729e | ||
|
|
adb159c10d | ||
|
|
324f4d5939 | ||
|
|
50755832e3 | ||
|
|
f04442d4b7 | ||
|
|
dcbd6b5a23 | ||
|
|
f8aa6c449a | ||
|
|
65c4cf644a | ||
|
|
97fde2950c | ||
|
|
a488e9fc5b | ||
|
|
914c653d69 | ||
|
|
6d412e97fc | ||
|
|
1141348efe | ||
|
|
5c9d512d12 | ||
|
|
d36031613d | ||
|
|
cf277efc85 | ||
|
|
9a3b770182 | ||
|
|
fa9aa6dc6f | ||
|
|
3d99f6ea66 | ||
|
|
a02d90a52e | ||
|
|
ce5e9cd990 | ||
|
|
c71ca95665 | ||
|
|
2f750a8a4b | ||
|
|
ac28d7293b | ||
|
|
51dfee26d3 | ||
|
|
cbe6be6c46 | ||
|
|
349d217257 | ||
|
|
4e9d4f2f37 | ||
|
|
5eac185bfe | ||
|
|
e696db4b7b | ||
|
|
88d9126b18 | ||
|
|
a1d18983e4 | ||
|
|
8179583160 | ||
|
|
876616fc7d | ||
|
|
008692bec7 | ||
|
|
0dd8ea5335 | ||
|
|
bf9deabded | ||
|
|
11bcbe2013 | ||
|
|
806e09e501 | ||
|
|
2eb1c64bc3 | ||
|
|
a9cde5757f | ||
|
|
f16ba16d21 | ||
|
|
0ce02e2a12 | ||
|
|
96447ca1d3 | ||
|
|
a7355ad937 | ||
|
|
2badb5fdd2 | ||
|
|
282a491718 | ||
|
|
43fcaf41e1 | ||
|
|
3df322b80e | ||
|
|
0945382369 |
@@ -15,7 +15,8 @@ namespace FalloutClient {
|
|||||||
if (args.Length == 1 && args[0] == "-debugedit") {
|
if (args.Length == 1 && args[0] == "-debugedit") {
|
||||||
Application.Run(new DebugEditor(new EditorConnection()));
|
Application.Run(new DebugEditor(new EditorConnection()));
|
||||||
} else {
|
} else {
|
||||||
MessageBox.Show("The debug editor can only be run from the game.",
|
MessageBox.Show("The debug editor can only be run from the game.\n" +
|
||||||
|
"Use the key assigned to the DebugEditorKey option in ddraw.ini to run the debugger.",
|
||||||
"sfall Debug Editor", MessageBoxButtons.OK, MessageBoxIcon.Stop);
|
"sfall Debug Editor", MessageBoxButtons.OK, MessageBoxIcon.Stop);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9,14 +9,13 @@
|
|||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>FalloutClient</RootNamespace>
|
<RootNamespace>FalloutClient</RootNamespace>
|
||||||
<AssemblyName>FalloutClient</AssemblyName>
|
<AssemblyName>FalloutDebug</AssemblyName>
|
||||||
<FileUpgradeFlags>
|
<FileUpgradeFlags>
|
||||||
</FileUpgradeFlags>
|
</FileUpgradeFlags>
|
||||||
<OldToolsVersion>3.5</OldToolsVersion>
|
<OldToolsVersion>3.5</OldToolsVersion>
|
||||||
<UpgradeBackupLocation>
|
<UpgradeBackupLocation>
|
||||||
</UpgradeBackupLocation>
|
</UpgradeBackupLocation>
|
||||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
@@ -29,6 +28,7 @@
|
|||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>false</BootstrapperEnabled>
|
<BootstrapperEnabled>false</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -42,14 +42,14 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>false</DebugSymbols>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
@@ -7,21 +7,50 @@
|
|||||||
; 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
|
||||||
|
|
||||||
[PerksTweak]
|
[PerksTweak]
|
||||||
;Change the penalty distance and distance bonus for 'Weapon Scope Range' weapon perk
|
;Changes the bonus for 'Master Trader' perk (ID 17)
|
||||||
|
;25 - default bonus
|
||||||
|
MasterTraderBonus=25
|
||||||
|
|
||||||
|
;Changes the distance bonus for 'Weapon Long Range' weapon perk (ID 58)
|
||||||
|
;2 - no bonus, 4 - default bonus
|
||||||
|
WeaponLongRangeBonus=4
|
||||||
|
|
||||||
|
;Changes the hit chance bonus for 'Weapon Accurate' weapon perk (ID 59)
|
||||||
|
;0 - no bonus, 125 - maximum bonus, 20 - default bonus
|
||||||
|
WeaponAccurateBonus=20
|
||||||
|
|
||||||
|
;Change the penalty distance and distance bonus for 'Weapon Scope Range' weapon perk (ID 64)
|
||||||
;0 - no penalty, 8 - default penalty
|
;0 - no penalty, 8 - default penalty
|
||||||
WeaponScopeRangePenalty=8
|
WeaponScopeRangePenalty=8
|
||||||
;2 - no bonus, 5 - default bonus
|
;2 - no bonus, 5 - default bonus
|
||||||
WeaponScopeRangeBonus=5
|
WeaponScopeRangeBonus=5
|
||||||
|
|
||||||
;Changes the distance bonus for 'Weapon Long Range' weapon perk
|
;Changes the resistance bonuses for 'Vault City Inoculations' perk (ID 78)
|
||||||
;2 - no bonus, 4 - default bonus
|
;valid range: -100..100, 10 - default bonus
|
||||||
WeaponLongRangeBonus=4
|
VaultCityInoculationsPoisonBonus=10
|
||||||
|
VaultCityInoculationsRadBonus=10
|
||||||
|
|
||||||
;Changes the hit chance bonus for 'Weapon Accurate' weapon perk
|
;Changes the damage bonus per level for 'Demolition Expert' perk (ID 82)
|
||||||
;0 - no bonus, 200 - maximum bonus, 20 - default bonus
|
;999 - maximum bonus, 10 - default bonus
|
||||||
WeaponAccurateBonus=20
|
DemolitionExpertBonus=10
|
||||||
|
|
||||||
;Changes the strength bonus for 'Weapon Handling' perk
|
;Changes the damage bonus for 'Living Anatomy' perk (ID 97)
|
||||||
|
;125 - maximum bonus, 5 - default bonus
|
||||||
|
LivingAnatomyBonus=5
|
||||||
|
|
||||||
|
;Changes the damage bonus for 'Pyromaniac' perk (ID 101)
|
||||||
|
;125 - maximum bonus, 5 - default bonus
|
||||||
|
PyromaniacBonus=5
|
||||||
|
|
||||||
|
;Changes the skill bonus per level for 'Salesman' perk (ID 103)
|
||||||
|
;999 - maximum bonus, 20 - default bonus
|
||||||
|
SalesmanBonus=20
|
||||||
|
|
||||||
|
;Changes the percent chance for 'Stonewall' perk (ID 104)
|
||||||
|
;valid range: 0..100, 50 - default percent
|
||||||
|
StonewallPercent=50
|
||||||
|
|
||||||
|
;Changes the strength bonus for 'Weapon Handling' perk (ID 106)
|
||||||
;0 - no bonus, 10 - maximum bonus, 3 - default bonus
|
;0 - no bonus, 10 - maximum bonus, 3 - default bonus
|
||||||
WeaponHandlingBonus=3
|
WeaponHandlingBonus=3
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,22 @@
|
|||||||
;This file lets you set the formula for calculating skills
|
;This file lets you set the formula for calculating skills
|
||||||
|
|
||||||
[skills]
|
[skills]
|
||||||
BasedOnPoints=0 ;Set to 1 to base skill costs on spent points instead of current level
|
;Changes the initial bonus to skill level for tag skills
|
||||||
|
;valid range: 0..100, 20 - default bonus
|
||||||
|
TagSkillBonus=20
|
||||||
|
|
||||||
Skill0=s1|i2|l1.5 ;Skill 0 (small guns) is str*1 + int*2 + luck*1.5
|
;Changes the behavior of tag skills
|
||||||
SkillBase1=50 ;Big guns has a base of 50
|
;Set to 1 to give the initial skill bonus to the fourth tag skill from "Tag!" perk (Fallout 1 behavior)
|
||||||
SkillMulti2=10 ;Each point spent in energy weapons increases it by 10
|
;Set to 2 to disable the double bonus of skill points for tag skills
|
||||||
SkillImage1=72
|
;Set to 3 to use both modes
|
||||||
|
TagSkillMode=0
|
||||||
|
|
||||||
SkillCost0=0|0|0|0|0|300 ;Each level of small guns costs 6 skill points
|
;Set to 1 to base skill costs on spent points instead of current level
|
||||||
|
BasedOnPoints=0
|
||||||
|
|
||||||
|
;Examples
|
||||||
|
;Skill0=s1|i2|l1.5 ;Skill 0 (small guns) is str*1 + int*2 + luck*1.5
|
||||||
|
;SkillBase1=50 ;Big guns has a base of 50
|
||||||
|
;SkillMulti2=10 ;Each point spent in energy weapons increases it by 10
|
||||||
|
;SkillImage1=72
|
||||||
|
;SkillCost0=0|0|0|0|0|300 ;Each level of small guns costs 6 skill points
|
||||||
|
|||||||
@@ -6,6 +6,10 @@
|
|||||||
;multi[x] - where x is from 0 to 6, the multiplier of st/pe/en/etc.
|
;multi[x] - where x is from 0 to 6, the multiplier of st/pe/en/etc.
|
||||||
;shift[x] - shifts the base stat before the multiplication
|
;shift[x] - shifts the base stat before the multiplication
|
||||||
|
|
||||||
|
[Main]
|
||||||
|
;Set to 1 to take the bonus values of SPECIAL stats into account when calculating maximum hit points
|
||||||
|
;Set to 0 for the Fallout original behavior (bonus stats do not affect maximum hit points)
|
||||||
|
HPDependOnBonusStats=0
|
||||||
|
|
||||||
;max hp
|
;max hp
|
||||||
[7]
|
[7]
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ PartyACMsg=AC:
|
|||||||
PartyAddictMsg=Addict
|
PartyAddictMsg=Addict
|
||||||
NPCPickupFail=%s cannot pick up the item.
|
NPCPickupFail=%s cannot pick up the item.
|
||||||
|
|
||||||
|
PartyOrderAttackHuman=I'll take care of it.|Okay, I got it.|Sounds like a plan.
|
||||||
|
PartyOrderAttackCreature=::Growl::
|
||||||
|
PartyOrderAttackRobot=::Beep::
|
||||||
|
|
||||||
[AppearanceMod]
|
[AppearanceMod]
|
||||||
RaceText=Race
|
RaceText=Race
|
||||||
StyleText=Style
|
StyleText=Style
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
[Highlighting]
|
[Highlighting]
|
||||||
|
|
||||||
; DX scancode of a key to press to highlight items on the ground
|
; DX scancode of a key to press to highlight items on the ground
|
||||||
; 42 - SHIFT key
|
; 42 - SHIFT key
|
||||||
Key=42
|
Key=42
|
||||||
@@ -36,8 +35,9 @@ MotionScanner=0
|
|||||||
;Set to 0 to disable
|
;Set to 0 to disable
|
||||||
;Set to 1 to control all critters in combat
|
;Set to 1 to control all critters in combat
|
||||||
;Set to 2 to control all party members
|
;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
|
;Set to 3 to let you order party members to attack specified targets after your first attack instead of controlling them directly
|
||||||
Mode=0
|
Mode=0
|
||||||
|
;If you want to control only specific critters, uncomment the PIDList line and set a comma delimited list of PIDs
|
||||||
;PIDList=62,89,97,107,160,161
|
;PIDList=62,89,97,107,160,161
|
||||||
|
|
||||||
;Set a comma delimited list of perk IDs for perks to be inherited from the player during the combat control
|
;Set a comma delimited list of perk IDs for perks to be inherited from the player during the combat control
|
||||||
|
|||||||
+28
-22
@@ -1,5 +1,5 @@
|
|||||||
;sfall configuration settings
|
;sfall configuration settings
|
||||||
;v4.2.7
|
;v4.2.9
|
||||||
|
|
||||||
[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.
|
||||||
@@ -44,7 +44,7 @@ SpeedMulti9=900
|
|||||||
;The initial speed at game startup
|
;The initial speed at game startup
|
||||||
SpeedMultiInitial=100
|
SpeedMultiInitial=100
|
||||||
|
|
||||||
;Set to 1 to also affect the playback speed of mve video files without an audio track
|
;Set to 1 to also affect the playback speed of MVE video files without an audio track
|
||||||
AffectPlayback=0
|
AffectPlayback=0
|
||||||
|
|
||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
@@ -69,10 +69,16 @@ WindowData=0
|
|||||||
|
|
||||||
;Uncomment the option to use a hardware shader (requires DX9 graphics mode)
|
;Uncomment the option to use a hardware shader (requires DX9 graphics mode)
|
||||||
;The shader file <name>.fx must be placed in <GameRoot>\<master_patches>\shaders\ and must contain one technique with one or more passes
|
;The shader file <name>.fx must be placed in <GameRoot>\<master_patches>\shaders\ and must contain one technique with one or more passes
|
||||||
|
;You can specify multiple shader files, separated by commas
|
||||||
;GlobalShaderFile=global.fx
|
;GlobalShaderFile=global.fx
|
||||||
|
|
||||||
|
;Set to 1 to automatically enable linear texture filtering when the scale factor is not an integer
|
||||||
|
;Set to 2 to force-enable linear texture filtering
|
||||||
|
;This can be used in conjunction with the GlobalShaderFile option
|
||||||
|
TextureFilter=1
|
||||||
|
|
||||||
;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 (used for compatibility with old video cards)
|
||||||
;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
|
||||||
@@ -84,8 +90,8 @@ GPUBlt=0
|
|||||||
;Requires DX9 graphics mode and v2.0 pixel shader support (see GPUBlt option)
|
;Requires DX9 graphics mode and v2.0 pixel shader support (see GPUBlt option)
|
||||||
Use32BitHeadGraphics=0
|
Use32BitHeadGraphics=0
|
||||||
|
|
||||||
;Set to 1 to automatically search for alternative avi video files when Fallout tries to play the game movies
|
;Set to 1 to automatically search for alternative AVI video files when Fallout tries to play the game movies
|
||||||
;Set to 2 to force avi videos to fit the screen width
|
;Set to 2 to force AVI videos to fit the screen width
|
||||||
;Requires DX9 graphics mode
|
;Requires DX9 graphics mode
|
||||||
AllowDShowMovies=0
|
AllowDShowMovies=0
|
||||||
|
|
||||||
@@ -128,8 +134,8 @@ NumSoundBuffers=0
|
|||||||
;Set to 1 to allow attaching sound files to combat float messages
|
;Set to 1 to allow attaching sound files to combat float messages
|
||||||
AllowSoundForFloats=0
|
AllowSoundForFloats=0
|
||||||
|
|
||||||
;Set to 1 to automatically search for alternative formats (mp3/wma/wav) when Fallout tries to play an acm
|
;Set to 1 to automatically search for alternative formats (mp3/wma/wav) when Fallout tries to play an ACM
|
||||||
;Set to 2 to play alternative music files even if original acm files are not present in the music folder
|
;Set to 2 to play alternative music files even if original ACM files are not present in the music folder
|
||||||
;This does not effect the play_sfall_sound and stop_sfall_sound script functions
|
;This does not effect the play_sfall_sound and stop_sfall_sound script functions
|
||||||
AllowDShowSound=0
|
AllowDShowSound=0
|
||||||
|
|
||||||
@@ -208,7 +214,7 @@ FastMoveFromContainer=0
|
|||||||
|
|
||||||
;A key to press to open a debug game editor
|
;A key to press to open a debug game editor
|
||||||
;Set to 0 to disable, or a DX scancode otherwise
|
;Set to 0 to disable, or a DX scancode otherwise
|
||||||
;Requires sfall debugging mode and FalloutClient.exe from the modders pack
|
;Requires sfall debugging mode and FalloutDebug.exe from the modders pack
|
||||||
DebugEditorKey=0
|
DebugEditorKey=0
|
||||||
|
|
||||||
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
@@ -371,9 +377,9 @@ SaveInCombatFix=1
|
|||||||
;Player's 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 animation codes from o-t
|
;Set to 1 to enable additional weapon animation codes from o to 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 corresponds to 's' and 15 to 't'
|
||||||
AdditionalWeaponAnims=1
|
AdditionalWeaponAnims=1
|
||||||
|
|
||||||
;Uncomment these lines to modify the default modifiers for aimed shots at specific bodyparts
|
;Uncomment these lines to modify the default modifiers for aimed shots at specific bodyparts
|
||||||
@@ -534,12 +540,16 @@ RemoveCriticalTimelimits=0
|
|||||||
;Change the colour of the font used on the main menu for the button text
|
;Change the colour of the font used on the main menu for the button text
|
||||||
;MainMenuBigFontColour=0x3C
|
;MainMenuBigFontColour=0x3C
|
||||||
|
|
||||||
;Two alternate fixes to the interaction between HtH attacks and the fast shot trait
|
;Alternative behaviors to the Fast Shot trait
|
||||||
;0 - Fallout 2 original behaviour
|
;0 - Fallout 2 original behavior: -1 AP cost for ranged weapons; aimed attacks are disabled
|
||||||
;1 - Haenlomal's fix, called shots are enabled for HtH attacks
|
;1 - Haenlomal's fix: aimed attacks are enabled for melee/unarmed weapons and HtH attacks
|
||||||
;2 - Restoring the -1 AP bonus for HtH attacks (i.e. Fallout 1 behaviour)
|
;2 - Alternative behavior: apply -1 AP cost to melee/unarmed weapons and HtH attacks
|
||||||
|
;3 - Fallout 1 original behavior: -1 AP cost for all weapons; aimed attacks are disabled
|
||||||
FastShotFix=1
|
FastShotFix=1
|
||||||
|
|
||||||
|
;Set to 1 to fix the carry weight penalty of the Small Frame trait not being applied to bonus Strength points
|
||||||
|
SmallFrameFix=0
|
||||||
|
|
||||||
;Set to 1 to boost the maximum number of script names from 1450 to 10000
|
;Set to 1 to boost the maximum number of script names from 1450 to 10000
|
||||||
BoostScriptDialogLimit=0
|
BoostScriptDialogLimit=0
|
||||||
|
|
||||||
@@ -556,8 +566,10 @@ CritterInvSizeLimit=100
|
|||||||
;2 - Motion sensor doesn't require charges
|
;2 - Motion sensor doesn't require charges
|
||||||
MotionScannerFlags=1
|
MotionScannerFlags=1
|
||||||
|
|
||||||
;Set to non-0 to adjust the maximum encounter table size
|
;Set a value greater than 40 to change the maximum encounter table size (enc_## in worldmap.txt)
|
||||||
;Default is 40, and the maximum is 127
|
;Default is 40, and the maximum is 100
|
||||||
|
;Note: Setting this greater than 50 requires renumbering all message lines for the encounter tables in worldmap.msg
|
||||||
|
;The messages for each table must be numbered from (3000 + table number * 100) to (3099 + table number * 100)
|
||||||
EncounterTableSize=0
|
EncounterTableSize=0
|
||||||
|
|
||||||
;Set to 1 to disable the pipboy alarm button
|
;Set to 1 to disable the pipboy alarm button
|
||||||
@@ -701,9 +713,6 @@ WorldMapFontPatch=0
|
|||||||
;Requires changing the color of subtitles in death.pal palette to white color (index 220) to display the text correctly
|
;Requires changing the color of subtitles in death.pal palette to white color (index 220) to display the text correctly
|
||||||
DeathScreenFontPatch=0
|
DeathScreenFontPatch=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 the barter screen
|
;Set to 1 to display full item description for weapon/ammo in the barter screen
|
||||||
FullItemDescInBarter=0
|
FullItemDescInBarter=0
|
||||||
|
|
||||||
@@ -724,9 +733,6 @@ PartyMemberSkillFix=0
|
|||||||
;Set to 2 to also skip loading the game/combat difficulty settings
|
;Set to 2 to also skip loading the game/combat difficulty settings
|
||||||
SkipLoadingGameSettings=0
|
SkipLoadingGameSettings=0
|
||||||
|
|
||||||
;Set to 1 to prevent the inventory/loot/automap interfaces from being placed on top of other script-created windows
|
|
||||||
InterfaceDontMoveOnTop=0
|
|
||||||
|
|
||||||
;Overrides the global variable number used to show the special death message of the Modoc toilet explosion
|
;Overrides the global variable number used to show the special death message of the Modoc toilet explosion
|
||||||
;Set to -1 to disable the special death message when the global variable is set
|
;Set to -1 to disable the special death message when the global variable is set
|
||||||
SpecialDeathGVAR=491
|
SpecialDeathGVAR=491
|
||||||
|
|||||||
Binary file not shown.
@@ -12,52 +12,58 @@ Requires sfall 3.5 or higher
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "..\headers\define_extra.h"
|
#include "..\headers\sfall\sfall.h"
|
||||||
|
#include "..\headers\sfall\define_extra.h"
|
||||||
|
|
||||||
procedure set_ammo_mod;
|
|
||||||
procedure start;
|
procedure start;
|
||||||
procedure map_enter_p_proc;
|
procedure map_enter_p_proc;
|
||||||
|
|
||||||
variable ammoIni;
|
variable ammoIni;
|
||||||
|
variable ammoData;
|
||||||
variable enabled;
|
variable enabled;
|
||||||
|
|
||||||
procedure set_ammo_mod begin
|
|
||||||
variable pid, dmg_mod, i := 1;
|
|
||||||
|
|
||||||
while (i > 0) do begin
|
|
||||||
pid := get_ini_setting(ammoIni + "|" + i + "|pid");
|
|
||||||
if (pid < 1) then break;
|
|
||||||
set_proto_data(pid, PROTO_AM_AC_MOD, get_ini_setting(ammoIni + "|" + i + "|ac_adjust"));
|
|
||||||
set_proto_data(pid, PROTO_AM_DR_MOD, get_ini_setting(ammoIni + "|" + i + "|dr_adjust"));
|
|
||||||
|
|
||||||
// dam_mult and dam_div must be positive integers
|
|
||||||
dmg_mod := get_ini_setting(ammoIni + "|" + i + "|dam_mult");
|
|
||||||
if (dmg_mod < 1) then dmg_mod := 1;
|
|
||||||
set_proto_data(pid, PROTO_AM_DMG_MULT, dmg_mod);
|
|
||||||
dmg_mod := get_ini_setting(ammoIni + "|" + i + "|dam_div");
|
|
||||||
if (dmg_mod < 1) then dmg_mod := 1;
|
|
||||||
set_proto_data(pid, PROTO_AM_DMG_DIV, dmg_mod);
|
|
||||||
|
|
||||||
i++;
|
|
||||||
end
|
|
||||||
//debug_msg("AmmoMod: " + ammoIni + " - set " + (i - 1) + " ammo protos.");
|
|
||||||
end
|
|
||||||
|
|
||||||
procedure start begin
|
procedure start begin
|
||||||
|
variable i := 1, ammo, ammoPid, dmgMod;
|
||||||
if game_loaded then begin
|
if game_loaded then begin
|
||||||
ammoIni := get_ini_setting("ddraw.ini|Misc|DamageFormula");
|
enabled := get_ini_setting("ddraw.ini|Misc|DamageFormula");
|
||||||
if (ammoIni == 1 or ammoIni == 2) then
|
if (enabled == 1 or enabled == 2) then
|
||||||
ammoIni := "AmmoGlovz.ini";
|
ammoIni := "AmmoGlovz.ini";
|
||||||
else if (ammoIni == 5) then
|
else if (enabled == 5) then
|
||||||
ammoIni := "AmmoYAAM.ini";
|
ammoIni := "AmmoYAAM.ini";
|
||||||
else
|
else
|
||||||
ammoIni := "AmmoMod.ini";
|
ammoIni := "AmmoMod.ini";
|
||||||
|
|
||||||
enabled := get_ini_setting(ammoIni + "|1|pid");
|
enabled := get_ini_setting(ammoIni + "|1|pid");
|
||||||
if (enabled > 0) then call set_ammo_mod;
|
if (enabled <= 0) then return;
|
||||||
|
|
||||||
|
ammoData := create_array_map;
|
||||||
|
ammoPid := enabled; // pid from the first section
|
||||||
|
while (ammoPid > 0) do begin
|
||||||
|
ammo := create_array_map; // create permanent arrays
|
||||||
|
ammo.ac_adjust := get_ini_setting(ammoIni + "|" + i + "|ac_adjust");
|
||||||
|
ammo.dr_adjust := get_ini_setting(ammoIni + "|" + i + "|dr_adjust");
|
||||||
|
// dam_mult and dam_div must be positive integers
|
||||||
|
dmgMod := get_ini_setting(ammoIni + "|" + i + "|dam_mult");
|
||||||
|
ammo.dam_mult := dmgMod if (dmgMod > 0) else 1;
|
||||||
|
dmgMod := get_ini_setting(ammoIni + "|" + i + "|dam_div");
|
||||||
|
ammo.dam_div := dmgMod if (dmgMod > 0) else 1;
|
||||||
|
ammoData[ammoPid] := ammo;
|
||||||
|
i++;
|
||||||
|
ammoPid := get_ini_setting(ammoIni + "|" + i + "|pid");
|
||||||
|
end
|
||||||
|
call map_enter_p_proc;
|
||||||
|
debug_msg("Ammo INI Loader mod: " + ammoIni + " - set " + (i - 1) + " ammo protos.");
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
procedure map_enter_p_proc begin
|
procedure map_enter_p_proc begin
|
||||||
if (enabled > 0) then call set_ammo_mod;
|
variable pid, values;
|
||||||
|
if (enabled > 0) then begin
|
||||||
|
foreach (pid: values in ammoData) begin
|
||||||
|
set_proto_data(pid, PROTO_AM_AC_MOD, values.ac_adjust);
|
||||||
|
set_proto_data(pid, PROTO_AM_DR_MOD, values.dr_adjust);
|
||||||
|
set_proto_data(pid, PROTO_AM_DMG_MULT, values.dam_mult);
|
||||||
|
set_proto_data(pid, PROTO_AM_DMG_DIV, values.dam_div);
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user