Results 1 to 6 of 6

Thread: How to learn unreal script?

  1. #1
    Lucas Daltro

    How to learn unreal script?

    I already have knowledge of c and unityscript but i want to do something in udk,how can i learn unrealscript,some tutorial?

  2. #2
    Crusha K. Rool
    How about using Google for instance? There are thousands of tutorials and documentation out there. The most obvious being the one that you get when you click on the "Documentation" link in the upper toolbar of this page:

  3. #3
    Lucas Daltro
    I use google guy,but the results that I found was so poor,but this link is nice,thank you
    But how can I test my scripts in real time?

  4. #4
    Crusha K. Rool
    Everything depends on your GameInfo class. It's the starting point for the other important stuff. It's referenced by the WorldInfo and can be accessed on the server with WorldInfo.Game.

    The GameInfo defines in it's DefaultProperties the PlayerController, the AIController, the HUD, the GameReplicationInfo, the Pawn, the default inventory loadout and many other important classes from which it will spawn the respective instance when needed. So if you create a new gametype, you write a subclass of GameInfo and replace the references to UTPlayerController and so on with your own classes of that kind.
    One way to make use of the scripts ingame would be with a menu like the one that comes with the demo content. But that's pretty unflexible and hard to edit for beginners, so you can just set in the WorldInfo properties of your map in the editor (accessible via F6 or the menu bar) the DefaultGametype to your custom GameInfo class and then the map will automatically be started with the gametype. There is also a system that assigns the gametype basing on the prefix of the mapname, which is controlled via the DefaultGame.ini and UDKGame.ini

  5. #5
    Lerning by doing, reading Epic's classes.
    You normally think first before you write code, so that should minimize the need of "testing".

  6. #6
    Did you click "Documentation" on top, maybe open the "Programming Home" in the documentation?

Tags for this Thread

Posting Permissions

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