Javolenus的最近内容

  1. editing module_music

    Hi There,

    And many thanks for these replies. I have now successfully modded the M&B soundtrack to my liking, thanks to you guys and the suggestions posted above. I really appreciate the help!

    All the best,

    Jav.
  2. editing module_music

    Hi Azkanan,

    That is a really neat solution! Many thanks indeed - I'm much indebted to you. Excellent! All the best.
  3. editing module_music

    Hi There, Please forgive a basic question relating to modding the module_music file. I've already had some help on this, so I feel bad about asking again! But I'm still in need of guidance (my fault as I'm new to this stuff). Basically, I'd like to take out the original game music and add my...
  4. changing name of currency

    Hey, Kolba, that is cooool! Many thanks for a great tip!
  5. changing name of currency

    Hi There and thanks for the info. I've been into the Menu, Strings and Dialogue files and made the necessary changes. Now I'll start up the game and see if everythnig has worked out OK. Hope so! But, yes, you're right - 'denars' crops up a million times in direct speech.
  6. changing name of currency

    Hi Kolba,

    Many thanks - you have helped me once again! I really appreciate your quick response. Thanks again and all the best.

    Jav.
  7. changing name of currency

    Hi There, I got a simple question: is it possible to change the name of the currency used in the game? I'd like to change 'Denari' into something esle (maybe 'Crowns' or 'Sovereigns' or 'Shillings' or something) but do not know if this is possible. Which file would I need to edit to achieve...
  8. removing items from the shops

    Zathan 说:
    Changes to module_items require the build_module to be run twice. The first run will give errors, the second run none.
    I think it has to do with ID-ing items.
    At least this is true when adding items.

    Hi Zathan,

    I'm really glad you told me that. Now things are beginning to make more sense! Thanks very much - I'm indebted to you. All the best.
  9. removing items from the shops

    Kolba 说:
    You probably have spelling error in your code. Post item code here, and I'll check this out.

    Hi Kolba,

    Thanks for this. OK, I tried again and this time it worked - I must have made errors before, but this time I just removed the "merchandise" tag as you suggested and it worked fine. Thanks again for your help - much appreciated.
  10. Props, weapons, armor: make a request

    Hi There,

    I'm new to M&B and the forum and have just seen this thread. Hope you don't mind my making a request? Here goes:

    Would it be possible to do a Viking weapons pack - perhaps just swords, based on real designs? It would be good to make them really elite weapons with authentic Viking nicknames like:

    Brynjubitr (byrnie-biter)
    Grettisnautr (Grettir's gift)
    Hneitr (Slasher)
    Nithingr (truce-breaker)
    Hvitingr (White-One)

    Axes might also be included, with authentic names like:

    Himintelgja (Heaven-Scraper)
    Hlokk (name of a Valkyrie)
    Svethya (Glancer)

    Perhaps these weapons could be expensive, requiring high skill to use?

    Well, it's just a thought and something I'd like to include in my game.

    If you don't fancy creating these weapons, perhaps you could tell me how to edit existing weapons in order to create them? Apologies for a noob-type question!

    Anyway, all the best.

    Jav.
  11. removing items from the shops

    Kolba 说:
    The simpliest and only one way is to delete item's tag "merchandise", but it's weird that you have some errors. Could you post code of item, please? And what messages did you get?

    Hi Kolba,

    Many thanks for this reply - much appreciated.  I tried deleting the "merchandise" tag from module_items but when I updated the module I got error messages relating to 'unexpected indent' - or something like that - and so I'm assuming that I made some mistake while deleting. I wonder, could you possibly post an example of what it should look like when you delete the "merchandise" tag? Then I could learn from your example and edit the file correctly. Many thanks for your help!
  12. three basic modding questions

    Thymo 说:
    Javolenus 说:
    3. Music: I'd liie to add my own music. I tried already, using a very clear tutorial by Archonsod, but without success. I'm guessing that I must have done something wrong. I'm wondering if the problem has something to do with editing music.txt? This file contains lots of numerical values and I do not know what they mean. I simply want to indicate which mp3 files to play on the strat map, and which to play during battles.


    I've skimmed through this topic and couldn't see anyone answering this.. It's quite easy so i'm sorry if i'm stating the obvious, but here i go:

    1. Download module system!

    2. Follow the instructions on how to get it to work, and right-click the "module_music.py".

    3. Select "edit with IDLE" (or anything you'd prefer over that {NOT notepad..})

    4. The spoiler beneath contains how the bottom of the file looks unedited:
      ("victorious_swadian", "victorious_swadian.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir", "victorious_vaegir.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir_2", "victorious_vaegir_2.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
    ]

    Copy the second last line, and paste it right beneath, so it looks like the spoiler below..
      ("victorious_swadian", "victorious_swadian.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir", "victorious_vaegir.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir_2", "victorious_vaegir_2.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir_2", "victorious_vaegir_2.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
    ]

    5. Change the two names in the second line (red) to the name of your track.. Example below using "ramund_hin_unge". (remember to edit the type of file if needed {original= ".ogg" and mine's ".wma"})

      ("victorious_swadian", "victorious_swadian.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir", "victorious_vaegir.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir_2", "victorious_vaegir_2.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("ramund_hin_unge", "ramund_hin_unge.wma", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
    ]

    6. Add "mtf_module_track" to the description. (this is to tell the file to read from the module folder)..

      ("victorious_swadian", "victorious_swadian.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir", "victorious_vaegir.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir_2", "victorious_vaegir_2.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("ramund_hin_unge", "ramund_hin_unge.wma", mtf_module_track|mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
    ]

    7.  Edit/add/replace the description so that the track is played when you want it to play.. Here i have an example to make it play at the very start of Mount&Blade..

      ("victorious_swadian", "victorious_swadian.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir", "victorious_vaegir.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("victorious_vaegir_2", "victorious_vaegir_2.ogg", mtf_persist_until_finished|mtf_culture_2|mtf_sit_victorious, 0),
      ("ramund_hin_unge", "ramund_hin_unge.wma", mtf_sit_main_title|mtf_module_track|mtf_start_immediately, 0),
    note that if you want it to play at the start of MnB, you need to put an "#" before the original title song..
    (which looks like:smile:
      ("mount_and_blade_title_screen", "mount_and_blade_title_screen.ogg", mtf_sit_main_title|mtf_start_immediately, 0),

    (change it to:smile:
    #  ("mount_and_blade_title_screen", "mount_and_blade_title_screen.ogg", mtf_sit_main_title|mtf_start_immediately, 0),

    8. You can mess around with the MS to play the track when you want it to play by editing the description, or the "mtf's". Just look at how the other tracks are arranged..

    9. Add the file of the song to Mount&Blade/Modules/(you mod)/Music

    10. Open Mount&Blade and you'll hear the changes..



    Thymo


    PS: Sry about the tediousness of the post, wanned to make it detailed to impress!  :mrgreen:

    Hi Thymo,

    That's absolutely fantastic - I'm really grateful. Gonna get to work now and get some good sounds into M&B. Thanks again for a brilliant reply and all the best. Very Helpful!

    Jav.
  13. modding names - basic question

    Kolba 说:
    It is easy to do, but difficult to explain :razz:.

    Code name (another name is "troop ID") is used for referencing troops in other .py files.
    For example - if you want to add Sea Raider to your party, you use code name: "sea_raider", but not singular or plural name.

    OK, I see. Now I understand - many thanks again. It's great that you answered so quickly. All the best.
  14. removing items from the shops

    Hi There, Please forgive a basic question from a new boy. Basically, I'd like to ask: what's the best way of removing items from the marketplaces? I'd like to remove plate armour and stuff like that. I tried remving the 'merchandise' tag in module_items but only got loads of error messages...
  15. modding names - basic question

    Kolba 说:
    Let me explain it:

    sea_raider - is a code name of troop. You use it ony in module_system, it doesn't appear in game.
    Sea Raider - is a singular name of troop.
    Sea Raiders- is a plural name of troop.

    To answer your question: change second and third entry if you want to change troops' names.

    do I also need to update other files, for example, module_parties

    Updating other files is only needed if you'll change code name.

    Hi Kolba,

    Many thanks for the speedy reply - much appreciated.

    OK, I understand what you say. Sounds as though I need only change the last two names for my purposes. But - just out of curiosity - is there any benefit of changing the code name? I mean, for what would I need to change the code name? Sorry to ask, but just curious. Thanks again for your time - I'm really grateful.
后退
顶部 底部