Results 1 to 10 of 10

Thread: script issue

  1. #1

    Default script issue

    Hi, I am scripting for Zum submod, I'll ask him the same question:

    When I've made a script for vanilla version like Brittania campaign, it works perfectly, and not at all in SS6.

    In folder: mods\Stainless_Steel_6\data\world\maps\campaign\imperial_campaign to be precise.

    I just want to be sure before spend 3 hours reinstalling a clean version of the game...

    Thank you

  2. #2
    Barser's Avatar Senator
    Join Date
    May 2008
    Location
    Denmark
    Posts
    1,335

    Default Re: script issue

    You want to be sure about what?

    ______________Factionleaders and Generals mod__________________
    ______________________Agents-minimod____________________________

  3. #3

    Default Re: script issue

    Simple: my scripts works with brittania campaign.
    The same one does not work with SS6

    So two possibles reasons:

    My SS6 installation is corrupted, or there is something different in SS6 or Zuma that make my scripts wortheless. I don't know, perhaps a link with descr_events.txt ect...
    Maybe I need to do one more thing to make my scripts working than to copy it in campaign_script.txt.

  4. #4
    Barser's Avatar Senator
    Join Date
    May 2008
    Location
    Denmark
    Posts
    1,335

    Default Re: script issue

    sysyphe: yeah there is probably more to it than the changes in campaign_script.

    What what did you change?

    ______________Factionleaders and Generals mod__________________
    ______________________Agents-minimod____________________________

  5. #5

    Default Re: script issue

    In fact I am training myself to make some AI changes and other change to give Byzantium, Seljuk, Sicily, Novgorod into different and more accurate campaign.

    After several failure, I post mod workshop, had some good answer and tested my script on brittania campaign they worked. But not in SS6

    So here is the two scripts that works on brittania:

    monitor_event FactionTurnStart FactionType england
    and Treasury < 30000

    add_money england 10000
    console_command set_building_health London temple_catholic 25
    console_command set_building_health London core_building 10
    console_command set_building_health London barracks 10
    console_command set_building_health London city_hall 10
    console_command set_building_health London market 10
    console_command set_building_health London hinterland_roads 10
    terminate_monitor
    end_monitor

    Then

    monitor_event FactionTurnStart FactionIsLocal
    and not IsFactionAIControlled
    and Treasury < 30000

    add_money england -9000

    end_monitor

    Both of them did not work on SS6. ( With Zuma submod ).

    Anyway I tried a lot of other things, just to be sure...

  6. #6
    Indefinitely Banned
    Join Date
    Jul 2008
    Location
    Laptop :)
    Posts
    240

    Default Re: script issue

    Hi, I think that I know what the problem is

    The Brittannia Campaign has different pack files, SS has none - To change this simply copy the pack files into the SS directory,

    Then you can start using the features of that campaign. (I would personally use the Crusades campaign then you can incorperate Special Powers into SS )

  7. #7

    Default Re: script issue

    I hope it's not that, cause I wouldn't unpack all data, then reimplement all SS6.1, ZUme 0.8 plus my own features in it...

  8. #8

    Default Re: script issue

    sysyphe
    Just ran this in vanilla SS 6.1 and it works fine.

    ;
    ; Campaign script
    ;
    script

    monitor_event FactionTurnStart FactionType england
    and Treasury < 30000
    add_money england 10000
    console_command set_building_health London temple_catholic 25

    terminate_monitor
    end_monitor

    ;----------------------------------------------------
    ; keep script unfinised until last monitor termination
    wait_monitors

    end_script

    To err is human, but to really foul things up you need a computer.
    Paul Ehrlich

  9. #9

    Default Re: script issue

    I think this might come from my previous installation or Zuma submod.

    I made a clean installed of SS6 without Zuma. It works, I will try to see if it comes from Zuma, in order to fixed it.

    Anyway thank you all for your help, you spend your time to spare mine. That's generous.

    Thank you, if I find the reason why ( it could be me ), I'll tell you. Goodnight
    Last edited by sysyphe; July 28, 2008 at 03:46 PM.

  10. #10
    Indefinitely Banned
    Join Date
    Jul 2008
    Location
    Laptop :)
    Posts
    240

    Default Re: script issue

    Quote Originally Posted by sysyphe View Post
    I hope it's not that, cause I wouldn't unpack all data, then reimplement all SS6.1, ZUme 0.8 plus my own features in it...
    You wouldn't have to unpack all of the data, just go into the brittannia campaign folder, open Packs then copy the data_pack1 etc files

Posting Permissions

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