sfall set_critter_burst_disable?

burn

A Smooth-Skin
Modder
I noticed this little function in sfall docs. I thought it could be used to finally put end to back-bursts. However, I just can't seem to get it to work.
It's takes "int critter" and "int disabled" as agrument. I tried obj_pid(self_obj) and proto id (obj_pid-16777216) for "critter", and 0/1 for "disabled". I stuck it into basically every possible function (start, combat_p_proc, critter_p_proc, map_enter_p_proc, map_update_p_proc). It has no effect.

Any ideas?
 
Yes... Looks like the holy grail is nailed. Works perfectly, I added it to my tweaks.
 
I thought self_obj is supposed to return ObjPtr?
But it does appear to work.

Yes, functions like this usually work with object pointers, not prototypes. Implemented by hacky overrides, not by vanilla engine features.
 
FYI, if you want more companion control, you can just alter Sfall to allow you to control companions by adding the following line:

"ControlCombat=2"

to ddraw.ini. You can now completely control them in combat, similar to Fallout: Tactics squad control. Now they burst when you tell them to.
 
I know that. It's too tedious (and has other glitches, like transferring perks, etc).
 
Back
Top