Results 1 to 4 of 4

Thread: Campaign script

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ja mata, TosaInu Forum Administrator edyzmedieval's Avatar
    Join Date
    May 2005
    Location
    Fortress of the Mountains
    Posts
    11,441

    Question Campaign script

    This is a bit on the edge of EB. It really puzzled me.
    Here's my question:

    Why is every mod doing a single script for their campaign?

    For those who played EB, the single script makes the game very slow and very resource draining. Why only 1? Why not for all the factions?

    Please enlighten me.
    Ja mata, TosaInu. You will forever be remembered.

    Proud

    Been to:

    Swords Made of Letters - 1938. The war is looming in France - and Alexandre Reythier does not have much time left to protect his country. A novel set before the war.

    A Painted Shield of Honour - 1313. Templar Knights in France are in grave danger. Can they be saved?

  2. #2

    Default Re: Campaign script

    Discussion of existing Mods - and questions about them - live in Mod Discussion. Moved from Modding Questions.

    As to your specific questions, I can't speak for the EB team but I can say the following:
    - A campaign script is the bit referenced at the end of descr_strat which terminates almost immediately at the start of the game - while that is relatively big it is dwarfed by the size of the background script - which is what players have to activate.

    - There is a huge amount of additional content within the EB mod and there are a variety of factors that means it runs slower than regular RTW - the background script does contribute but it is no means the only contributing factor.

    - As for why one single background script and not one for each faction - I would imagine that during development it's far easier to have a single script file to update - rather than having to make the same changes to 20 different files. There would also be a considerable amount of duplication between them, for example the multiple turns script would have to be repeated in each file - so while there would be a size reduction it does not necessarily equate that a factional system would be a 1/20th of the size of the one for all factions.

    But it is a good suggestion for EB and for other mods using a background script. Perhaps it will be something the EB team will incorporate in their final release because - as I say - it would make development much slower.
    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
    Ja mata, TosaInu Forum Administrator edyzmedieval's Avatar
    Join Date
    May 2005
    Location
    Fortress of the Mountains
    Posts
    11,441

    Default Re: Campaign script

    Thanks ER for the response.
    Ja mata, TosaInu. You will forever be remembered.

    Proud

    Been to:

    Swords Made of Letters - 1938. The war is looming in France - and Alexandre Reythier does not have much time left to protect his country. A novel set before the war.

    A Painted Shield of Honour - 1313. Templar Knights in France are in grave danger. Can they be saved?

  4. #4
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: Campaign script

    Quote Originally Posted by edyzmedieval
    This is a bit on the edge of EB. It really puzzled me.
    Here's my question:

    Why is every mod doing a single script for their campaign?

    For those who played EB, the single script makes the game very slow and very resource draining. Why only 1? Why not for all the factions?

    Please enlighten me.
    Actually... TFT uses multiple scripts. One "main" script for each campaign, and then "sub scripts" for specific functions within the campaigns. However, our scripts are nowhere's near the size of EB's, so even if it were all in one it probably wouldn't slow the game down. I just find it easier to manage the scripts by splitting them up.

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