Search results

  1. M

    Fallout 2 dmg algorithm implementation.

    Where is implemented the actual damage calculation algorithm in the sfall src (which function is responsible for that?)? I'm particularary interested in the Glovz's Damage Fix?
  2. M

    Using the op_active_hand function.

    Thx for Yours "very polite" answer;-) Can You then tell me why do i receive an error: Exception thrown at 0x004674E5 in fallout2.exe: 0xC0000005: Access violation reading location 0x0000001C when just trying to call the op_active_hand function (inside the C++ code in the ddraw solution)? And...
  3. M

    Using the op_active_hand function.

    I'd like to use the op_active_hand function from the ddraw c++ code itself. The problem is that the function implemented as an inline asm as follows: void __declspec(naked) op_active_hand() { __asm { mov edx, dword ptr ds:[FO_VAR_itemCurrentItem]; _J_RET_VAL_TYPE(VAR_TYPE_INT)...
  4. M

    Compiling the F2 Inventory Filter.

    Hello. I'd like to compile the F2 Inventory Filter. I've just put the files gl_InvenFilter.ssl and iface.h in my latest (v21) F2 Restoration Project source scripts (Fallout2_Restoration_Project-master\scripts_src\global) but having problems compiling it (using the latest SFall Script Editor)...
  5. M

    Text printing functions in Fallout 1/F2.

    Sorry Can You be so nice and elaborate more about that? Does it mean that it just directly write to the screen memory?
  6. M

    PDA scrren font color.

    Is there any possible way to alter/modify the original printing function to take the color into account?
  7. M

    PDA scrren font color.

    So it's just printed "over" the original F2 inventory window (sth like a rubber stamp on it)?
  8. M

    PDA scrren font color.

    How can I set the font color of the text in the so-called PDA Screen (left bottom screen where all the messages/info about the current game situation is displayed): There HAVE to be a way to do this because there is similar solution in the Inventory Filter: but I cannot find the code to...
  9. M

    The doc for "vaillia" API.

    Where can i find the doc about the so-called "vanilla" API, for e.g. for the SetTextColor or SetFont functions? P.S. BTW What does it really mean "vanilla" and what it is referring to?
  10. M

    Filter/find a protos in the mapper.

    Thx for info. I've already known about all that hotkeys and wanted to know about filtering. But anyway thx for help:-)
  11. M

    Filter/find a protos in the mapper.

    Is there a way/option in the BIS Mapper to find/filter the specific type of an item, for e.g a weapon or ammo?
  12. M

    Show a text on a newly created window.

    I'd like to display a window with a text inside it. Here is my code (inside the mouse click hook handler) ... create_win_flag("inven_loot_weight", 0, 0, 120, 60, WIN_FLAG_DONTMOVE); selectWin("inven_loot_weight"); sfall_func0("win_fill_color"); SetTextColor(1.0, 0.1, 0.0); // red color...
  13. M

    Set a text color for the display_msg function.

    Is there a way to set a text color for the display_msg function? Does the display_msg function handle the new line sequence?
  14. M

    Problem with the Critter_inven_obj2 function.

    Is there a hook that fires when the player change the active hand (i mean currently used weapon)?
  15. M

    Problem with the Critter_inven_obj2 function.

    Ok. I understand. So is there a hook handling the change of active hand item?
  16. M

    Problem with the Critter_inven_obj2 function.

    procedure my_mouse_click begin variable event := get_sfall_arg_at(0); variable button := get_sfall_arg_at(1); if event == 1 then begin if button == 1 then begin variable ttt := get_weapon_ammo_pid(dude_obj); variable leftHand :=...
  17. M

    Problem with the Critter_inven_obj2 function.

    Sorry, but in my opinion my code SHOULD work. I click, then swap (press B key), then click once again so when i click the second time the weapons are ALREADY swapped!?
  18. M

    Problem with the Critter_inven_obj2 function.

    So how to correct the code to reflect the swap change?
  19. M

    Fallout2 Restoration Project and game settings.

    I've installed the latest Fallout2 Restoration Project and have noticed that after installing the mod the game doesn't remember changes in game options like sound volume or "always run". Moreover changing this settings in the fallout2.cfg file doesn't work since I've installed the mod...
  20. M

    Problem with the Critter_inven_obj2 function.

    Having the following mouse click handle: procedure my_mouse_click begin variable event := get_sfall_arg_at(0); variable button := get_sfall_arg_at(1); if event == 1 then begin if button == 1 then begin variable ttt := get_weapon_ammo_pid(dude_obj)...
Back
Top