Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 58

Thread: How-to: Setup your mod to have more than 2 turns per year

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Quote Originally Posted by HouseOfHam View Post
    Add that directory to your path.

    If using Vista:
    - right-click on My Computer
    - select Properties
    - Advanced System Settings > Advanced > Environment Variables
    - find the PATH variable in the system section and edit it. At the end of the Variable value line, append a semicolon, then C:\Program Files (x86)\Java\jre6\bin

    I'm using Windows 7, but the way to get to Environment Variables is the same as you described for Vista. The problem that I am running into is that there is no java path variable defined in the system section. I would edit it as you advised, but it simply does not exist even though I have installed java. Any advice or instruction you can provide as to how I should define a new path variable for java in the system section of Environment Variables?
    "What's the matter, kid? Don't ya like clowns?
    Don't we make ya laugh? Aren't we freakin' funny?" - CPT Spaulding in Devil's Rejects

  2. #2

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    ok i have done this before, had it working all nice....then there was a corruption with a mod, so i had to delete everything. so now, i cant seem to get it back. there seems to be a problem as soon as i put the first section into the export_descr_advice file. i cant imagine ill get a response but

  3. #3

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Just append the Path line with the path to the java bin, eg other_variables;C:\Program Files\Java\jre\bin



    http://java.com/en/download/help/path.xml

  4. #4

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Yeah, I've tried that and it does not work. Windows 7 sucks
    "What's the matter, kid? Don't ya like clowns?
    Don't we make ya laugh? Aren't we freakin' funny?" - CPT Spaulding in Devil's Rejects

  5. #5
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    If it doesn't exist, create it.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  6. #6

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    I created it, but it does not work. I give up, but thank you for taking so much time to try and help me.
    "What's the matter, kid? Don't ya like clowns?
    Don't we make ya laugh? Aren't we freakin' funny?" - CPT Spaulding in Devil's Rejects

  7. #7
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Screenshot of what you created?
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  8. #8

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Last edited by CPT Worsham; May 10, 2010 at 09:44 PM.
    "What's the matter, kid? Don't ya like clowns?
    Don't we make ya laugh? Aren't we freakin' funny?" - CPT Spaulding in Devil's Rejects

  9. #9
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    never mind
    Last edited by HouseOfHam; May 11, 2010 at 04:12 PM.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  10. #10

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Quote Originally Posted by HouseOfHam View Post
    Right-click on it...
    By "it" you mean xtpyScriptGenerator jar file or batch file? In either case I did not see a way to make these adjustments when I opened the properties window.
    "What's the matter, kid? Don't ya like clowns?
    Don't we make ya laugh? Aren't we freakin' funny?" - CPT Spaulding in Devil's Rejects

  11. #11
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Blah... I've confused myself... and you. Never mind what I said in the previous post. I was thinking of another tool.

    So, what happens when you double-click on the .bat file? Does it just tell you to 'Press any key to continue'?

    I guess you could just put the entire path to java.exe into the batch file, changing it from:

    Code:
    @java -jar xtpyScriptGenerator.jar
    pause
    to

    Code:
    @"C:\Program Files\Java\jre\bin\java" -jar xtpyScriptGenerator.jar
    pause
    Last edited by HouseOfHam; May 11, 2010 at 04:18 PM.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  12. #12

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    House of Ham,

    It's working now. I'm not sure which step got it working, but at least it is working. Thanks again!
    "What's the matter, kid? Don't ya like clowns?
    Don't we make ya laugh? Aren't we freakin' funny?" - CPT Spaulding in Devil's Rejects

  13. #13

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    delete
    Last edited by CPT Worsham; May 30, 2010 at 12:11 PM.
    "What's the matter, kid? Don't ya like clowns?
    Don't we make ya laugh? Aren't we freakin' funny?" - CPT Spaulding in Devil's Rejects

  14. #14
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    no
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  15. #15

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    Ok so i got the utility to work, now my question is, I would like to add this to a mod that already has that file, How do I go about doing that?

    Do i copy and past this into that existing file, and if so where do i copy it in.

  16. #16
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    what file?
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  17. #17

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    what does the generate advice thread for every turn option do first?

    then what exactly do i do with the files:
    xtpy_script.txt
    add_to_export_advice.txt
    add_to_export_descr_advice.txt

    for the add to files i assume you copy and past the contents into those files, any particular place they should be put in those files or just add to the end works?
    Last edited by Puerkl8r; July 11, 2010 at 02:43 PM.

  18. #18
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    For the add_to_... files, copy and paste the contents at the top of the corresponding file.

    The xtpy_script.txt is the background x-turns-per-year script, which would normally go into <mod_folder>/scripts/show_me -- you can read more about how to add a background script to your mod in my other tutorial.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  19. #19

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    i have done all the instructions and it crashes at start of the campaign also but it doesn't crash when i load a saved game but when i click a settlement then it crashes.

    Can somehelp me? i set the generator to make a script 12tpy with one winter

    -280 start
    699 a.d. end

    im using vanilla RTW 1.5
    Last edited by Fulminatrix; July 12, 2010 at 07:50 AM.

  20. #20

    Default Re: How-to: Setup your mod to have more than 2 turns per year

    nevermind i finaly got it work im simply did not add the advice per turn and just put the background scrpit and followed steps in your tuts.. very nice

Page 2 of 3 FirstFirst 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
  •