Announcement

Collapse
No announcement yet.

Refresh an aged designer...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Refresh an aged designer...

    I'm feeling pretty embarassed at asking this, but I have noticed I'm really, really rusty when it comes to scenario design. I haven't done much in the past two or three years, and much has escaped me.

    Anyhow, I wanted to give it a shot again, and after requiring about 20 minutes to figure out how to set dates right (!), I have encountered a new problem, this time with the events. Please refresh me, people, but what is wrong with this script that it won't do what it's supposed to do:

    @BEGINEVENTS

    @IF
    ReceivedTechnology
    receiver=Shuar
    technology=48
    @THEN
    CREATEUNIT
    unit=Tsantsa
    owner=Shuar
    veteran=false
    homecity=Newcastle
    locations
    89,59
    endlocations
    @ENDIF

    @ENDEVENTS
    Follow the masses!
    30,000 lemmings can't be wrong!

  • #2
    If you write it like below, then it should work!

    @IF
    RECEIVEDTECHNOLOGY
    technology=48
    receiver=Shuar
    @THEN
    CREATEUNIT
    unit=Tsantsa
    owner=Shuar
    veteran=no
    homecity=Newcastle
    locations
    111,55
    endlocations
    @ENDIF

    So basically 2 changes:
    - "no" instead of "false" for veteran stauts (but maybe "false" works too??)
    - the "technology" line before the "receiver" one!

    BTW: any update on Running Free??

    Up the Irons!
    Ankh-Morpork, we have an orangutan...
    Discworld Scenario: http://apolyton.net/forums/showthrea...8&pagenumber=1
    POMARJ Scenario:http://www.apolyton.com/forums/showt...8&pagenumber=1
    LOST LEGIONS Scenario:http://www.apolyton.com/forums/showt...hreadid=169464

    Comment


    • #3
      'False' should also work OK.
      The order of events seemed to be the trouble.

      Welcome back, Stefan!

      Last edited by curtsibling; November 21, 2005, 10:45.
      http://sleague.apolyton.net/index.php?title=Home
      http://totalfear.blogspot.com/

      Comment


      • #4
        Yes, welcome back!
        Tecumseh's Village, Home of Fine Civilization Scenarios

        www.tecumseh.150m.com

        Comment


        • #5
          Thanks guys

          There's a bit of news on "Running Free", but it's currently shelved until I get some time. My first semester just started and leisure is a bit on the loser side...

          EDIT: Is it just me or does the unit appear one turn after the advance has been discovered?
          Last edited by Stefan Härtel; November 21, 2005, 12:16.
          Follow the masses!
          30,000 lemmings can't be wrong!

          Comment


          • #6
            Yes, welcome back Stefan. Aged? you must be all of 20 by now
            http://sleague.apolyton.net/index.ph...ory:Civ2_Units

            Comment


            • #7
              21. I'm an old fart
              Follow the masses!
              30,000 lemmings can't be wrong!

              Comment


              • #8
                Hi Steff. Drop a hint once you're in Berlin again, I think I can get some Berlin civvers to drink a beer with us.

                Or 2

                Comment


                • #9
                  Stefan give it up. No point. Time to turn the page.
                  That was it.
                  A man should accept his end as a soldier would. Uncomplaining.
                  "Military training has three purposes: 1)To save ourselves from becoming subjects to others, 2)to win for our own city a possition of leadership, exercised for the benefit of others and 3)to exercise the rule of a master over those who deserve to be treated as slaves."-Aristotle, The Politics, Book VII

                  All those who want to die, follow me!
                  Last words of Emperor Constantine XII Palaiologos, before charging the Turkish hordes, on the 29th of May 1453AD.

                  Comment


                  • #10
                    Will let you know Echty, but it might take a while... are you in Berlin now?

                    Palaiologos... you put shame on your name
                    Follow the masses!
                    30,000 lemmings can't be wrong!

                    Comment


                    • #11
                      Study in Potsdam, live in Berlin.

                      Comment

                      Working...
                      X