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

    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

  2. #2
    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

  3. #3

    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

  4. #4
    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

  5. #5

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

    Also as a side note, how do you upgrade a city and its population?
    I think that there is no simple way to upgrate city.
    But you can try to add population with console_command add_population, and spawn apropriate Gavernor building.

  6. #6

    Default How to: Change the Date

    How to: Change the Date
    Code:
    script
    console_command date -220
    console_command season summer
    end_script
    This will change the date to summer 220BC.
    Note that you'll get all the historical event messages for the events between the date you jumped from and the date you skipped to.

    This command is primarily useful for people who want to skip to the Marian Reforms or change their date altogether. It is also the foundation for Myrddraal's Multiple Turns a Year mod.
    Last edited by Epistolary Richard; 05-27-2005 at 19:50.
    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
    J-23 Member Hans Kloss's Avatar
    Join Date
    Oct 2003
    Location
    Richmond upon Thames
    Posts
    245

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

    Here is another quick question for Richard :

    is there any way that script can be generated to speed up building process and recruiting for any settlements.So far I have managed to create units but current script only works for one character

  8. #8
    Not affiliated with Red Dwarf. Member Ianofsmeg16's Avatar
    Join Date
    Jan 2005
    Location
    Home of Palm trees, cats with no tails, three-legged men, fairies...and more german bikers than germany
    Posts
    1,996

    Default Re: How to: Change the Date

    Quote Originally Posted by Epistolary Richard
    How to: Change the Date
    Code:
    script
    console_command date -220
    console_command season summer
    end_script
    This will change the date to summer 220BC.
    Note that you'll get all the historical event messages for the events between the date you jumped from and the date you skipped to.

    This command is primarily useful for people who want to skip to the Marian Reforms or change their date altogether. It is also the foundation for Myrddraal's Multiple Turns a Year mod.
    what file is this in???
    When I was a child
    I caught a fleeting glimpse
    Out of the corner of my eye.
    I turned to look but it was gone
    I cannot put my finger on it now
    The child is grown,
    The dream is gone.
    I have become comfortably numb...

    Proud Supporter of the Gahzette

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