Merkyrrie Posted February 21, 2023 Share Posted February 21, 2023 2 hours ago, zonydragon said: What do I change it to? Like what is the tag, I don't really know what that is specifically. Tags are in simple terms just markers the game uses to lump things together and check if something is apart of those things (literally "tagging" them). Your character will actually have a bunch, like "player", by default from player_common. However you are able to add tags yourself. Change the "yourcharactertaghere" in modmain to something like "taran", something unique so its not already being used. Then in your common_postinit in your character prefab add inst:AddTag("taran") or whatever you choose for the tag in place of "taran." Both the one in modmain and the one in your prefab need to be exactly the same. 7 hours ago, kipper0k said: i think this metod dont work with armor This one should work with armor, its multiplying the damage value then sending it back to GetAttacked, which contains the call to apply damage to armor and have it be reduced. Link to comment https://forums.kleientertainment.com/forums/topic/145998-how-do-i-make-the-character-take-more-damage-in-general/page/2/#findComment-1621511 Share on other sites More sharing options...
zonydragon Posted February 22, 2023 Author Share Posted February 22, 2023 11 hours ago, Merkyrrie said: Tags are in simple terms just markers the game uses to lump things together and check if something is apart of those things (literally "tagging" them). Your character will actually have a bunch, like "player", by default from player_common. However you are able to add tags yourself. Change the "yourcharactertaghere" in modmain to something like "taran", something unique so its not already being used. Then in your common_postinit in your character prefab add inst:AddTag("taran") or whatever you choose for the tag in place of "taran." Both the one in modmain and the one in your prefab need to be exactly the same. This one should work with armor, its multiplying the damage value then sending it back to GetAttacked, which contains the call to apply damage to armor and have it be reduced. Oh, it's working now! Thanks a lot ya'll <3 Link to comment https://forums.kleientertainment.com/forums/topic/145998-how-do-i-make-the-character-take-more-damage-in-general/page/2/#findComment-1621542 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