Jump to content

Sardes

Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Sardes

  1. Hi. 41.51 update has bringed a lot of isLocalPlayer() checks for various methods. Most notable for me is calculateWalkSpeed() in IsoGameCharacter.class and DamageFromWeapon() in BodyDamage.class. After that all NPC mods are broken, because NPC cant pass isLocalPlayer() check. I have tried to add NPC as LocalPLayer using setLocalPlayer method and using NPC number as index, but it still cant pass isLocalPlayer() check because index must be lover than numPlayers variable, which is equal to 1 for single player and I cant find any way to increase it. So, thought I understand that you don't have to support mods, but NPC mods are great addition for PZ, so can you advise me, how to increase numPlayers variable, or may be update new isLocalPlayer() checks somehow?
  2. SuperbSurvivors still broken
  3. No matter, I have figured it out
  4. Hi there. I really like to play with Superb Survivors mod, but the one thing that really dissapoints me, is that out-of-sight zombies dont attack (or attack very slowly) survivors. So, if you dont see survivor, zombies could not kill it. I trying to resolve it with OnCharacterCollide event with AddRandomDamageFromZombie command. But it doesnt work good, its just instant damage, not actual attack. So I wonder, is there some other comman for performing attack for zombie, that I can use? If it is not any, can you suggest how to make a cooldown for AddRandomDamageFromZombie, because it makes mulltiple damages (probably because event triggering many times)?
×
×
  • Create New...