Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/rotators/Fo1in2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexx2k committed Jun 19, 2024
2 parents 74c1197 + f8e98bd commit 2c7423a
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash


MOD_VERSION="1.9"
MOD_VERSION="1.10"


MOD_COMMITS=$(git rev-list HEAD --count)
Expand Down
2 changes: 1 addition & 1 deletion Fallout2/Fallout1in2/FAQ.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This FAQ refers only to the latest version. (4.4.3.1) If you are using an older version, update sfall before doing anything else.
This FAQ refers only to the latest version. (4.4.4) If you are using an older version, update sfall before doing anything else.

====================================================================================
== On startup, Fallout crashes with a 'Failure initializing input devices' error. ==
Expand Down
6 changes: 3 additions & 3 deletions Fallout2/Fallout1in2/Mapper/source/scripts/GENERIC/IIMINE.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,14 @@ procedure spatial_p_proc begin
if source_is_dude then
display_msg(message_str(SCRIPT_SPRTRP0, 100));
else if ((proto_data(obj_pid(source_obj), cr_body_type) == CR_BODY_BIPED) and (obj_can_see_obj(source_obj, dude_obj))) then
display_msg(obj_name(source_obj)+message_str(SCRIPT_SPRTRP0,101));
display_msg(obj_name(source_obj)+message_str(SCRIPT_SPRTRP0, 101));
end

else begin
if source_is_dude then
display_msg(message_str(SCRIPT_SPRTRP0,102));
display_msg(message_str(SCRIPT_SPRTRP0, 102));
else if ((proto_data(obj_pid(source_obj), cr_body_type) == CR_BODY_BIPED) and (obj_can_see_obj(source_obj, dude_obj))) then
display_msg(obj_name(source_obj)+message_str(SCRIPT_SPRTRP0,103));
display_msg(obj_name(source_obj)+message_str(SCRIPT_SPRTRP0, 103));
end
end
end
Expand Down
Binary file modified Fallout2/Fallout1in2/ddraw.dll
Binary file not shown.
2 changes: 0 additions & 2 deletions Fallout2/Fallout1in2/ddraw.fo1in2.ini
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ DamageFormula=1

DisableHorrigan=1

NPCAutoLevel=1

StartXPos=823
StartYPos=72
ViewXPos=600
Expand Down
4 changes: 1 addition & 3 deletions Fallout2/Fallout1in2/ddraw.ini
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ StartingMap=V13ent.map

;To change the 'FALLOUT II v1.02d' version string on the main menu, uncomment the next line
;You can use up to 2 %d's in this if you want to include Fallout's version number somewhere
VersionString=FALLOUT ET TU v1.9.3497
VersionString=FALLOUT ET TU v1.9.3500

;To use a config file other than fallout2.cfg, uncomment the next line and add the name of your new file
;ConfigFile=
Expand Down Expand Up @@ -831,8 +831,6 @@ ElevatorsFile=config\Elevators.ini
;To change some engine parameters for the game mechanics, uncomment the next line
;TweaksFile=sfall\Tweaks.ini

NPCAutoLevel=1

;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[Scripts]
;Comma-separated list of masked paths to load global scripts from
Expand Down
Binary file modified Fallout2/Fallout1in2/mods/fo1_base/scripts/IIMINE.int
Binary file not shown.
40 changes: 35 additions & 5 deletions Fallout2/Fallout1in2/sfall-readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sfall, a Fallout 2 engine tweak mod by Timeslip and many other contributors
version 4.4.3.1, built for Fallout 2 v1.02 US
version 4.4.4, built for Fallout 2 v1.02 US

