Results 1 to 9 of 9

Thread: Console Command list?

Hybrid View

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

    Default Console Command list?

    Is there a list anywhere of all the working console commands? I wanted to change the religion make up of a province after it was captured. Also having a problem with give traits for a priest...

    Code:
    spawn_character spain Areas de Vigo, priest, age 28, x 53, y 84,
    console_command give_trait Areas de Vigo PriestLevel 1
    Does the comma after the y co-ordinate matter? The command may or may not work, I can't tell because when I send a spy to have a look at this priest it always says traits unknown, even turns later after several successfull missions against this same priest. Even when I can see the priests piety has increased through natural recourse, it still says traits unknown...

  2. #2
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

  3. #3
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Console Command list?

    Also consider turning on perfect_spy through a campaign script. This reveals all of the campaign settlement and character data to you without needing to spy for it.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  4. #4

    Default Re: Console Command list?

    You know, I've had that file for month's and only now have I finally discovered how to use it. How to feel like a complete noob in 2 easy steps...

    So, change_population_religion Havana catholic 50 pagan 50 won't work. Is there any way to bring down religious unrest after Havana is captured?

    Quote Originally Posted by SigniferOne View Post
    Also consider turning on perfect_spy through a campaign script. This reveals all of the campaign settlement and character data to you without needing to spy for it.
    perfect_spy? How?

  5. #5
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Console Command list?

    It doesn't work through the console, but you can run it through a script:

    console_command toggle_perfect_spy


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  6. #6

    Default Re: Console Command list?

    Quote Originally Posted by SigniferOne View Post
    It doesn't work through the console, but you can run it through a script:

    console_command toggle_perfect_spy
    Thanks Sig, unfortunately it doesn't show traits, very useful though...

    Quote Originally Posted by gigantus View Post
    Take away red, add blue

    spawn_character spain Areas de_Vigo, priest, age 28, x 53, y 84,
    console_command give_trait Areas de_Vigo PriestLevel 1
    Still doesn't work, with or without the comma or with or without the underscore... Or both

    I have generals scripted to attack who work without the underscore in their names. I know this priest trait is hidden, but he should display as a Bishop if it works and he's shown as a priest...

    I got around the problem of Havana rebelling by heaping public order traits on the general who captures it, so its no big deal now, just an annoyance...

    Thanks to all for showing an interest and + rep

  7. #7

    Default Re: Console Command list?

    spawn_character spain "Areas de_Vigo", priest, age 28, x 53, y 84,
    console_command give_trait "Areas de_Vigo" PriestLevel 1

    You need quotes when using both a first and last name.
    AFAIK, commas are purely for readability. In most cases, they don't seem to make a difference if removed. Spaces between arguments will suffice. (Which is why you need quotes around a two part name; if you don't quote the name, the interpreter will read it as two seperate arguments.)

    Dominion of the Sword, a Medieval II: Total War Supermod
    Under the patronage of Archaon. Proud member of the House of Siblesz
    My friend died from chain letters. If you don't post this again 100 times, he will come and kill you in your sleep!

  8. #8

    Default Re: Console Command list?

    Quote Originally Posted by Azim View Post
    spawn_character spain "Areas de_Vigo", priest, age 28, x 53, y 84,
    console_command give_trait "Areas de_Vigo" PriestLevel 1

    You need quotes when using both a first and last name.
    AFAIK, commas are purely for readability. In most cases, they don't seem to make a difference if removed. Spaces between arguments will suffice. (Which is why you need quotes around a two part name; if you don't quote the name, the interpreter will read it as two seperate arguments.)

    Thanks I will give that a try!

  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Console Command list?

    Take away red, add blue

    spawn_character spain Areas de_Vigo, priest, age 28, x 53, y 84,
    console_command give_trait Areas de_Vigo PriestLevel 1










Posting Permissions

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