Results 1 to 10 of 16

Thread: What's the name of the concept of scripting in a Sim/RTS type of game?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Ñuño Martínez View Post
    [edit]
    I've just remembered that my PGD Challenge entry Momen3D includes it's own mission script system, much like the one you're asking for. Download it from here and look at file src/mission.pas, function ParseFile, lines 191...650. It looks big and complex but it is actually quite simple, as it is divided in sub-routines for each task.

    To see how the mission script files looks like, just see file bin/data/missions/default/tuto.md
    I've downloaded your code and
    Code:
    sudo apt install liballegro5
    but for some reason it's not able to initialise the allegro stuff.

    Any hints on how to debug it?

    Cheers,
    Gus

  2. #2
    Quote Originally Posted by gcarreno View Post
    but for some reason it's not able to initialise the allegro stuff.

    Any hints on how to debug it?
    Check the latest post in http://www.pascalgamedevelopment.com...Momen-3d/page5 for possible solution.

  3. #3
    Quote Originally Posted by SilverWarior View Post
    Check the latest post in http://www.pascalgamedevelopment.com...Momen-3d/page5 for possible solution.

    That page of the thread talks about new installs of XUbuntu and debug flag on the compile.

    I'm on an Ubuntu 16.10, up to date and with open source video drivers. Hopefully it's not that.

    Tried the debug -dDEBUGMODE but I still have a very non explanatory: Error initializing Allegro.

    So I can't even tell you what specifically went wrong on the al_init call.

    If I have time and patience, I'll probably fire up Lazarus to debug the thing.

    Cheers,
    Gus

  4. #4
    Quote Originally Posted by gcarreno View Post
    I've downloaded your code and
    Code:
    sudo apt install liballegro5
    but for some reason it's not able to initialise the allegro stuff.

    Any hints on how to debug it?

    Cheers,
    Gus
    You need to install the dev versions too (liballegro5-dev) as well as the addons. Also see what SilverWarrior said.

    Note that Momen3D use an old Allegro version (5.0, not 5.2).
    No signature provided yet.

  5. #5
    Quote Originally Posted by Ñuño Martínez View Post
    You need to install the dev versions too (liballegro5-dev) as well as the addons. Also see what SilverWarrior said.
    Well, I thought as much and did install liballegro5-dev, dunno why I didn't use that in the prior post.
    Ok, now about the addons? You thrown me on this since I've never used allegro for anything.

    Quote Originally Posted by Ñuño Martínez View Post
    Note that Momen3D use an old Allegro version (5.0, not 5.2).
    Ok, if the addons is not the thing, then the version might be an issue. Ubuntu 16.10 is installing 5.2

    Cheers,
    Gus

Tags for this Thread

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
  •