Hi Gang. I'm looking for a source mod that would check how many equip spots a weapon or armor takes up and then would use that number to multiply how many cards an equipment has.
Example: A sword has a card in it that gives a 5% atk boost. A two-handed sword has that same card in it, but the game reads it as two cards, giving the player a 10% atk boost.
I'm doing this to balance two-handed weapons and multi-equip-spot armor in my game. If this seems difficult to code, but multiplying the bonus of the cards would be easier, I'm open to that for now, but I want to have my game think there are two cards present in two-handed weapons for the purpose of card combo bonuses.
Example 2: An upper headgear has a card in it that boosts Def by 30. A upper/mid/lower headgear has that same card in it, but the game reads it as if it were 3 cards, so the Def boost is 90.
Also, obviously this wouldn't only apply to cards themselves, but also any bonus that goes into a card slot, like enchants.
Thanks for any leads! If you can do this through scripting but aren't confident in your ability to do this through source mod, I'd be happy to try that out, as at least it would give me a working model for the time being.
(Mods: Woops. Should have posted this in Source Request instead of Source Support. My bad. Feel free to move it, since I can't delete it on my own.)
Question
Humble_Bee
Hi Gang. I'm looking for a source mod that would check how many equip spots a weapon or armor takes up and then would use that number to multiply how many cards an equipment has.
Example: A sword has a card in it that gives a 5% atk boost. A two-handed sword has that same card in it, but the game reads it as two cards, giving the player a 10% atk boost.
I'm doing this to balance two-handed weapons and multi-equip-spot armor in my game. If this seems difficult to code, but multiplying the bonus of the cards would be easier, I'm open to that for now, but I want to have my game think there are two cards present in two-handed weapons for the purpose of card combo bonuses.
Example 2: An upper headgear has a card in it that boosts Def by 30. A upper/mid/lower headgear has that same card in it, but the game reads it as if it were 3 cards, so the Def boost is 90.
Also, obviously this wouldn't only apply to cards themselves, but also any bonus that goes into a card slot, like enchants.
Thanks for any leads! If you can do this through scripting but aren't confident in your ability to do this through source mod, I'd be happy to try that out, as at least it would give me a working model for the time being.
(Mods: Woops. Should have posted this in Source Request instead of Source Support. My bad. Feel free to move it, since I can't delete it on my own.)
Edited by Humble_BeeLink to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.