Legionaire
05-20-2007, 05:28
Hi all,
I tried editing the unit text file to equip musketeers with natha bomb as secondary weapon, but was not successful.
Anybody able to figure how? Could you kindly tell me how?
Thanks in advance.
Warluster
05-20-2007, 06:00
I don't know how too, but if you do could you upload it too the internet so the rest of us can download it? It sounds awesome!
Moved to modding questions
I am unsure but what you're thinking might require alot of editing.
Natha Bomb is a primary weapon a ranged one too (if i am correct) and seconary weapons are all melee weapons which are switched to once the ranged unit is in combat. (another example is lances on knights which change to swords or mallets etc when they are in combat).
I am unsure how this is coded but I think a ranged secondary weapon might upset the game as it will try to switch from a ranged weapon and be unable to.
So you could either find away to turn off the unit trying to switch to a melee weapon or I think another way to do this would be to somehow make the muskets have a seconary fire mode "natha bomb" so that they still have a secondary weapon in combat which will save all manner of pain in getting this working.
Sorry if i am wrong I'm going off Rome modding knowledge here I've only resently started on MTW2
b_black68
05-27-2007, 08:39
Actually its quite easy, I equipped my musketeers with cannon balls, with quite devestating results.
In you export_descr_units file, find the unit that you are wanting to change out: in this case musketeers, and change their stat_pri and stat_pri_attr lines to the ammo you want.
Ex: Changing Arquebusiers to fire cannon shot:
stat_pri 16, 3, arquebus_bullet, 120, 20, missile, missile_gunpowder, piercing, none, musket_shot_set, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr ap
change to
stat_pri 16, 3, cannon_shot, 120, 20, siege_missile, artillery_gunpowder, blunt, none, musket_shot_set, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr ap, bp, area, launching
You may want to balance the stats as well, because at that low of range and attack value you wouldnt hit the broad side of a barn at point blank range.
Changing to a naphta pot is even easier
stat_pri 16, 3, nahptha_pot, 120, 20, missile, missile_gunpowder, blunt, none, musket_shot_set, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr ap
Hope this works for you
b_black68
05-27-2007, 08:50
As i was, it appears you can't add the naphta pots as ammo unless the unit uses the throwing animation. Sucks
However, using the cannon ammo is just as fun.
Warluster
05-27-2007, 10:06
lol, imagine if you could throw the Cannons. :)
zerathule
06-07-2007, 17:04
In fact it is possible to have other kind of troops throwing nafta bombs.
I wanted to try and have "uber" mounted crossbowmen, so i first wanted to change the bolt type since it affects accuracy.
But contrary to horse archers that can have the cav_bodkin_arrow there is no cav_steel_bolt or something like that.
So i used nafta bombs.
I'll paste the exact change i made, but i can assure you that these guys where launching bombs with their crossbows. (they are not throwing the bombs, the missile that comes out of the xbow is the bomb)
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.