Flying Squirrel Entertainment

Mount & Blade Warband: Napoleonic Wars => Released Modifications => Topic started by: Kaasovic on April 13, 2015, 08:30:11 pm

Title: Cheer and spyglass mod
Post by: Kaasovic on April 13, 2015, 08:30:11 pm
Hello peepz of fse,

A lot of people have requested to release the musket spyglass mod thingie, so here it is.
Eventually I will regret for ever posting this. RIP Kaasovic.

How to Download?
How to Install?
How to Use?
Credits
Disclaimer
Title: Re: Cheer and spyglass mod
Post by: Viriathus on April 13, 2015, 09:18:10 pm
Do not try to take credit for this mod, cause I will find you and I will kill you.
kk
Title: Re: Cheer and spyglass mod
Post by: Caesim on April 13, 2015, 09:28:06 pm
Do not try to take credit for this mod, cause I will find you and I will kill you.
I take the credit, come kill me!  ;D

Nice job figuring out the spyglass part though.
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on April 13, 2015, 09:39:11 pm
Do not try to take credit for this mod, cause I will find you and I will kill you.
I take the credit, come kill me!  ;D

Nice job figuring out the spyglass part though.

Was a challenge, still thanks for the cheer part though
Title: Re: Cheer and spyglass mod
Post by: Llama on April 14, 2015, 07:43:13 pm
Do not try to take credit for this mod, cause I will find you and I will kill you.
I take the credit, come kill me!  ;D

Nice job figuring out the spyglass part though.

Thanks based Caesim
Title: Re: Cheer and spyglass mod
Post by: Cazasar on April 14, 2015, 07:43:45 pm
Caesim is MVP
Title: Re: Cheer and spyglass mod
Post by: KL4R1N0G4MPR0S on April 14, 2015, 08:41:19 pm
O.o ty <3
gotta try it later
Title: Re: Cheer and spyglass mod
Post by: FineApple on May 03, 2015, 08:06:57 pm
mod doesnt work for me
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on May 03, 2015, 08:46:58 pm
You sure you copied everything to the right folder?
Title: Re: Cheer and spyglass mod
Post by: FineApple on May 03, 2015, 08:54:34 pm
yes i replaced the mission_templates.txt file with your one , the spyglass animation does work however the cheer animation doesnt

Oh nevermind turns out the gamemode i was testing on didnt work
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on May 03, 2015, 08:59:43 pm
Ah ok. ;)
Title: Re: Cheer and spyglass mod
Post by: 4th_Official on May 04, 2015, 09:46:54 pm
What is the spy glass animation?
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on May 04, 2015, 10:46:03 pm
Holds any weapon like a spyglass
Title: Re: Cheer and spyglass mod
Post by: hardcorefreestyleboy on May 05, 2015, 02:44:26 pm
So a suicide animation for pistols? Wow your mind is sick
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on May 05, 2015, 08:09:58 pm
Muhahha
Title: Re: Cheer and spyglass mod
Post by: NickyJ on May 06, 2015, 05:18:17 am
Loving the spyglass animation. Freaking people out in all the regs I play with. :P Is there any chance you could bind it to the number pad, though. Having it on the main part of the keyboard is nice, but it gets annoying when I cheer or lift my spyglass up while I type messages in chat.
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on May 06, 2015, 09:32:07 am
Oh snap, Ill make a hotfix, and a second version that binds it to numpad
Title: Re: Cheer and spyglass mod
Post by: Superbad on May 07, 2015, 03:45:38 am
Oh snap, Ill make a hotfix, and a second version that binds it to numpad

Yes pls
Title: Re: Cheer and spyglass mod
Post by: hardcorefreestyleboy on May 07, 2015, 10:37:19 am
My roleplay servers community is using your mod extensively Kaasovic :D But Could you make a ramrod animation too plox?
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on May 07, 2015, 11:13:58 am
My roleplay servers community is using your mod extensively Kaasovic :D But Could you make a ramrod animation too plox?

Ill try, if the animation is server triggered, it's possible
Title: Re: Cheer and spyglass mod
Post by: turanafon on June 14, 2015, 03:10:22 pm
thankyou very muchly
Title: Re: Cheer and spyglass mod
Post by: Im_A_Tortoise on June 15, 2015, 09:03:44 pm
Hey Kaasovic, I was wondering if you could switch the keybindings to the num keys? For Ex. Cheer= NUM_9   Spyglass= NUM_8 

