Jump to content

Wengu4

Members
  • Posts

    3
  • Joined

  • Last visited

Personal Information

  • Country
    Russian Federation
  • Gender
    Male

Wengu4's Achievements

Feller

Feller (1/10)

0

Reputation

  1. Whoa, that's very helpful. It's working for me. I wanted to ask about your nice checker in code if it's a story npc. The problem is when you tweak AI_WEAPON_DAMAGE it somehow affects melee damage etc. But that's not the problem. I wanted to do the same thing but not with the health like in your mod but with the weapon damage: While Enemy,other npc's damage scaling increases, this value for your allies(story characters) remains the same. How can i express it in the code? Thanks Edit: Introducing this value makes everyone immortal including mc ENTITY::SET_ENTITY_HEALTH(peds[i], ENTITY::GET_ENTITY_MAX_HEALTH(peds[i], 0), 0); <-where does this line lead and what values should i enter here? The last zero should remain zero if i got it right from db
  2. Thank you for reply. For example if i want to increase humanoid enemies health in the game i go with SET_ENTITY_HEALTH( entity?, int); ? How do i group them in the entity field? AIwepdmg and playerweapondmg are pretty easy to tweak
  3. Hello. I saw on nexus that this mod tweaks npc health. Can you tell me which natives correspond to the ai' health?
×
×
  • Create New...