Various modding questions

Discussion in 'Fallout General Modding' started by Cyrus, Sep 4, 2020.

  1. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    427
    Oct 29, 2015
    Obviously, NovaRain forgot to specify exactly where this hook works.
    In the next versions, we will add support for barter and other places. (i.e. this is in the plans).
     
  2. 0ctav0

    0ctav0 First time out of the vault

    9
    Nov 5, 2020
    You're right.
     
  3. Cyrus

    Cyrus It Wandered In From the Wastes

    152
    Nov 5, 2015
    Yes 0ctav0, Stalin is right.

    Changing sfall is no easy matter. You need to know assembly pretty well. You need to know C pretty well. And you need to be able to read sfall's code and understand it pretty well. IF you got all that, then you'd also know how to go about changing it. You have to be a decent programmer to do all of that, which is possible if you want to. However you kinda need to be a decent programmer first and that's beyond being couched here.

    Just know that changing sfall is not normal modding for fallout 2 and is expert stuff. Even normal modding for fallout 2 aint that easy either, so. Know that before you begin.
     
  4. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    You need to enable FullItemDescInBarter in ddraw.ini. I tried overriding the description of 10mm SMG and it works in barter screen.
     
    Last edited: Nov 8, 2020
    • [Rad] [Rad] x 1
  5. 0ctav0

    0ctav0 First time out of the vault

    9
    Nov 5, 2020
    Thanks, that's the point!
     
  6. Cyrus

    Cyrus It Wandered In From the Wastes

    152
    Nov 5, 2015
    What is the difference between functions:

    critter_inven_obj
    and
    critter_inven_obj2

    Also what do those colors mean inside of the editor? Why some funcs are orange and some skin color and some yellow?

    Thanks.
     
  7. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    The vanilla critter_inven_obj returns 0 for the item pointer in player's inactive hand while critter_inven_obj2 can return a valid pointer. It should already be written in the notes.txt.
    AFAIR the reason not to "fix" the vanilla one is in case some script depends on that behavior.

    The color is probably due to the difference between opcode functions and metarule macros.
     
    Last edited: Nov 11, 2020
  8. Cyrus

    Cyrus It Wandered In From the Wastes

    152
    Nov 5, 2015
    Got it. Thanks for the explanation.