It would just be convinient for my push to talk key in teamspeak which is v and the cheer is also v as well so, but thanks anyways, great mod...
Title: Re: Cheer and spyglass mod
Post by: KL4R1N0G4MPR0S on June 15, 2015, 10:42:20 pm
Hey Kaasovic, I was wondering if you could switch the keybindings to the num keys? For Ex. Cheer= NUM_9   Spyglass= NUM_8 

It would just be convinient for my push to talk key in teamspeak which is v and the cheer is also v as well so, but thanks anyways, great mod...
I second this, it's really annoying to have the cheer animation triggered everytime I write in chat :3
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on June 15, 2015, 10:43:35 pm
how can you change the buttons in your mod kaasovic

so that i can have the spyglass mod on f instead of b

It might be kinda complicated but,

look for this line (in the mission_templates.txt file you downloaded):
Quote
0.000000 0.000000 0.000000  1 71 1 48  6 2147484551 1 41 1 1 196 2133 2 1224979098644774912 72057594037927936 1712 1 1224979098644774912 1702 1 1224979098644774912 900 1 41

The number in red, 48, is the number for the key you have to press.

If you want it changed pick a key from the following list:
Spoiler
key_1 = 0x02
key_2 = 0x03
key_3 = 0x04
key_4 = 0x05
key_5 = 0x06
key_6 = 0x07
key_7 = 0x08
key_8 = 0x09
key_9 = 0x0a
key_0 = 0x0b
key_a = 0x1e
key_b = 0x30
key_c = 0x2e
key_d = 0x20
key_e = 0x12
key_f = 0x21
key_g = 0x22
key_h = 0x23
key_i = 0x17
key_j = 0x24
key_k = 0x25
key_l = 0x26
key_m = 0x32
key_n = 0x31
key_o = 0x18
key_p = 0x19
key_q = 0x10
key_r = 0x13
key_s = 0x1f
key_t = 0x14
key_u = 0x16
key_v = 0x2f
key_w = 0x11
key_x = 0x2d
key_y = 0x15
key_z = 0x2c
key_numpad_0 = 0x52
key_numpad_1 = 0x4f
key_numpad_2 = 0x50
key_numpad_3 = 0x51
key_numpad_4 = 0x4b
key_numpad_5 = 0x4c
key_numpad_6 = 0x4d
key_numpad_7 = 0x47
key_numpad_8 = 0x48
key_numpad_9 = 0x49
key_num_lock        = 0x45
key_numpad_slash    = 0xb5
key_numpad_multiply = 0x37
key_numpad_minus    = 0x4a
key_numpad_plus     = 0x4e
key_numpad_enter    = 0x9c
key_numpad_period   = 0x53
key_insert    = 0xd2
key_delete    = 0xd3
key_home      = 0xc7
key_end       = 0xcf
key_page_up   = 0xc9
key_page_down = 0xd1
key_up      = 0xc8
key_down    = 0xd0
key_left    = 0xcb
key_right   = 0xcd
key_f1  = 0x3b
key_f2  = 0x3c
key_f3  = 0x3d
key_f4  = 0x3e
key_f5  = 0x3f
key_f6  = 0x40
key_f7  = 0x41
key_f8  = 0x42
key_f9  = 0x43
key_f10 = 0x44
key_f11 = 0x57
key_f12 = 0x58
key_space         = 0x39
key_escape        = 0x01
key_enter         = 0x1c
key_tab           = 0x0f
key_back_space    = 0x0e
key_open_braces   = 0x1a
key_close_braces  = 0x1b
key_comma         = 0x33
key_period        = 0x34
key_slash         = 0x35
key_back_slash    = 0x2b
key_equals        = 0x0d
key_minus         = 0x0c
key_semicolon     = 0x27
key_apostrophe    = 0x28
key_tilde         = 0x29
key_caps_lock     = 0x3a
key_left_shift     = 0x2a
key_right_shift    = 0x36
key_left_control   = 0x1d
key_right_control  = 0x9d
key_left_alt       = 0x38
key_right_alt      = 0xb8
key_left_mouse_button   = 0xe0
key_right_mouse_button  = 0xe1
key_middle_mouse_button = 0xe2
key_mouse_button_4      = 0xe3
key_mouse_button_5      = 0xe4
key_mouse_button_6      = 0xe5
key_mouse_button_7      = 0xe6
key_mouse_button_8      = 0xe7
key_mouse_scroll_up     = 0xee
key_mouse_scroll_down   = 0xef
key_xbox_a              = 0xf0
key_xbox_b              = 0xf1
key_xbox_x              = 0xf2
key_xbox_y              = 0xf3
key_xbox_dpad_up        = 0xf4
key_xbox_dpad_down      = 0xf5
key_xbox_dpad_right     = 0xf6
key_xbox_dpad_left      = 0xf7
key_xbox_start          = 0xf8
key_xbox_back           = 0xf9
key_xbox_rbumber        = 0xfa
key_xbox_lbumber        = 0xfb
key_xbox_ltrigger       = 0xfc
key_xbox_rtrigger       = 0xfd
key_xbox_rstick         = 0xfe     
key_xbox_lstick         = 0xff
[close]