Project Page on SourceForge: https://sourceforge.net/projects/sfall/
Code Repository on GitHub: https://github.com/sfall-team/sfall
Expand Down Expand Up @@ -37,7 +37,7 @@ Delete ddraw.dll, ddraw.ini, and sfall.dat from your Fallout directory, and dele
This mod is configured via the 'ddraw.ini' and 'sfall-mods.ini' files, which can be opened with any text editor. Details of every configurable option are included in those files. Where a comment refers to a DX scancode, the complete list of codes can be found at the link below:
https://kippykip.com/b3ddocs/commands/scancodes.htm

In a default installation using an unmodified copy of ddraw.ini, the middle mouse button will be set to switch between weapons and the mouse wheel will be set to scroll through any menus that respond to the up/down arrow keys. Holding Ctrl and hitting numpad keys 0 to 6 (with Num Lock off) will adjust the game speed. Holding left Ctrl will let you move a whole stack of items at once. Pressing left Shift will highlight items on the ground. The script extender and any engine fixes are also enabled. Most of the options that change gameplay in some way not originally intended by the developers are disabled.
In a default installation using an unmodified copy of ddraw.ini, the middle mouse button will be set to switch between weapons and the mouse wheel will be set to scroll through any menus that respond to the up/down arrow keys. Holding Ctrl and hitting numpad keys 0 to 6 (with Num Lock off) will adjust the game speed. Holding left Ctrl will let you move items between inventory lists by simply clicking on them. Pressing left Shift will highlight items on the ground, and holding the key will let you move an entire stack of items at once. The script extender and any engine fixes are also enabled. Most of the options that change gameplay in some way not originally intended by the developers are disabled.

For Wine users:
You need to set DLL overrides for ddraw.dll to 'native, builtin' in winecfg or use WINEDLLOVERRIDES="ddraw=n,b" to run Fallout from the command line. If you want to play alternative sound files, you'll also need to install GStreamer Good 32-bit plugins.
Expand All @@ -54,6 +54,36 @@ Starting from 4.2.2, sfall is not compatible with the experimental version of th
** Changelog **
***************

v4.4.4
>Fixed a bug in NPCsTryToSpendExtraAP that caused NPCs to still be able to move in their combat turn after they killed themselves
>Fixed a bug in PlayIdleAnimOnReload that could cause critters to lose highlights after reloading weapons in combat
>Fixed a crash bug in interface_art_draw script function when drawing beyond window bounds
>Fixed the missing hotkeys for additional elevators derived from the original elevator types
>Fixed and improved the syntax parsing in script compiler (compile.exe in the modders pack)
>Improved the fix for using 'English' as the fallback language directory for msg files to work on a per-line basis
>Improved the fix for saving/loading party member protos to include the car trunk
>Improved the performance of draw_image, draw_image_scaled, and interface_art_draw script functions
>Expanded show/hide_iface_tag script functions to work with the tag value 0 (sneak)
>Changed the expanded world map interface to be compatible with older versions of the hi-res patch
>Changed the expanded action points bar to require fewer resources and be compatible with older versions of the hi-res patch
>Changed AIDrugUsePerfFix to be enabled by default
>Tweaked the behavior of NPCAutoLevel option and renamed it to PartyMemberNonRandomLevelUp to better match its behavior
>Removed the unnecessary error message about sndlist.lst when AutoSearchSFX is enabled
>Added a fix for the time interval for healing during world map travel being tied to the system timer instead of game time
>Added a fix for the interface bar obscuring the barter/trade interface when using the hi-res patch
>Added a tweak to prevent the 'forever' type of animation on objects from stopping when entering combat
>Added an option to use the expanded barter/trade interface (4 item slots per table instead of 3)
>Added an option to use the expanded inventory/loot screens (8 vertical slots instead of 6)
>Added an option to pre-fill the 'Move Items' window with the correct balancing amount when moving money/caps in the barter screen
>Added an option to set up a key to let you move items between inventory lists by simply clicking on them
>Added debug options to adjust the size and text font for the internal debug window
>Added an option for tweaking Cautious Nature perk to the perks ini file
>Added a new attribute type value to get_window_attribute script function
>Added PAUSEWIN flag to the game mode functions (when pausing the game using Ctrl+P)
>Added 2 new arguments to HOOK_ENCOUNTER hook script
>Added a healing skills example script to the example mods in the modders pack
>New script function: signal_close_game, art_frame_data, set_worldmap_heal_time

