Results 1 to 5 of 5

Thread: What's different in these two scripts?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: What's different in these two scripts?

    Quote Originally Posted by Epistolary Richard
    Where are the two factions in the turn order? Is greek_cities closer to the beginning than carthage? I'm trying to remember, but I think there was some kind of issue with the faction order when I was making BI All Factions...
    Yes, during this time I've been doing tests and it seems that the console_command control always (and only) changes the control to the following faction in descr_strat, except in the case of romans, that are the first factions irrespective of their position in that file.

    That means that this system can only be used for one faction in each campaign, and in case the romans are played by the AI, they will be the only faction possible.

  2. #2
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: What's different in these two scripts?

    This is how the control command works: (passing control from A to B)

    It plays the rest of whatever turn it is in as the AI, ends the turn, plays the factions turns between faction A through to faction B, then passes control.

    The way around this, as I see you've done, is to call the command on the turn of the faction you want it to change to. If you do this it shouldn't matter in your case what the faction order is.


    Here is something else to consider, is greek_cities playable? I'm not sure if that makes a difference but it's worth trying.

  3. #3
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: What's different in these two scripts?

    Quote Originally Posted by Myrddraal
    This is how the control command works: (passing control from A to B)

    It plays the rest of whatever turn it is in as the AI, ends the turn, plays the factions turns between faction A through to faction B, then passes control.

    The way around this, as I see you've done, is to call the command on the turn of the faction you want it to change to. If you do this it shouldn't matter in your case what the faction order is.


    Here is something else to consider, is greek_cities playable? I'm not sure if that makes a difference but it's worth trying.
    greek_cities is not playable, but carthage wasn't either. I think this is not the point.

    In the case of greek_cities, it seems that the command control is not working, but the other lines are (capture_settlement and create_unit).

    If I have time, I'll try with other factions, just to see which ones allow this type of script.

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