Then use this Hex to Dec converter: http://www.binaryhexconverter.com/decimal-to-hex-converter
Enter the key number you want to use (the 0xnn combination after the = char).
Change the 48 with the number the converter gave.

You have to repeat this process a couple of times. For each gamemode you have to change the number

this is the cheer code line:
Quote
0.000000 0.000000 0.000000  1 71 1 47  3 6 3 72057594037927936 0 500 393 2 0 216172782113784584 3 0

If you need any further assistance, just reply to me ;)
Title: Re: Cheer and spyglass mod
Post by: Im_A_Tortoise on June 18, 2015, 03:43:54 am
how can you change the buttons in your mod kaasovic

so that i can have the spyglass mod on f instead of b

It might be kinda complicated but,

look for this line (in the mission_templates.txt file you downloaded):
Quote
0.000000 0.000000 0.000000  1 71 1 48  6 2147484551 1 41 1 1 196 2133 2 1224979098644774912 72057594037927936 1712 1 1224979098644774912 1702 1 1224979098644774912 900 1 41

The number in red, 48, is the number for the key you have to press.

If you want it changed pick a key from the following list:
Spoiler
key_1 = 0x02
key_2 = 0x03
key_3 = 0x04
key_4 = 0x05
key_5 = 0x06
key_6 = 0x07
key_7 = 0x08
key_8 = 0x09
key_9 = 0x0a
key_0 = 0x0b
key_a = 0x1e
key_b = 0x30
key_c = 0x2e
key_d = 0x20
key_e = 0x12
key_f = 0x21
key_g = 0x22
key_h = 0x23
key_i = 0x17
key_j = 0x24
key_k = 0x25
key_l = 0x26
key_m = 0x32
key_n = 0x31
key_o = 0x18
key_p = 0x19
key_q = 0x10
key_r = 0x13
key_s = 0x1f
key_t = 0x14
key_u = 0x16
key_v = 0x2f
key_w = 0x11
key_x = 0x2d
key_y = 0x15
key_z = 0x2c
key_numpad_0 = 0x52
key_numpad_1 = 0x4f
key_numpad_2 = 0x50
key_numpad_3 = 0x51
key_numpad_4 = 0x4b
key_numpad_5 = 0x4c
key_numpad_6 = 0x4d
key_numpad_7 = 0x47
key_numpad_8 = 0x48
key_numpad_9 = 0x49
key_num_lock        = 0x45
key_numpad_slash    = 0xb5
key_numpad_multiply = 0x37
key_numpad_minus    = 0x4a
key_numpad_plus     = 0x4e
key_numpad_enter    = 0x9c
key_numpad_period   = 0x53
key_insert    = 0xd2
key_delete    = 0xd3
key_home      = 0xc7
key_end       = 0xcf
key_page_up   = 0xc9
key_page_down = 0xd1
key_up      = 0xc8
key_down    = 0xd0
key_left    = 0xcb
key_right   = 0xcd
key_f1  = 0x3b
key_f2  = 0x3c
key_f3  = 0x3d
key_f4  = 0x3e
key_f5  = 0x3f
key_f6  = 0x40
key_f7  = 0x41
key_f8  = 0x42
key_f9  = 0x43
key_f10 = 0x44
key_f11 = 0x57
key_f12 = 0x58
key_space         = 0x39
key_escape        = 0x01
key_enter         = 0x1c
key_tab           = 0x0f
key_back_space    = 0x0e
key_open_braces   = 0x1a
key_close_braces  = 0x1b
key_comma         = 0x33
key_period        = 0x34
key_slash         = 0x35
key_back_slash    = 0x2b
key_equals        = 0x0d
key_minus         = 0x0c
key_semicolon     = 0x27
key_apostrophe    = 0x28
key_tilde         = 0x29
key_caps_lock     = 0x3a
key_left_shift     = 0x2a
key_right_shift    = 0x36
key_left_control   = 0x1d
key_right_control  = 0x9d
key_left_alt       = 0x38
key_right_alt      = 0xb8
key_left_mouse_button   = 0xe0
key_right_mouse_button  = 0xe1
key_middle_mouse_button = 0xe2
key_mouse_button_4      = 0xe3
key_mouse_button_5      = 0xe4
key_mouse_button_6      = 0xe5
key_mouse_button_7      = 0xe6
key_mouse_button_8      = 0xe7
key_mouse_scroll_up     = 0xee
key_mouse_scroll_down   = 0xef
key_xbox_a              = 0xf0
key_xbox_b              = 0xf1
key_xbox_x              = 0xf2
key_xbox_y              = 0xf3
key_xbox_dpad_up        = 0xf4
key_xbox_dpad_down      = 0xf5
key_xbox_dpad_right     = 0xf6
key_xbox_dpad_left      = 0xf7
key_xbox_start          = 0xf8
key_xbox_back           = 0xf9
key_xbox_rbumber        = 0xfa
key_xbox_lbumber        = 0xfb
key_xbox_ltrigger       = 0xfc
key_xbox_rtrigger       = 0xfd
key_xbox_rstick         = 0xfe     
key_xbox_lstick         = 0xff
[close]

