Page 1 of 3 123 LastLast
Results 1 to 20 of 52

Thread: Editable custom battle funds!

  1. #1

    Default Editable custom battle funds!

    Hi all,
    This is something I figured out how to do quite a while ago, but due to errors with the relevant files was never able to complete. However, Steph suggested to me today a new way to try it, and it has worked! He even has his own version in his development Beta of Napoleon : Masters of Europe (MoE).

    Anyway, there are two different versions attached. The second one simply doubles the amount of funds given when you select small, medium or large (so 10000, 20000 and 28000 respectively).

    The first one, however, allows you to specify the amount you would like each setting to be worth. When you open the pack, you will see three .lua files: small_funds_settings.lua, medium_funds_settings.lua and large_funds_settings.lua. Each of these files allows you to set the amount of cash associated with each setting. To edit, simply open the files in a text editor and edit the number displayed after the text "return". So to give 100000 cash for the large funds setting, just open large_funds_settings.lua and write:

    Code:
    return 100000
    Spoiler Alert, click show to read: 


    Feel free to include this in your mod, but please credit where due
    Enjoy!
    Last edited by T.C.; September 06, 2011 at 06:02 AM.
    My Tools, Tutorials and Resources

    Was running out of space, so see the full list here!

    Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there.- Josh Billings
    The creatures outside looked from pig to man, and from man to pig, and from pig to man again; but already it was impossible to say which was which.- George Orwell

  2. #2
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Editable custom battle funds!

    no we need to be able to have more than 20 cards in custom battles to use it to its full potential

  3. #3

    Default Re: Editable custom battle funds!

    Quote Originally Posted by Steph View Post
    no we need to be able to have more than 20 cards in custom battles to use it to its full potential
    my dream too...

  4. #4
    Primergy's Avatar Protector of the Union
    Join Date
    Mar 2009
    Location
    Augsburg
    Posts
    2,491

    Default Re: Editable custom battle funds!

    I have a dream!

    Anyway, good work T.C!

  5. #5
    hip63's Avatar Give me some BASS!
    Patrician Artifex

    Join Date
    Nov 2007
    Location
    groovy galaxy
    Posts
    3,723

    Default Re: Editable custom battle funds!

    Awesome work! + rep

    Any chance something like this could be done for Empire?

    hip63

  6. #6

    Default Re: Editable custom battle funds!

    Yeah, I'm a bit busy the next few days but I'll have a version by the weekend
    My Tools, Tutorials and Resources

    Was running out of space, so see the full list here!

    Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there.- Josh Billings
    The creatures outside looked from pig to man, and from man to pig, and from pig to man again; but already it was impossible to say which was which.- George Orwell

  7. #7
    Armand94's Avatar Libertus
    Join Date
    Nov 2010
    Location
    Romania,Bacau
    Posts
    82

    Default Re: Editable custom battle funds!

    Its not working with Lme 2.0

  8. #8

    Default Re: Editable custom battle funds!

    How can you make this work for muiltiplayer battles?

  9. #9
    Senator
    Join Date
    May 2004
    Location
    Canada
    Posts
    1,153

    Default Re: Editable custom battle funds!

    This is great. Thanks for this.

    Is there a similar way to remove the unit limits, especially for ships?

  10. #10
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Editable custom battle funds!

    What unit limits? How many ship of a given type (like let's recruit 16 ironclad), or the total number of ships (let's recruit 40 units).
    First is simple, second is not possible.

  11. #11
    Senator
    Join Date
    May 2004
    Location
    Canada
    Posts
    1,153

    Default

    Quote Originally Posted by Steph View Post
    What unit limits? How many ship of a given type (like let's recruit 16 ironclad), or the total number of ships (let's recruit 40 units).
    First is simple, second is not possible.
    Ya, how many ships of a certain type. I want 20 ironclads for example

  12. #12
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Editable custom battle funds!

    Use PFM, open a mod (or better create a new mod), and in the units table, you'll see a column mp_limits, almost to the right. Set it to 0 for unlimited.

  13. #13
    Senator
    Join Date
    May 2004
    Location
    Canada
    Posts
    1,153

    Default Re: Editable custom battle funds!

    for the life of me, I cannot figure out why I can't save my changes. I change the limits to 0, and hit save, the screen refreshes, I go back to the mp limits column, and everything is changed back.

    the pack file has a weird icon though. What is going on here?


  14. #14
    Mikail Mengsk's Avatar Primicerius
    Join Date
    Mar 2008
    Location
    Pisa, Italy
    Posts
    3,012

    Default Re: Editable custom battle funds!

    downloaded, it works
    It's only after you have lost everything, that you are free to do anything.

  15. #15
    Idstaaner's Avatar Foederatus
    Join Date
    Feb 2012
    Location
    Hesse, Germany
    Posts
    29

    Default Re: Editable custom battle funds!

    thx, it works. but pls. put no blanks in the file's name.
    because the user_script don't "accept" blanks.

  16. #16

    Default Re: Editable custom battle funds!

    How do you make this work with Darthmod?

  17. #17

    Default Re: Editable custom battle funds!

    Quote Originally Posted by kyler721 View Post
    How do you make this work with Darthmod?
    Should work with any mod.
    My Tools, Tutorials and Resources

    Was running out of space, so see the full list here!

    Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there.- Josh Billings
    The creatures outside looked from pig to man, and from man to pig, and from pig to man again; but already it was impossible to say which was which.- George Orwell

  18. #18

    Default Re: Editable custom battle funds!

    Quote Originally Posted by T.C. View Post
    Should work with any mod.
    Can't get it to work for the life of me and I dont know how to edit the battle funds in the file. I dont understand the directions. Specific step by step would probably be helpful!

  19. #19

    Default Re: Editable custom battle funds!

    Can you use pfm?
    My Tools, Tutorials and Resources

    Was running out of space, so see the full list here!

    Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there.- Josh Billings
    The creatures outside looked from pig to man, and from man to pig, and from pig to man again; but already it was impossible to say which was which.- George Orwell

  20. #20

    Icon4 Re: Editable custom battle funds!

    How do i get this to work with Darthmod Napoleon. Is there a step-by-step guide you could give me?

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •