Results 1 to 4 of 4

Thread: ???Scripting???

  1. #1

    Thread Starter
    Addicted Member drewski's Avatar
    Join Date
    Feb 2000
    Location
    WA
    Posts
    242
    what is scripting? i've heard a little about it but overall the concept is new to me. doesnt it have to do with the dialog in a game and such? or/and does it have to with triggering events in a game? such as opening a door or walking into a trap?

    if anyone has any simple examples somewhere i could download and look over i would be a very happy programmer

    thanks all,
    drewski
    I see said the blind man as he spat into the wind.

    It all comes back to me now!

    A.D.T.'s VB

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    I haven't any example here, but well, I can try to give you the idea

    Scripting is always used if you need to edit the game after releasing it (update, patches) or if you can't always edit the exe (ie. if you work in teams).

    Well, ie. if you make scripts for a tile you have events as OnEnter, OnExit and such... Or for the objects OnCollide or OnHit and so on. All depending on the game you're doing .
    (In Unreal for example you can add your own DLLs and script the objects, that's a real expansion )

    Well, look at my Super Mario game (download at my website), there's a simple script system for the objects (as ?-blocks).

    And... ask if you need more help

  3. #3
    Guest
    many times, scripts are used in games for doing 'movies' that happen right on the game's own engine. For example, all those old, Finalfantasy 3, 4, 5 movies, cutscenes, were all scripted. The program reads the script and interprets it by showing it on the engine. The latest example I can give u is the game "DRIVER" it uses Scripts to make all it's missions. all the missions are script files, that u can edit to cheat (hint hint lol)...

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Yep, there's two types of scripts, inis, that are read when the programm starts or you select a mission or something like that. runtime scripts are operating all the time in the game, you give a command, and it corresponds like in quake
    Scripting makes your game slower, i guess it could be faster in C++ but not in vb. use like operator, not instr or left$/mid$ to read the commands. Also some scripts can correspond to GUI interfaces like clicking on buttons and dynamical menus, but those must be very advanced. Simple events in the game, like fox said, could be scripted in RPGS.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width