Tweak - How to Allow Accessing Inventory During a Siege

Users who are viewing this thread

skald

Regular
Hmm. For some reason notepad won't let me save it. Damned vista.

This is the error message I get:

Cannot create the C:\ProgramFiles\Mount&Blade\Modules\Native\mission_template.txt file

Make sure that the path and filename are correct.
 

IceShade

Sergeant
WB
Thanks a whole bunch! This just made sieging more interesting for me. Use the crossbow till I'm out of bolts, bring out the bardiche and chop away!
 

skald

Regular
skald said:
Hmm. For some reason notepad won't let me save it. Damned vista.

This is the error message I get:

Cannot create the C:\ProgramFiles\Mount&Blade\Modules\Native\mission_template.txt file

Make sure that the path and filename are correct.

Fixed it... Damned permissions.
 

Algol

Recruit
Hey, I just switched to 1.011.  I had this tweak working on 1.003, but now it's not.  Does it not work for 1.011?
 

SPD_Phoenix

Master Knight
Did you make the same tweaks after upgrade?

If you made the tweaks in the Native folder, then all of your tweaks will be lost when you upgrade.
 

goddamn

Recruit
You just made my day.

In a siege against me and my 30 nord huscarls + 15 rhodok sharpshooters vs 700 khergits, i won, they got scattered all because of this!

I killed 200 people all by myself, wounded many more, we have 1 sharpshooter casualty (khergits attacked 3 times with some time in between each attack).

If it weren't for you, I'd be in lock and chain right now w/ a ruined campaign.

Thanks, man. Just thanks.
 
It's not the oldest nuk I've seen, but it's certainly one of the dumbest

I mean come on

TheMageLord said:
Well, as soon as the module system comes along plenty of people will be contributing new 1.003 mods and tweaks.

I'm just the only nut who digs through text files and submits guides for changes before the module system is out :grin:

I'm glad everyone's enjoying them, though.

TheMageLord said:
Ringwraith #5 said:
That's awesome, even though I'm probably not going to use it, as I never really have any desire to access inventory during a siege.
One question, though: How the hell do you come up with this stuff? Can you actually read this gibberish? :shock:

I can understand it up to a point. I mostly use the .960 module system and .960 text files to compare to the 1.003 text files, as the meat of the .960 stuff is mostly the same as the 1.003 stuff. The line for telling the player that he couldn't access his inventory was the same, for instance, so I just had to find that line in the 1.003 mission templates for castles. Then I changed it to the one from towns (which was also the same) that let you open your inventory.
 

goddamn

Recruit
holy sh** i didn't see that the thread was this old, i was just browsing the forum, a search led to a link and bam, i didn't even look at the dates.

i'm terribly sorry for that.

won't happen again.
 

Anthropoid

Sergeant Knight at Arms
Lancefighter said:
Would the same apply in some manner for the party window?
It would be nice to be able to readjust my troops, upgrade them maybe, and give my companions swords instead of lances... >.>

This is a great tweak! Just wanted to repeat this question quoted above.

If there was a way to get into the Party/Inventory/Character window during the actual siege part (before you start the actual assault) while you are building/waiting that would be WAY COOL!
 

Petros15

Regular
Fa-nta-stic!!!!!!!!But i have to tell you this isnt the best.The best was the one for morale and party size!Kinda cheaty though......
 

leonidaz

Recruit
:lol:
TheMageLord said:
The lack of baggage during a siege is annoying. Short of going into every single scene and making a 20mb download just to add baggage to them all, the easiest way of modding in inventory access to sieges is to just make it work by pressing the inventory key. So this is what I did. I'll leave it to you to regulate how you use it - run back to your troops and pretend you're opening baggage before you re-arm during combat if you like, it's just nice to be able to do it at all.

The file you need to edit is mission_templates.txt. You'll need to look for mst_castle_attack_walls_belfry and mst_castle_attack_walls_ladder, and you'll be looking at the parts at the bottom of these entries (right before the next mst_ entry).

The belfry one has:
0.000000 0.000000 0.000000  0  2 73 1 20 900 1 1513209474796486666
0.100000 0.000000 0.000000  0  2 31 2 144115188075856128 1 1 1 936748722493063415
-22.000000 0.000000 0.000000  1 1106 1 216172782113783919  0
0.000000 0.000000 100000000.000000  1 1 1 936748722493063401  0
0.000000 0.000000 100000000.000000  1 1 1 936748722493063402  0
0.000000 2.000000 100000000.000000  1 1 1 936748722493063403  1 2133 2 144115188075856133 3
0.000000 0.000000 100000000.000000  1 1 1 936748722493063404  0

And the ladder one has:
0.000000 0.000000 0.000000  0  2 73 1 20 900 1 1513209474796486666
0.100000 0.000000 0.000000  0  2 31 2 144115188075856128 1 1 1 936748722493063415
-22.000000 0.000000 0.000000  1 1106 1 216172782113783919  0

The red being the line you actually need to edit - that's telling the game what to do once you push the inventory key. The way it's set now tells you that you can't access your inventory. Instead we change it to this:
-22.000000 0.000000 0.000000  1 2075 1 1  0

All you actually have to change is the 1106 to 2075 and the 216172782113783919 to 1. This tells it to trigger the key as normal (aka open inventory) when you press the inventory key.

To clarity (in case I lost someone) What you'll want to see is this for the end of the belfry script:
0.000000 0.000000 0.000000  0  2 73 1 20 900 1 1513209474796486666
0.100000 0.000000 0.000000  0  2 31 2 144115188075856128 1 1 1 936748722493063415
-22.000000 0.000000 0.000000  1 2075 1 1  0  
0.000000 0.000000 100000000.000000  1 1 1 936748722493063401  0
0.000000 0.000000 100000000.000000  1 1 1 936748722493063402  0
0.000000 2.000000 100000000.000000  1 1 1 936748722493063403  1 2133 2 144115188075856133 3
0.000000 0.000000 100000000.000000  1 1 1 936748722493063404  0
And this for the end of the ladder one:
0.000000 0.000000 0.000000  0  2 73 1 20 900 1 1513209474796486666
0.100000 0.000000 0.000000  0  2 31 2 144115188075856128 1 1 1 936748722493063415
-22.000000 0.000000 0.000000  1 2075 1 1  0

Once these changes are done, the next time you siege a castle or defend a castle pressing I will open your inventory. Not quite as elegant as baggage boxes, but much simpler. Enjoy!

Link to other tweaks.
 

AYust22

Regular
NWWB
:grin: thanks man that made my gameplay much fun now :grin: no need to survive with 34 arrows in a siege againts 999 nords O_O btw I won them with 94 soldiers :razz: most of them knights haha
 
Top Bottom