Then use this Hex to Dec converter: http://www.binaryhexconverter.com/decimal-to-hex-converter
Enter the key number you want to use (the 0xnn combination after the = char).
Change the 48 with the number the converter gave.

You have to repeat this process a couple of times. For each gamemode you have to change the number

this is the cheer code line:
Quote
0.000000 0.000000 0.000000  1 71 1 47  3 6 3 72057594037927936 0 500 393 2 0 216172782113784584 3 0

If you need any further assistance, just reply to me ;)

Well i put in the numbers 47 and 48 for the keys Num_7 and Num_8 and i got the Hex numbers 30 and 31, i put i switch each of the codes to 30 and 31  and i get back into the game and the key S does Cheer and the key D does the Spyglass and both of those keys are needed for movement???? Help! Is it possible that i can ask for the code pre made??
Thanks
Title: Re: Cheer and spyglass mod
Post by: Caesim on June 18, 2015, 03:49:10 am
0x47 = 71
0x48 = 72

You got an error in the conversion
Title: Re: Cheer and spyglass mod
Post by: NickyJ on June 18, 2015, 03:57:08 am
The link he gave is a bit backwards. :P He linked to the website, with it set to convert from decimal to hex. What you need is hex to decimal: http://www.binaryhexconverter.com/hex-to-decimal-converter

Do the rest as usual. I made the same mistake.
Title: Re: Cheer and spyglass mod
Post by: Im_A_Tortoise on June 18, 2015, 08:30:38 am
The link he gave is a bit backwards. :P He linked to the website, with it set to convert from decimal to hex. What you need is hex to decimal: http://www.binaryhexconverter.com/hex-to-decimal-converter

Do the rest as usual. I made the same mistake.
0x47 = 71
0x48 = 72

You got an error in the conversion
Thank you guys both for the help i got it working and thanks too Kaasovic for this great mod!
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on June 18, 2015, 10:06:37 am
Thank caesim as well, after all he discovered it
Title: Re: Cheer and spyglass mod
Post by: Nick Lazanis on June 18, 2015, 11:26:08 am
Oh snap, Ill make a hotfix, and a second version that binds it to numpad

Thanks  :-*
Title: Re: Cheer and spyglass mod
Post by: Kaasovic on August 23, 2015, 09:15:57 pm
Can compile to any mod now if people are interested
Title: Re: Cheer and spyglass mod
Post by: SheepShagger on June 11, 2016, 11:09:45 pm
Does this work on a mac daddy