SlightlyMadman Posted July 23, 2021 Share Posted July 23, 2021 I know mods can't be officially supported by TIS, but I would greatly appreciate any insight the devs could havefer about why NPC mods are broken and any pointers on how I might go about fixing them. The specific major bug is that NPCs (who are IsoPlayer objects controlled by scripts) no longer do any damage to zombies when attacking, although zombies can still attack and damage them. My guess is that some event or trigger may have been disconnected and needs to be manually fired? Caturday and Kaptain Kallum 2 Link to comment Share on other sites More sharing options...
Caturday Posted July 23, 2021 Share Posted July 23, 2021 @EnigmaGrey greetings, this guy is doing a god's work by repairing forgotten SS mod so many players like. Could you please assist him and provide small info needed for the repairment? Cheers SlightlyMadman 1 Link to comment Share on other sites More sharing options...
SlightlyMadman Posted July 25, 2021 Author Share Posted July 25, 2021 I haven't figured out anything useful yet, but if it helps, when an NPC attacks, the following events seem to be working fine: Events.OnWeaponHitCharacter Events.OnWeaponSwingHitPoint Events.OnPlayerAttackFinished Hook.Attack Events.OnWeaponSwing The events fire normally, there is even blood splatter after some attacks, but nobody ever takes damage. This applies to both attacks initiated by NPCs as well as attacks done to them. Link to comment Share on other sites More sharing options...
SlightlyMadman Posted July 26, 2021 Author Share Posted July 26, 2021 Correction to the above: I was mistaken about Events.OnWeaponHitCharacter. A key difference betwee 41.50 and 41.52 is that the OnWeaponHitCharacter event is *not* firing when an NPC attacks a zombie. It does however fire when the player attacks an NPC, but they still aren't taking any damage. Link to comment Share on other sites More sharing options...
SlightlyMadman Posted July 27, 2021 Author Share Posted July 27, 2021 As an experiment, I tried manually calling IsoGameCharacter:Hit() in my NPC attack method. As far as I can tell, this does seem to work, although I'm sure there are some serious side effects like there being no possibility of them ever missing. Caturday 1 Link to comment Share on other sites More sharing options...
Batsphinx Posted July 27, 2021 Share Posted July 27, 2021 We've made a change our side that will hopefully bring things back to life. This was due to a multiplayer change, so EP has swapped it back and fingers crossed the next patch we're releasing (fairly soon) will get things going again. Caturday and SlightlyMadman 2 Link to comment Share on other sites More sharing options...
SlightlyMadman Posted July 28, 2021 Author Share Posted July 28, 2021 Thank you thank you thank you!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now