Author Topic: Have a question about Modding? Ask Here!  (Read 310767 times)

0 Members and 1 Guest are viewing this topic.

Offline Parrot

  • Donator
  • *
  • Posts: 762
  • Lieutenant Colonel - Equestrian Foreign Legion
    • View Profile
    • EQFL Homepage
  • Nick: ExParrot
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1020 on: June 05, 2015, 12:12:18 pm »
Openbrf is bugged and makes every bumbmap black. You can take away the tick at show bumpmap to make any other part oft the Textur visible

normal maps needs to be saved in DXT1, then they'll work properly in openbrf. There's also no reason to save them in any other format.
Check out mods I've worked on: Blood and Iron: Age of Imperialism, and North and South!

Offline Kaasovic

  • Donator
  • *
  • Posts: 8718
  • * and Obelix
    • View Profile
  • Nick: Anonymous
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1021 on: June 05, 2015, 05:39:14 pm »
I have problems with comparing strings with eachother..

Code
				(try_begin),
(eq, "str_s0", "str_cheer"), #str_s0 =  ("s0", "{!}{s0}"), and str_cheer = ("cheer","{!}cheer"),
(agent_set_animation, ":agent", "anim_cheer"),
(else_try),

The comparison seems to fail every time.
Is there no way to compare strings with each other?
Help is much appreciated.
Developer of NordInvasion. Hi mum.

Offline Alistair

  • Sergeant Major
  • *
  • Posts: 414
  • Your Shako wielding gentleman
    • View Profile
    • 33nd Regiment of Foot
  • Nick: 33rd_Pte_Alistair
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1022 on: June 06, 2015, 10:00:56 am »
Openbrf is bugged and makes every bumbmap black. You can take away the tick at show bumpmap to make any other part oft the Textur visible

normal maps needs to be saved in DXT1, then they'll work properly in openbrf. There's also no reason to save them in any other format.

DXT1? But they are normally .dds. I'll give it a try though.

Offline Alistair

  • Sergeant Major
  • *
  • Posts: 414
  • Your Shako wielding gentleman
    • View Profile
    • 33nd Regiment of Foot
  • Nick: 33rd_Pte_Alistair
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1023 on: June 07, 2015, 12:24:42 am »
It worked. Thanks so much!  ;D

Offline Cadaeron

  • Corporal
  • *
  • Posts: 27
  • Corporal in the GGR Nr. 4
    • View Profile
  • Nick: GGR_Nr4_Cpl_Theodor_Colditz
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1024 on: June 07, 2015, 10:12:39 pm »
How can i modify the oppening direction of doors?

EDIT: I know it now. (look for "doors" -> http://forums.taleworlds.com/index.php?topic=228008.0)
« Last Edit: June 07, 2015, 10:19:10 pm by Cadaeron »

Offline Caps

  • First Lieutenant
  • *
  • Posts: 507
    • View Profile
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1025 on: June 14, 2015, 09:55:08 pm »
how can you change the buttons in your mod kaasovic

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


Offline Kaasovic

  • Donator
  • *
  • Posts: 8718
  • * and Obelix
    • View Profile
  • Nick: Anonymous
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1026 on: June 15, 2015, 11:15:08 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 ;)
Developer of NordInvasion. Hi mum.

Offline Caps

  • First Lieutenant
  • *
  • Posts: 507
    • View Profile
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1027 on: June 15, 2015, 11:58:13 pm »
mhhh thx cuz if you got f key for example u can double tap to do faints

Offline Kaasovic

  • Donator
  • *
  • Posts: 8718
  • * and Obelix
    • View Profile
  • Nick: Anonymous
  • Side: Confederacy
Re: Have a question about Modding? Ask Here!
« Reply #1028 on: June 16, 2015, 11:56:51 pm »
mhhh thx cuz if you got f key for example u can double tap to do faints

Ye its good to trick enemies
Developer of NordInvasion. Hi mum.

Offline Cadaeron

  • Corporal
  • *
  • Posts: 27
  • Corporal in the GGR Nr. 4
    • View Profile
  • Nick: GGR_Nr4_Cpl_Theodor_Colditz
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1029 on: June 20, 2015, 06:25:25 pm »
I have tried to modify a texture (changed two parts that were only different in colour – silver and gold). But now they don't shine anymore (=matt). How can i improve this?

Offline Earth Bby

  • FSE's Official Annoying English-Person
  • Donator
  • ***
  • Posts: 11585
  • Bottom Text
    • View Profile
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1030 on: June 20, 2015, 06:32:10 pm »
I have tried to modify a texture (changed two parts that were only different in colour – silver and gold). But now they don't shine anymore (=matt). How can i improve this?

Make sure you have a specular map, its usually the textures name with an _s after it. Keep in mind its a greyscale, the lighter the brighter.




Offline Caps

  • First Lieutenant
  • *
  • Posts: 507
    • View Profile
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1031 on: June 20, 2015, 10:13:44 pm »
how can u spam c (like or that ur caracter can always say the "f1 - f1" orders and so that other players hear that aswell?)

Offline usnavy30

  • Colonel
  • *
  • Posts: 1983
  • Former Freelance Modder
    • View Profile
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1032 on: June 21, 2015, 03:21:22 am »
If I recall correctly, the officer class can shout a warcry/F key command more often than a ranker.
How To Run A Mod Installer.exe
Quote
Hello.. I have a problem... It says I don't have Mount&Blade Warband: Napoleonic War and I have to buy it
Try joining a regular Napoleonic Wars server and then re-running the installer.

Offline Caps

  • First Lieutenant
  • *
  • Posts: 507
    • View Profile
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1033 on: June 21, 2015, 02:00:00 pm »
thx

Offline Cadaeron

  • Corporal
  • *
  • Posts: 27
  • Corporal in the GGR Nr. 4
    • View Profile
  • Nick: GGR_Nr4_Cpl_Theodor_Colditz
  • Side: Neutral
Re: Have a question about Modding? Ask Here!
« Reply #1034 on: June 21, 2015, 04:35:35 pm »
I have tried to modify a texture (changed two parts that were only different in colour – silver and gold). But now they don't shine anymore (=matt). How can i improve this?

Make sure you have a specular map, its usually the textures name with an _s after it. Keep in mind its a greyscale, the lighter the brighter.

Thank you for that reply. I have spotted the error now: I choosed wrong coefficients in the material file (5 instead of 25 in this "GB Spek." thing).