cRPG
cRPG => General Discussion => Topic started by: Joseph Porta on February 26, 2014, 09:31:39 am
-
Is it possible to have different stats for items per game mode?
Cheers & thanks
-
I don't get it you need to be more specific. Also I think this goes into the beginners help area.
-
Is it possible to have different stats for items per game mode?
Cheers & thanks
Possible but quite useless?
-
That could be an idea implying some weapons are OP in some game mode and decent in other, but that would be a terrible way of item balancing.
-
If he's talking about certain stats for Strat and other ones for Siege/Battle it might not be a terrible idea, still weird though.
-
If he's talking about certain stats for Strat and other ones for Siege/Battle it might not be a terrible idea, still weird though.
LONG VOULGE!
-
I have no idea if this is possible and what kind of effort it would need, sorry.
-
I'm fairly sure you can't. Every items has its stats defined in code on one line that has a very rigid structure and you can't alter it with any "if" condition or anything of that sort. I've never tried it however, but warband code is not known for it's flexibility, to say the least, so I think it is not possible.
EDIT: That said, I have no clue whether it is possible to dynamicaly change the stats of a weapon by a script, so it makes my whole post moot :lol:
-
That's just the definition of the items. Making them available to the players is done in script.
-
It's possible indirectly in native. You can eg. modify damage, ranged damage, accuracy, reload speed of agents (based on weapon they use):
agent_set_damage_modifier = 2091 # (agent_set_damage_modifier, <agent_id>, <value>), # value is in percentage, 100 is default
agent_set_accuracy_modifier = 2092 # (agent_set_accuracy_modifier, <agent_id>, <value>), # value is in percentage, 100 is default, value can be between [0..1000]
agent_set_reload_speed_modifier = 2094 # (agent_set_reload_speed_modifier, <agent_id>, <value>), # value is in percentage, 100 is default, value can be between [0..1000]
agent_set_ranged_damage_modifier = 2099 # (agent_set_ranged_damage_modifier, <agent_id>, <value>), # value is in percentage, 100 is default
You can also do your own damage formula, working only for specific game mode (like in DTV adding 110% damage to Flamberge, 135% damage to Danish Greatsword, 152% damage to arbalest, 125% damage to all bows and so on). But you can't change item stats just like that AFAIK.
However, if you use WSE, it adds additional functions, which allow you to change important stats:
item_set_thrust_damage = 3828 #(item_set_thrust_damage, <item_kind_no>, <value>), #Sets <item_kind_no>'s thrust damage to <value>
item_set_thrust_damage_type = 3829 #(item_set_thrust_damage_type, <item_kind_no>, <value>), #Sets <item_kind_no>'s thrust damage type to <value>
item_set_swing_damage = 3830 #(item_set_swing_damage, <item_kind_no>, <value>), #Sets <item_kind_no>'s thrust damage to <value>
item_set_swing_damage_type = 3831 #(item_set_swing_damage_type, <item_kind_no>, <value>), #Sets <item_kind_no>'s thrust damage type to <value>
item_set_head_armor = 3832 #(item_set_head_armor, <item_kind_no>, <value>), #Sets <item_kind_no>'s head armor to <value>
item_set_body_armor = 3833 #(item_set_body_armor, <item_kind_no>, <value>), #Sets <item_kind_no>'s body armor to <value>
item_set_leg_armor = 3834 #(item_set_leg_armor, <item_kind_no>, <value>), #Sets <item_kind_no>'s leg armor to <value>
item_set_speed_rating = 3835 #(item_set_speed_rating, <item_kind_no>, <value>), #Sets <item_kind_no>'s speed rating to <value>
item_set_missile_speed = 3836 #(item_set_missile_speed, <item_kind_no>, <value>), #Sets <item_kind_no>'s missile speed to <value>
Of course, server need to use WSE to get those functions working. Since cRPG servers uses WSE, it shouldn't be a problem in cRPG :).
-
Sorry for the late reply lads, I had an incredibly busy vacation.
What I wondered is that if stats could change per game mode is that maybe there could be game modes that have alternating stats for weapons.
Say, random names, "sparta" with strong pikes, "rome" with strong spears and throwing lances. And "vikings" with fast shields and strong axes.
I know something like this would not attract alot ofplayers but I think it would be cool for a battle that is stylised around certain factions.
But this is merely some brainfart of mine, I was just wondering. :mrgreen:
-
Why are they different anyway? Not complaining but its all crpg right?