Results 1 to 6 of 6
  1. #1
    Skaarj
    Join Date
    Jan 2011
    Location
    Aracaju,Brazil
    Posts
    16

    Default 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
    God King
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    4,133

    Default

    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: http://udn.epicgames.com/Three/UDKProgrammingHome.html
    Our Loop, which art in source code, hallowed be thy keyword.
    Thy condition come, thy instruction be done, in RAM as it is in cache.
    Increment us this day our daily counter,
    and forgive us our typos, as we also have forgiven our compilers.
    And lead us not to the nullpointer but deliver us from bugs.
    For thine is the API, the GUI, and the CLI while(true).
    Semicolon;
    Please don't send me questions about how to do something in the UDK via PM. That is better discussed in the forums and we only have limited PM storage.

  3. #3
    Skaarj
    Join Date
    Jan 2011
    Location
    Aracaju,Brazil
    Posts
    16

    Default

    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
    God King
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    4,133

    Default

    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
    Our Loop, which art in source code, hallowed be thy keyword.
    Thy condition come, thy instruction be done, in RAM as it is in cache.
    Increment us this day our daily counter,
    and forgive us our typos, as we also have forgiven our compilers.
    And lead us not to the nullpointer but deliver us from bugs.
    For thine is the API, the GUI, and the CLI while(true).
    Semicolon;
    Please don't send me questions about how to do something in the UDK via PM. That is better discussed in the forums and we only have limited PM storage.

  5. #5
    Redeemer
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    1,560

    Default

    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
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,986

    Default

    Did you click "Documentation" on top, maybe open the "Programming Home" in the documentation?
    http://www.ericbla.de http://www.dungeondefenders.com http://en.wikipedia.org/wiki/Warm_Gun http://www.rekoil.com http://www.groundbranch.com

    - Please don't send me private messages asking programming questions, those would be better asked on the Programming forum here. Thanks


 

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
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.