Search results

  1. P

    Fallout 2 mod FO2 Engine Tweaks (Sfall)

    Awesome! It's no big deal to get the variables by idex, I expected that much. The only problem lies in the scripts design itself, as many scripts use a local var named, say LVAR_Hostile, but in different indexes so they are different local variables :crazy: That's what I thought at first...
  2. P

    Paralyzer weapon

    The little hassle that could possibly be installing sfall for both players and modders is totally worth it. This little script is just an example but it's a start about how I would do it: [spoiler:787374f758]#include "..\HEADERS\sfall.h" /* aditional headers here */ procedure start...
  3. P

    Paralyzer weapon

    I've never used the function critter_injure() but it seems it doesn't work properly. Why not use sfall? this would be a lot easier with it.
  4. P

    Fallout 2 mod FO2 Engine Tweaks (Sfall)

    A really great job with the last version of sfall, Timeslip. Thanks for the hard work. I was wondering if there is/could be a way to read and modify local vars of an existing object outside its own script, without exporting/importing variables between the scripts. The idea would be to...
  5. P

    Fallout 2 mod FO2 Engine Tweaks (Sfall)

    Ok, then definitely I'm doing something wrong because that's the value I've been trying all the time, among others for testing. Maybe my problem is in objptr usage? I tested this code and I'm guessing the first one is the correct (being oCritter a valid critter object)...
  6. P

    Fallout 2 mod FO2 Engine Tweaks (Sfall)

    You mean these, right? 0x8204 - int get_proto_data(objptr, int element) 0x8205 - void set_proto_data(objptr, int element) I can't seem to make it return any meaningful value, so I'm failing at something. What is exactly int element? I've seen in define.h possible values for...
  7. P

    Fallout 2 mod FO2 Engine Tweaks (Sfall)

    I was looking for a.. more 'global' solution.. ;) Thanks for the info, nevertheless.
  8. P

    Fallout 2 mod FO2 Engine Tweaks (Sfall)

    I used the same method to drop weapons as the weapon drop mod. It's somewhat similar to using the drop_obj function but with customized placement (get item, calculate tile, remove item from inv, place item on tile). I tried setting the DAM_DROP flag but it didn't work. Not exactly. I set the...
  9. P

    Fallout 2 mod FO2 Engine Tweaks (Sfall)

    Hiya, firstly, thanks Timeslip for such an awesome mod and all the work you are putting into it! The possibilties you're giving to scripters are endless.. Inspired by the weapon drop mod and nirran scripts, I made myself one using the combat damage hook to cause weapons to drop on a...
Back
Top