Results 1 to 3 of 3

Thread: EB script question

  1. #1
    Senior Member Senior Member Reenk Roink's Avatar
    Join Date
    Oct 2005
    Posts
    4,353

    Default EB script question

    Looking at the EB Campaign Script, it seems that the starting armies of factions are mostly set in the Campaign Script file and not as much the descr_strat. I understand that one of the reasons for this is to allow for different armies when the player is a certain faction, but there are also cases when starting armies are just set by the script. Is there a technical reason for this or was it just more convienient for the modders to do so?

    Also I was wondering, if I wanted to mod starting armies, should I edit the script, or the descr_strat? Would there be potential problems in editing the latter (I've tested it and it seems to be OK for the moment but just want to be sure).

    If a EB member could answer that would be great!
    Last edited by Reenk Roink; 06-14-2010 at 03:30.

  2. #2
    EB Support Guy Senior Member XSamatan's Avatar
    Join Date
    Mar 2008
    Posts
    1,820

    Default Re: EB script question

    I'm not that long on the team, and I didn't write the campaign script, so I can't answer your first question...

    Concerning the second, IIRC the engine first reads the descr_strat and afterwards the campaign script. AFAIK you can choose free in which of the both files you insert troops. I would go with descr_strat, as it is easier to just add units to armies than creating new ones. As both files are read though the game start there should be no following problems if the start is successful.

    Regards,
    XSamatan

    1.2 fixes - Updated regularly. Latest news from 2009-02-01.
    EB FAQ --- Tech help important thread list --- Frequent issues and solutions

  3. #3
    Senior Member Senior Member Reenk Roink's Avatar
    Join Date
    Oct 2005
    Posts
    4,353

    Default Re: EB script question

    Your answer not only clears up my modding question but also probably explains why the team just did a lot of the intitial army setup in the script.

    Thank you very much XSamatan

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