- Joined
- Dec 6, 2004
- Messages
- 288
Hey, I'm trying to create an Item weight for my RPG, it's basically subtracting movement speed from the Hero when carrying an item;
Ex.: Chain Armor, 20lbs.
Quilted Armor, 5lbs
I would use the weight to create some formula to remove a realistic ammount of speed. The problem is, I could always 'Set unit speed,' but that wouldn't fit in with having Speed modifying items, such as boots of speed. I could just base a spell off of 'Slow' to subtract a % of the movement speed, and that would work nicely. Except, the ammount of speed reduction depends on how much strength your hero has, the more, the less speed is reducted. This could be accomplished, by simply adding movement speed to the hero on each strength interval I suppose, and then I'd need to make sure that the speed never actually adds onto the hero when it is not wearing anything, that would just make him faster. But in fact, only add movement speed when an item is equiped, and no more than the item takes.
I'm not completely sure how this would work, but if someone could find a good formula or a different approuch to this that would be awesome! This would also be a very nice spell
Ex.: Chain Armor, 20lbs.
Quilted Armor, 5lbs
I would use the weight to create some formula to remove a realistic ammount of speed. The problem is, I could always 'Set unit speed,' but that wouldn't fit in with having Speed modifying items, such as boots of speed. I could just base a spell off of 'Slow' to subtract a % of the movement speed, and that would work nicely. Except, the ammount of speed reduction depends on how much strength your hero has, the more, the less speed is reducted. This could be accomplished, by simply adding movement speed to the hero on each strength interval I suppose, and then I'd need to make sure that the speed never actually adds onto the hero when it is not wearing anything, that would just make him faster. But in fact, only add movement speed when an item is equiped, and no more than the item takes.
I'm not completely sure how this would work, but if someone could find a good formula or a different approuch to this that would be awesome! This would also be a very nice spell