v4.4.3.1
>Fixed a possible hang or crash introduced in 4.4.1 when running certain script sequences

Expand Down Expand Up @@ -336,7 +366,7 @@ v4.2.9
>Added more options for tweaking some engine perks to the perks ini file
>Added options for tweaking tag skills to the skills ini file
>Added an option about the behavior of maximum HP calculation to the stats ini file
>Added 3 new attribute type values to get_window_attribute script functions
>Added 3 new attribute type values to get_window_attribute script function
>Added additional universal opcodes sfall_func7 and sfall_func8 (compile.exe and int2ssl.exe in the modders pack are also updated)
>Added a new mode to NPC combat control mod that lets you use the command cursor to specify targets for party members to attack in combat
>Added an auto-close containers mod to the example mods in the modders pack
Expand Down Expand Up @@ -615,7 +645,7 @@ v4.1.9
>Added a fix for dead NPCs reloading their weapons when the combat ends
>Added an option to use the expanded world map interface (requires the hi-res patch v4.1.8)
>Added an option to allow setting a directory for the game to automatically search and load custom .dat files
>Added an option to expand the number of action points displayed on the interface bar
>Added an option to expand the number of action points displayed on the interface bar (requires the hi-res patch v4.1.8)
>Added an option to change the base value of the duration of the knockout effect
>Added a check for the DAM_KNOCKED_OUT flag to wield_obj_critter/inven_unwield script functions
>Added a new value to SkipOpeningMovies to also skip the splash screen
Expand Down Expand Up @@ -817,7 +847,7 @@ Original engine bug fixes and various features based on the work by Mr.Stalin:
>Improved the functionality of ExtraGameMsgFileList to allow manually assigning numbers to specific msg files
>Improved the functionality of HOOK_AMMOCOST hook script when CheckWeaponAmmoCost is enabled
>Improved and expanded the functionality of UseScrollingQuestsList to display page numbers and add another set of scroll buttons
>Expanded is_iface_tag_active script function to check tag value of 0/1/2 (sneak/poisoned/radiated)
>Expanded is_iface_tag_active script function to check tag values of 0/1/2 (sneak/poisoned/radiated)
>Added a fix for missing AC/DR mod stats when examining ammo in the barter screen
>Added a fix for the display issue in the pipboy when a quest list is too long with UseScrollingQuestsList disabled
>Added a fix for the clickability issue of the holodisk list in the pipboy
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Notable changes since last release ([v1.9.3324](https://github.com/rotators/Fo1i
- **Fixed**: The computer course in Brotherhood was ten times longer.
- **Fixed**: The player's ouch message (stupid only) was missing when healed by Thorndyke.
- **Fixed**: The random rotation of FoA guard/scout movement was out of range.
- **Fixed**: Wrong message was shown when detecting traps in the Hub thieves guild hideout.
- **Fixed**: not all FO1 perks (ID 0-63) have their old requirements.
- **Fixed**: possible crash when talking to Katja when escaping the military base
- **Tweaked**: Aradesh dialog will now mention the reward that the player gets after rescuing Tandi.
Expand Down
2 changes: 1 addition & 1 deletion Tools/ModdersPack/scripting/headers/define_extra.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
//#define RMOBJ_LOAD_WEAPON RMOBJ_ITEM_REMOVED_INVEN

// common prototype offsets for get/set_proto_data
#define PROTO_PID (1)
#define PROTO_PID (0)
#define PROTO_TEXTID (4)
#define PROTO_FID (8)
#define PROTO_LDIST (12)
Expand Down

0 comments on commit 2c7423a

Please sign in to comment.