Results 1 to 10 of 10

Thread: Scripting!

  1. #1

    Scripting!

    Yes I've talked about this before but I wanted to get some more opinions.

    Which scripting engine do you think is better for gaming?
    I have looked at many and can't pick one. I would make my own but it wouldn't be as fast as some of those out there so I rather get one that is premade then buy it. Things that are important for a game scripting language is the ability to control the fuctions and procedures the user can use. For example, you probably want to disable I/O functions, and other things.

    So any suggestions?
    -AOTA Head Programmer
    <br />www.aotaonline.com
    <br />LiquidIce@aotaonline.om

  2. #2
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Scripting!

    Yes, I've said it before and I'll say it again: Use delphi webscript.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  3. #3

    Scripting!

    Quote Originally Posted by cairnswm
    Yes, I've said it before and I'll say it again: Use delphi webscript.
    I really liked DWS because of all the different components that add on to the functions instead of having everything already chosen. You said you use it for AI. Do you have the src available somewhere?
    -AOTA Head Programmer
    <br />www.aotaonline.com
    <br />LiquidIce@aotaonline.om

  4. #4
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Scripting!

    On my fairy fantasy page I have the implementation used for my Checkers AI test program. It isn't finished (Crashes after each game etc) but shows how to do it.

    http://www.cairnsgames.co.za/fairy/checkers1.zip
    http://www.cairnsgames.co.za/fairy/checkers2.zip

    Note I've also written a rough tutorial on it in the Tutorials section.

    I may be using it again for the Retro game competition to script the enemy actions in my game. Haven't quite decided how yet but thats the idea
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  5. #5

    Scripting!

    I recommend ifps3.

    Huge list of features, and a very powerful scripting engine. And fast.

    However, the tools to import data types & stuff suck.

    I need to get around to updating my importer app

  6. #6

    Scripting!

    I also use innerfuse pascal script 3.
    Now, the only thing to learn, is which of two is faster... :?

    I don't know anything about webscript. Does it support classes?

  7. #7
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Scripting!

    Support for classes and even create you own classes in the script.

    I've found it very flexible.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  8. #8

    Scripting!

    I guess it depends on how complicated it should be, or how general and specific to your own game engine. For my own project, I wrote my own scripting engine because it only needs a certain amount of predefined variables, functions, and procedures - which are too game specific to spend time adapting a preexisting script. But using an existing script is both easier to program, and easier for the scripter.

    splatty

  9. #9

    Scripting!

    Quote Originally Posted by LiquidIce
    Quote Originally Posted by cairnswm
    Yes, I've said it before and I'll say it again: Use delphi webscript.
    I really liked DWS because of all the different components that add on to the functions instead of having everything already chosen. You said you use it for AI. Do you have the src available somewhere?
    WOW! Thanks for recommending that! I have implemented it and it's just what I needed. I started coding my own, but it was getting too much like a new project, taking precidence over what I was actually trying to achieve. I will add you into my credits section, along with Clootie and the other people that have helped me get my game up and running.

    I would recommend taking a look at DWS if you haven't already.
    http://www.c5software.co.uk (site is being developed at the moment)

  10. #10
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Scripting!

    Just remember that I'm not part of the DWS development group. I just found it and use it when I need scripting.

    (I even wrote a very simple scripting language for my 6 year old daughter to learn about programming)
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

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
  •