Ambrosia Garden Archive
    • now I really need help


      I'm making a game where you play different campaigns depending on wich race you choose to play as.

      Now I got a weird problem with it, wich I hope someone can help me to solve:-o

      When I start the game and choose the race "tutorial" (where you learn how to play:P) It just stops when it is loading the items. Could someone help me out please? 😕

      I dont have a clue why it does like this...

      ------------------

    • I take it that the race "tutorial" is on your startup screen as well as your normal game? If so, you're trying to have several main.cet, and I suspect the engine would hate that. If you start the game first and enter the first map, then allow the Player to choose "tutorial," you'll be teleporting into another map in order to start the tutorial. That's safer and more stable. It does sound to me that the problem is main.cet. I've discovered that I HAVE to copy the main.cet from the medieval game into mine in order for it to work instead of making my own. I have no reason why. Anyway, with such a problem, more information is usually needed for people to help figure out the problem.

      ------------------
      -- Debra
      Danillitphil Productions
      (url="http://"http://www.danillitphil.com/graphics/index.html")www.danillitphil.com(/url)

    • Any chance you can show us the code for the main.cet event?

      ------------------
      Whose cruel idea was it to put an 'S' in lisp?

    • This is the code.

      Main.cet

      Teleport: 'checker' (thats a black screen)

      Change globals: gb_scenario set to &∽̱

      Conditional: gb_scenario is equal to 'tutorial' if true do "call event" else do nothing

      tutorial.cet

      Map position: 4x5

      Teleport: training halls (the training map)

      and thats it.

      ------------------

    • You need a map position for "checker" placed before you teleport.

      Then if that's unstable (and I think it will be), I suggest that you place the rest of it in the map, "checker". So instead of "checker" being a black screen, have it say Enter or something. Then in Enter, have your conditionals event. I doubt that the main.cet likes conditionals. It seems to me that the main.cet is the most neurotic event on the planet (but who's exaggerating?).

      Good luck! 🙂

      ------------------
      -- Debra
      Danillitphil Productions
      (url="http://"http://www.danillitphil.com/graphics/index.html")www.danillitphil.com(/url)

    • I placed everything in the "checker" location (thats a main location, not a map) but it still wont work 😕 It works if I make it teleport back to main menu but it does not work when its teleporting to a map. It always freezes when loading items, could that be the problem?

      ------------------

    • Try making checker location a map.

      ------------------
      -- Debra
      Danillitphil Productions
      (url="http://"http://www.danillitphil.com/graphics/index.html")www.danillitphil.com(/url)

    • If i understand correctly you're main event calls another event which takes you to the 1st map(training halls)...the issues,
      i believe:
      that the main event must resolve with it directly teleporting you to a map, you cannot call another event that indireclty takes you to another map, nor can you branch off into/events executing simultaneously as you do during normal play.
      the Main event may set up infinite variables, assign the player infinite items...however you must go directly to a map at the end.

      start game-
      teleport 'arbitrary_screen.loc' //in fact you oculd just make this a black screen also.
      wait X ms
      engine call: new game

      newgame-
      ...// blah blah blah, automaatically proceeds to 'main.cet' when it ends

      main.cet-
      //bare bones
      map position
      teleport 'checker'

      checker would have a local initialization event, which would then do the conditional to test on where to take the player next
      this by all means should work.

      ------------------

      ... bwahhaaaaahaaaaaugh fooooolish sammurai.

    • I found out that this has nothing to do with the events and races and locations. I cant even make it teleport to a map in main:/

      ------------------
      (url="http://"http://www.ledorax.da.ru")www.ledorax.da.ru(/url)

    • I suggest you break it down. Trash your main.cet and copy/paste the medieval main.cet that you got with the Coldstone package into yours. Mine would not work any other way. I was NOT able to make my own main.cet, even though I copied the event exactly as the one in the medieval game. Set map position and teleport to checker (as a map). That's it for now. See if it works. THEN if it does, deal with checker to get the Player to the tutorial.

      ------------------
      -- Debra
      Danillitphil Productions
      (url="http://"http://www.danillitphil.com/graphics/index.html")www.danillitphil.com(/url)