-LukaS- Posted December 28, 2020 Share Posted December 28, 2020 So, I want to make scalemail actually worth spending a Dragonfly scale by changing its "Set enemies on fire" perk. The idea is to make the attacker take damage and spawn an explosion fx when they attack a player with a scalemail on. It's a simple change that is not a problem to code really. The problem is that this change requires the scalemail prefab to have a 'prefabs' table, which it doesn't have, and I don't think you can just add one with 'AddPrefabPostInit'. After brainstorming for 2 days the only solution I could think of is making an entirely new prefab and replacing the scalemail with it so that I could have absolute control over the file but all that just to spawn a prefab seemed a little bit too excessive. If anyone knows how to add a 'prefabs' table to an existing prefab or maybe a completely different solution that is not as complicated as mine, tell me. Thanks! 1 Link to comment https://forums.kleientertainment.com/forums/topic/125477-scalemail-override-problem/ 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