SP Native Mod: Track your tournament record

Users who are viewing this thread

Effidian

Recruit
Ever want to know how well you are doing in the tournament? Well, now you can. This mod will add a conversation option to the tournament master to give you your record. (It only tracks the record after you install the mod and the option only shows up after you fight the first time.)

Now, in order to do this I had to reuse a couple variables. These relate to training, so the mod changes a couple things. You cannot fight in the tournament until you finish training and once you finish training, you may not use the training room anymore.

To use it, unzip the file and replace the conversation.txt in your Mount&BladeModsNative directory. (Be sure to back up your old one.)

Download the mod from here.

Suggestions and comments are welcome...
 
Sounds good. I was just thinking of a stats screen you can pull up that'd be really detailed (like crossbow accuracy, number of headshots, horses eaten, % experience gained by battle/training/quests, friendly troops hit/killed, average battle advantage, most unlikely victory (battle won with the lowest starting advantage, worst defeat (battle lost with the highest starting advantage), stuff like that). If you've seen the summaries from Nethack or the awards from Timesplitters you'd know what I mean.
 
We'll need more variables to keep that stuff (if it is even possible). I'm thinking we'll have to wait for the mod tools to even attempt.

I'm with you though. I'd like a detailed statistics screen. And there is the unused "Statistics" button on the character screen, so hopefully it is coming...
 
Great work Effidian! :D

I'm looking forward to see more in-game statistic. In the name of all stastistic freaks I thank you! :D
 
I just tried out this mod. It seems to work well, without any bugs I could find. Nice job adding dialogue to the trainer to tie up that loose end.

Great job! Only suggestion I have is maybe it would be nice to see a % instead of just the numbers.

But again, awesome work and a very nice little mod.
 
armagan said:
I wonder how you are managing to do these things without the mod tools... :)

Vinz figured out quite a bit about the instruction sequences. I just had to spend some time decrypting a few more. I keep telling myself, that you're going to release tools and make all this irrelavent, but that hasn't stopped me yet for some reason... :)

Voldy said:
Great job! Only suggestion I have is maybe it would be nice to see a % instead of just the numbers.

I could probably do that. (Although, I either need to find a mod instruction, floating point instructions, or truncate the decimal, so it would say 33% when you have 33.9%, when it should say 40%.) The other thing I wanted to do was add the amount of money you've won (or lost) betting. But, I'm a bit leary of using more variables at this point. If I can find one I'm reasonably okay with using, maybe I'll add that as well.


Also, the trainer conversation is different if you have a winning or losing record.
 
Good news!

I too am a fool for statistics and meaningless rewards! I'm like the proverbial lab rat who keeps pulling the levers looking for another goody. :)
 
Alright, it now gives you a percentage. (Found the mod instruction, so it isn't as accurate as it could be with floating point, but good enough I think.)

Just refetch it.
 
Effidian said:
armagan said:
I wonder how you are managing to do these things without the mod tools... :)

Vinz figured out quite a bit about the instruction sequences. I just had to spend some time decrypting a few more. I keep telling myself, that you're going to release tools and make all this irrelavent, but that hasn't stopped me yet for some reason... :)

The upcoming tools plus actual work to do at my job has bogged me down. I'm a little jealous.

I'm hazy on this, but I think Armagan does some stuff in the conversation relating to the river pirates quest that ends up calculating a percentage. Something along the lines of multiplying all the values by 10, doing the percentage calculation, then integer division by 10.
 
There's no floating point support for script operations. So I just multiply by 100 or such when I need to do that kind of thing (It's called fixed-point arithmetic if I remember correctly.)
 
armagan said:
There's no floating point support for script operations. So I just multiply by 100 or such when I need to do that kind of thing (It's called fixed-point arithmetic if I remember correctly.)

Yep, that's basically what I did.
 
I thought about asking Effidian and incorporating it into mag-7 long ago but never got around to it. It would be a pain at the moment for two reasons. A) Likely an update soon requiring mods to be fixed again. B) Codes have changed quite a bit from when this mod came out. There is no current list available of the new codes. Might be hard at the moment.

Not too hard but a pain seeing as it might have to be redone over and over.
 
You are welcome to incorporate it whenever you get to it. Or whenever I get to parsing conversations again. Or...
 
Back
Top Bottom