Small Mod Request

正在查看此主题的用户

Narcissus

Knight
Hey guys,

Thought it would be easier to request a little help rather than digging in and trying to relearn things again ...

Can someone make a simple mod that increases all thrown weapons (obviously including arrows) to have 95 per stack and increases the stats of sumpter horses to have 13 speed and 12 turn?

I realize it is super easy to do (as I used to do it every new version), but I looked at the files and can't remember the format.

If noone wants to, its no biggie ... just feeling really lazy.  :wink:

Narcissus
 
No prob.

Open up module_items.py, and replace the corresponding section (it's lines 124 to 140 inclusive) with the following:
插入代码块:
 ["sumpter_horse","Sumpter Horse", [("sumpter_horse",0)], itp_merchandise|itp_type_horse, 0, 34,abundance(90)|body_armor(2)|difficulty(1)|horse_speed(13)|horse_maneuver(12)|horse_charge(5),imodbits_horse_basic],
 ["saddle_horse","Saddle Horse", [("saddle_horse",0)], itp_merchandise|itp_type_horse, 0, 94,abundance(90)|body_armor(3)|difficulty(1)|horse_speed(8)|horse_maneuver(9)|horse_charge(8),imodbits_horse_basic],
 ["steppe_horse","Steppe Horse", [("steppe_horse",0)], itp_merchandise|itp_type_horse, 0, 112,abundance(80)|body_armor(5)|difficulty(2)|horse_speed(8)|horse_maneuver(11)|horse_charge(9),imodbits_horse_basic],
 ["courser","Courser", [("courser",0)], itp_merchandise|itp_type_horse, 0, 223,abundance(70)|body_armor(6)|difficulty(2)|horse_speed(11)|horse_maneuver(10)|horse_charge(11),imodbits_horse_basic],
 ["hunter","Hunter", [("hunting_horse",0)], itp_merchandise|itp_type_horse, 0, 334,abundance(60)|body_armor(11)|difficulty(3)|horse_speed(9)|horse_maneuver(10)|horse_charge(18),imodbits_horse_basic],
 ["warhorse","Warhorse", [("war_horse",0)], itp_merchandise|itp_type_horse, 0, 724,abundance(50)|body_armor(25)|difficulty(4)|horse_speed(8)|horse_maneuver(10)|horse_charge(25),imodbits_horse_basic],
 ["charger","Charger", [("charger",0)], itp_merchandise|itp_type_horse, 0, 1411,abundance(40)|body_armor(36)|difficulty(4)|horse_speed(8)|horse_maneuver(9)|horse_charge(30),imodbits_horse_basic],


#whalebone crossbow, yew bow, war bow, arming sword 
 ["arrows","Arrows", [("arrow",0),("flying_missile",ixmesh_flying_ammo),("quiver", ixmesh_carry)], itp_type_arrows|itp_merchandise, itcf_carry_quiver_back, 72,weight(3)|abundance(160)|weapon_length(95)|thrust_damage(1,pierce)|max_ammo(95),imodbits_missile],
 ["khergit_arrows","Khergit Arrows", [("arrow_b",0),("flying_missile",ixmesh_flying_ammo),("quiver_b", ixmesh_carry)], itp_type_arrows|itp_merchandise, itcf_carry_quiver_back_right, 410,weight(3.5)|abundance(30)|weapon_length(95)|thrust_damage(3,pierce)|max_ammo(95),imodbits_missile],
 ["barbed_arrows","Barbed Arrows", [("barbed_arrow",0),("flying_missile",ixmesh_flying_ammo),("quiver_d", ixmesh_carry)], itp_type_arrows|itp_merchandise, itcf_carry_quiver_back_right, 124,weight(3)|abundance(70)|weapon_length(95)|thrust_damage(2,pierce)|max_ammo(95),imodbits_missile],
 ["bodkin_arrows","Bodkin Arrows", [("piercing_arrow",0),("flying_missile",ixmesh_flying_ammo),("quiver_c", ixmesh_carry)], itp_type_arrows|itp_merchandise, itcf_carry_quiver_back_right, 350,weight(3)|abundance(50)|weapon_length(91)|thrust_damage(3,pierce)|max_ammo(95),imodbits_missile],
 ["bolts","Bolts", [("bolt",0),("flying_missile",ixmesh_flying_ammo),("bolt_bag", ixmesh_carry),("bolt_bag_b", ixmesh_carry|imodbit_large_bag)], itp_type_bolts|itp_merchandise, itcf_carry_quiver_right_vertical, 64,weight(2.25)|abundance(90)|weapon_length(55)|thrust_damage(1,pierce)|max_ammo(95),imodbits_missile],
 ["steel_bolts","Steel Bolts", [("bolt",0),("flying_missile",ixmesh_flying_ammo),("bolt_bag_c", ixmesh_carry)], itp_type_bolts|itp_merchandise, itcf_carry_quiver_right_vertical, 210,weight(2.5)|abundance(20)|weapon_length(55)|thrust_damage(2,pierce)|max_ammo(95),imodbits_missile],
 ["cartridges","Cartridges", [("cartridge_a",0)], itp_type_bullets|itp_merchandise, 0, 41,weight(2.25)|abundance(90)|weapon_length(3)|thrust_damage(1,pierce)|max_ammo(95),imodbits_missile],

And then, further down, lines 325 to 331:
插入代码块:
#RANGED
["jarid",         "Jarid", [("jarid_new",0),("jarid_quiver", ixmesh_carry)], itp_type_thrown |itp_merchandise|itp_primary|itp_bonus_against_shield ,itcf_throw_javelin|itcf_carry_quiver_back|itcf_show_holster_when_drawn, 109 , weight(4)|difficulty(1)|spd_rtng(89) | shoot_speed(27) | thrust_damage(30 ,  pierce)|max_ammo(95)|weapon_length(65),imodbits_missile ],
["javelin",         "Javelin", [("javelin",0),("javelins_quiver", ixmesh_carry)], itp_type_thrown |itp_merchandise|itp_primary|itp_bonus_against_shield ,itcf_throw_javelin|itcf_carry_quiver_back|itcf_show_holster_when_drawn, 75 , weight(5)|difficulty(0)|spd_rtng(91) | shoot_speed(28) | thrust_damage(27 ,  pierce)|max_ammo(95)|weapon_length(75),imodbits_missile ],
["stones",         "Stones", [("throwing_stone",0)], itp_type_thrown |itp_merchandise|itp_primary ,itcf_throw_stone, 1 , weight(4)|difficulty(0)|spd_rtng(97) | shoot_speed(30) | thrust_damage(10 ,  blunt)|max_ammo(95)|weapon_length(8),imodbit_large_bag ],
["throwing_knives", "Throwing Knives", [("throwing_knife",0)], itp_type_thrown |itp_merchandise|itp_primary ,itcf_throw_knife, 76 , weight(3.5)|difficulty(0)|spd_rtng(110) | shoot_speed(26) | thrust_damage(19 ,  cut)|max_ammo(95)|weapon_length(0),imodbits_missile ],
["throwing_daggers", "Throwing Daggers", [("throwing_dagger",0)], itp_type_thrown |itp_merchandise|itp_primary ,itcf_throw_knife, 143 , weight(3.5)|difficulty(0)|spd_rtng(102) | shoot_speed(25) | thrust_damage(22 ,  cut)|max_ammo(95)|weapon_length(0),imodbits_missile ],
["throwing_axes", "Throwing Axes", [("francisca",0)], itp_type_thrown |itp_merchandise|itp_primary|itp_bonus_against_shield,itcf_throw_axe,171, weight(5)|difficulty(1)|spd_rtng(88) | shoot_speed(21) | thrust_damage(35,cut)|max_ammo(95)|weapon_length(53),imodbits_missile ],

That should do it...
 
No trouble.  I happened to be forum-surfing as a break from some much, much harder coding; this was the modding equivalent of 'walking it out' after a five-hundred-meter race. :smile:
 
后退
顶部 底部