Results 1 to 30 of 102

Thread: A Beginner's Guide to Scripting & Scripting "How To"s

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Jason's Avatar
    Join Date
    May 2005
    Location
    Ft. Worth, Texas
    Posts
    30

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    Alas show_err did not give me any errors. It just simply crashes to the desktop whenever I put that script line in AdviceThread Help_Campaign_Keyboard_Shortcuts_Scroll_Thread.

  2. #2

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    Hmmm... I really can't think what it might be. You are putting the mo_money.txt file in data\scripts\show_me\ and not just in data\scripts\ right? If all else fails, try referencing the advicethread to one of the scripts you get with the original game.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  3. #3
    Member Member Jason's Avatar
    Join Date
    May 2005
    Location
    Ft. Worth, Texas
    Posts
    30

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    Yay! I found what my problem was. And this took some finding by the way.

    Ok so when I made the mo_money.txt file I right clicked in the show_me folder to create a text file. I then named the file mo_money.txt

    This created the problem. It confused the hell out of my poor copy of RTW because even though MS thought it was a txt file it was actually labeled improperly. Once I deleted the file, and named the new one simply mo_money and cut and pasted what was in the original post everything worked as advertised.

    So all that being said Im going to go over here and hide in the corner with my stupidity. Thank you for your help and hopefully I will be able to pull of other mods with a little better success rate.

    Jason

  4. #4

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    You know what? I made exactly the same mistake once when messing around with custom tiles. I think our computers must be on a setting where they conceal the extension so that you actually named it mo_money.txt.txt.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  5. #5
    Member Member Jason's Avatar
    Join Date
    May 2005
    Location
    Ft. Worth, Texas
    Posts
    30

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    Yes Im going to fix that setting really fast.

    One last off the wall question. Are there lists of all the cities (maybe a map) and units and buildings somewhere online so I can try writing scripts while Im here at work waiting for everyone else to get thier acts together so I can get something done?

    Jason

  6. #6

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    A chap named rumcajsz does rather a good line in RTW maps, try searching for his name and see if you come up with one of his links. As for units & buildings etc. you can find quite a nice unit list here. Of course I'm very rarely able to be with a copy of RTW so I have all the data folder's text files on a data key.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  7. #7
    Member Member Jason's Avatar
    Join Date
    May 2005
    Location
    Ft. Worth, Texas
    Posts
    30

    Default Re: A Beginner's Guide to Scripting & Scripting "How To"s

    Another random question from the modding newb.

    I seem to have difficulties making ports. Well that is I can make a port and the port will show up in the view with all the other city buildings but the graphic of the port never shows up on the campain map. And when ever you go to make some boats (it does in fact give you the option to do so) the game crashes. I dont seem to have this problem with any of the other buildings I make. Just ports. I even use the same line from the other buildings just cut and pasted in and then take out the building name and put in port. ex:

    console_command create_building Londinium port

    I am aware there is show_err and I have put this in my shortcut but it never seems to show any errors.

    Also as a side note, how do you upgrade a city and its population?

    Jason the Newb

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO