Max Weight Changes
Posted: August 15th, 2012, 7:46 am
Hi,
I'm working on an RPG in 2.7 and i'm making it so that without equipment your character is all but useless. So basically equipment is key for every stat.
I was wanting to play around with Weights so that you can only equip certain items together before you are overweight and have to rethink your "Build" (as it were). I currently have 106 types of armor and weapons which I was going to use a shop to obtain... however recipe's will do for now.
Anyway onto my question:
Is there a way that I can define using a script or in status' that the item in question has a MAXWeight limit but also weighs a certain amount itself?
Here is an example:
So basically by equipping this piece it will make your Max weight +540 and the item itself weighs 275. which gives you an extra 265 weight to add additional parts!
Obviously if you go over your max weight it slows you right down and makes jumping pretty much useless!
Can anyone advise?
I'm working on an RPG in 2.7 and i'm making it so that without equipment your character is all but useless. So basically equipment is key for every stat.
I was wanting to play around with Weights so that you can only equip certain items together before you are overweight and have to rethink your "Build" (as it were). I currently have 106 types of armor and weapons which I was going to use a shop to obtain... however recipe's will do for now.
Anyway onto my question:
Is there a way that I can define using a script or in status' that the item in question has a MAXWeight limit but also weighs a certain amount itself?
Here is an example:
Code: Select all
r_item_name "LEG-27VR"
r_item_worth 324
r_item_weight 275 // <------ How heavy the item is!
r_item_mdl "dcp/sack"
r_item_use_new_armour
r_item_use_name "LEG-27VR"
r_item_use_description "Weight:275 / Armour:360 / Agility:+80 / Stealth:+53 / Move:+14 / MAXWeight:+540" //<--- How much extra weight can be tolerated by using this piece of armour!
r_item_use_chargeflags $CHARGE_RADIUS
r_item_use_new_status 27 $ATTACK_NONE 0
r_item_use_slots $SLOT_LEGS
r_item_use_skill $SKILL_ARMOUR
Obviously if you go over your max weight it slows you right down and makes jumping pretty much useless!
Can anyone advise?