Announcement

Collapse
No announcement yet.

How does uscript work?

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

  • replied
    thx, ive found some great articles and threads....

    http://www.flipcode.com/articles/scr..._issue01.shtml
    http://unreal.epicgames.com/UnrealScript.htm
    http://www.gamasutra.com/features/19...huebner_01.htm

    thx again,
    -sd

    Leave a comment:


  • replied
    I have written script compilers and bytecode interpreters and that is not the hard part of making a game engine. This is one thing most computer science and computer engineer graduates learn how to do before they graduate. I've also seen several step by step tutorials on gamasutra in the past if you just want to learn how to do it.

    Leave a comment:


  • replied
    You can bet it is a very complex and flexible system that probably required lots of time to create. The internals of the engine is only available to licensees, so you most likely won't find anyone who can tell you about the way UnrealScript objects really work.
    I don't really know, but maybe you can find some hints in the Java source code, though. (I mean the C++ code behind the virtual machine - AFAIK it's available for research purposes.) Some Java classes have native functions like some UnrealScript functions.

    Leave a comment:


  • replied
    thx for the replies, basically im asking because im developing a game engine and I thought it was a very well planned way to handle objects in the game. Ild like to mimik the design to a degree, but it depends on the complexity and time required.

    Leave a comment:


  • replied
    UnrealScript files are being compiled into chunks of byte code, which are stored in the package files. (along with the original script files without defaultproperties as TextBuffer objects so the code can easily be exported)

    Google for "ut_packages" if you want to learn more about the byte code and the Unreal package format.

    Leave a comment:


  • replied
    http://wiki.beyondunreal.com has some pretty good tutorials about getting into Uscript and how it works...

    As does:
    http://unreal.epicgames.com/unrealscript.htm

    Leave a comment:


  • started a topic How does uscript work?

    How does uscript work?

    You know how you unreal has scripts for all their objects, that define their behavior. Does anyone have insight on how this works from a programming point of view? does it get compiled and when, and how it works on an indepth devel?

    thanks,
    -sd
Working...
X