Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

통계 보기:
ankh 2021년 8월 29일 오후 4시 01분
add machine gun
since every large battle has the enemy ai just hold position till the end of time, is there a machine gun mod so i can just ride up to them and just mow them down?
첫 게시자: Shade:
it really is very easy to make a repeating crossbow mod if you don't want the look just the behavior
Note : the reason i suggest you delete all the files and other items in the explanation below is for you not to override in game files that might be changed in the future ( you will understand in a second)

1. go to Mount & Blade II Bannerlord\Modules folder
2. Find Mount & Blade II Bannerlord\Modules\SandBoxCore
3. Copy the Folder and rename it (Crossbow or something)
4. Open it and delete everything but SubModule.xml and the ModuleData Folder
5. Open the SubModule.xml edit this part :
<Module>
<Name value = "SandBox Core"/>
<Id value = "SandBoxCore"/>
<Version value = "e1.6.1"/>
<DefaultModule value="true"/>

To be:
<Module>
<Name value = "Crossbow"/>
<Id value = "Crossbow"/>
<Version value = "e1.6.1"/>
<DefaultModule value="false"/>

and make sure that between <Xmls> and </Xmls>
you only have (note the name of the path - spitems2):
<XmlNode> <XmlName id="Items" path="spitems2"/> <IncludedGameTypes> <GameType value = "Campaign"/> <GameType value = "CampaignStoryMode"/> <GameType value = "CustomGame"/> <GameType value = "EditorGame"/> </IncludedGameTypes> </XmlNode>

Delete the rest

6. Open the ModuleData Folder
7. Delete everything except for the spitems folder
8. Rename the spitems folder to spitems2 and open the folder
9. Delete everything except for the weapons.xml
10. Open the weapons.xml and find crossbow_a (for instance):
i suggeset removing everything else from the file (it should look like this):
<?xml version="1.0" encoding="utf-8"?> <Items> <Item id="crossbow_a" name="{=K1UFTirG}Light Crossbow" body_name="bo_cross_bow_heavy" mesh="crossbow_a" culture="Culture.vlandia" weight="1.0" appearance="0.8" difficulty="0" Type="Crossbow" AmmoOffset="0.0, 0.02131, 0.24650" item_holsters="crossbow_back:bow_hip:mace_right_hip:bow_hip_2" holster_position_shift="0.02,0,-0.4"> <ItemComponent> <Weapon weapon_class="Crossbow" ammo_class="Bolt" missile_speed="77" accuracy="95" thrust_damage="75" thrust_speed="92" speed_rating="62" weapon_length="95" ammo_limit="1" thrust_damage_type="Pierce" item_usage="crossbow_fast" physics_material="wood_weapon" center_of_mass="0,0,0.4" item_modifier_group="crossbow"> <WeaponFlags RangedWeapon="true" HasString="true" NotUsableWithOneHand="true" TwoHandIdleOnMount="true" /> </Weapon> </ItemComponent> <!--flag name="AmmoOffset" value="0.0, 0.02131, -0.15" /--> </Item> </Items>

Change the id name and the string name
Item id="crossbow_a" >> Item id="r_crossbow"
name="{=K1UFTirG}Light Crossbow" >> name="Repeating Light Crossbow"

and change the ammo limit to say ... 20 ?

ammo_limit="1" >> ammo_limit="20"


now to make it appear more frequently in the game change the value of appearance="0.8" >> appearance="5.0"

or just use the game console


NOW
after i gave you a direct answer to your question , i really suggest you don't use it as it is going to make your game really boring

But that is up to you not up to us and i am for giving people answers to what they are looking for

in addition , since it was not meant to be used in that way , the cursor will disappear after the first shot and until you reload the crossbow - this can be solved but not as easily as making this repeating crossbow ... :)
< >
18개 댓글 중 16-18개 표시
Shade 2021년 9월 19일 오후 1시 22분 
Thariorn님이 먼저 게시:
Shade님이 먼저 게시:


this line determine how often the item appears in markets:
appearance="0.8"
the bigger it is the more it appears
so ...
appearance="5.5" ?

as for culture="Culture.vlandia"
I think ( but i havn't seen the code) they use that to determine the culture that sells it
Yeah, sry, kinda forgot to follow up.

My xml file just missed a closing > somewhere, haha


Happy to help :)
ShadowFox 2021년 9월 19일 오후 3시 19분 
ida님이 먼저 게시:
since every large battle has the enemy ai just hold position till the end of time, is there a machine gun mod so i can just ride up to them and just mow them down?
Or just have archers or cav archerys wear em down. Or heavy cav charge or infantry line pressure attack
KipReigns 2021년 9월 19일 오후 5시 57분 
you need to learn about a little thing called "the past"
< >
18개 댓글 중 16-18개 표시
페이지당 표시 개수: 1530 50

게시된 날짜: 2021년 8월 29일 오후 4시 01분
게시글: 18