User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Killing Spree i_remember_my's Avatar
    Join Date
    Mar 2013
    Posts
    160
    Country:

    I give up, help programmers friends ...

    hello all. I give up. someone give me some advice?
    programmers. I know enough of the unreal editor, but the only thing I can not understand is the unreal script editor. as it is, without that is not going to run right into the unreal.
    only ask for advice to understand the functions of unreal script. is used languages ​​C + + and java.
    I know they could study in computer systems engineering. but does not give me time.
    if there is a quick way to learn, in good time.
    thanks in advance

  2. #2
    Dominating OuTlaW's Avatar
    Join Date
    Apr 2013
    Location
    Kingdom of Jordan
    Posts
    451
    Country:
    This is called Coding, it's so complicated
    Some of the people that might help you : (that i know)
    Feralidragon
    Higor
    Wildcards

  3. #3
    ~Goddess~ |uK|fleecey's Avatar
    Join Date
    Jan 2011
    Posts
    3,804
    Country:
    Im sure Sam, chis, Higor, fluke....etc know how to help you!

  4. #4
    Whicked Sick Higor's Avatar
    Join Date
    Apr 2012
    Location
    Full sail ahead!
    Posts
    3,676
    Country:
    Start here:
    UT99.org | Development School

    Tutorials with small samples:
    Legacy:UnrealScript Lessons - Unreal Wiki

    What is an actor?
    Legacy:Actor (UT) - Unreal Wiki

    How does unreal's networking does it's job?
    UDN - Three - ReplicationHome
    And in UT99's case alone:
    Legacy:Replication De-Obfuscation - Unreal Wiki >> I learnt a lot here.

    What happens when you load a map:
    What happens at map startup - Unreal Wiki

    What happens when you create an actor:
    What happens when an Actor is spawned - Unreal Wiki


    My very little description of what the engine is.

    Instruction:
    It's an action performed by the 'machine'.

    Low level language:
    The instruction set generated runs directly on the cpu.

    High level language:
    The instruction set generated runs via a low level program.


    Most apps coded in c++, c, basic, and specially with ASM blocks run faster, the cpu processes their actions at greater speeds. (CPU > program)
    Then you have java, .NET and other scripting modules that are actually ran by a parser. (CPU > parser program > script)

    Unreal Engine is a nice mix of both, how do you tell what is in c++ or in unrealscript?
    Simple: the code you don't see is in low level language, this is basically because it runs 15-20x faster than it's UnrealScript counterpart.
    The name we'll give to that hidden code is NATIVE code.

    Examples of this includes rendering and physics calculations.
    You'll find lots of 'native' functions in Actor, the guides above will tell you what these functions do (because unrealscript doesn't provide the code).
    Making a mod in unrealscript is basically creating a Virtual Machine environment that Unreal's native script parser compiles and reads later.

    Some modders, me included, have gone a bit further, creating their own low level implementations (aka DLL's and native code) for their own unrealscript mods, but you'd have to know a bit of c++ and a lot about how the engine works when attempting to try this.

    A map of how the UT EXE and core work:
    > Main loop (loop function)
    > Update engine
    > Update level
    > Update world (all actors, via Tick)
    > Render world (not on dedicated servers)
    > Process replication (not in single player)
    And go back up again, this whole process is a single 'frame'.
    Making a simple weapon would require you to know about:
    - World update (when does the weapon code comes up)
    - Rendering (because you may want to add stuff to screen)
    - Replication (because your weapon may not work otherwise)

    Yes, a simple weapon is the worst place to start coding for Unreal.
    Before you make a weapon, you should make a simple level, with simple 'custom' experiment actors you make and see how they perform.
    The LOG() function gives you a lot of information of how and when stuff happens.

    --- Updated ---

    Ah, and before you ask anything else:
    The best UT modders aren't the ones that understand the language, but those that understand the engine.

    What makes the ultimate UT modder:
    10% - UnrealScript
    75% - Engine understanding > Many lack this, the guides i posted above teach a lot, the UT 432 public sources also teach a LOT about the engine.
    10% - Imagination
    5% - Ability kill a bug in less than 30 minutes (aka, debugging techniques).

    So yeah, first try to understand how the engine works.

  5. #5
    Killing Spree i_remember_my's Avatar
    Join Date
    Mar 2013
    Posts
    160
    Country:
    thanks @Higor muchas gracias...
    Last edited by i_remember_my; 07-29-2013 at 01:47 AM.

  6. #6
    Moderator ][X][~FLuKE~][X]['s Avatar
    Join Date
    Feb 2012
    Posts
    1,367
    Country:
    Took me two years to learn the Uscript I have learned around RX coding, best way to learn is to look into the .uc script files of default UT functions and mess with them to see how they work.

  7. #7
    Rampage Feralidragon's Avatar
    Join Date
    Jan 2011
    Posts
    374
    Country:
    Well put Higor, that's pretty much it.

    Quote Originally Posted by Higor View Post
    What makes the ultimate UT modder:
    10% - UnrealScript
    75% - Engine understanding > Many lack this, the guides i posted above teach a lot, the UT 432 public sources also teach a LOT about the engine.
    10% - Imagination
    5% - Ability kill a bug in less than 30 minutes (aka, debugging techniques).
    I guess my score is 65% lol (10% + 45% + 6% + 4%).
    My problem with the last one is not even discovering the bug, but actually fix it sometimes when they involve a massive turn around or really ugly hacks... (generally related with engine bugs and limitations).

    But I would say that the engine understanding is only about 50% of it, whereas the last 25% is defining the architecture and algorithms. The mainstream regex algorithms are good examples on how bad things can go when you go straight to code (talking about something taking years to process vs a few microseconds in a worst case scenario).
    So here's an advice to new developers: think about the code you're going to write before you actually start writing it. Architecture and algorithms are far more important than code itself, so structure things first, then translate that structure to code. You will thank yourself by doing so, every time your architecture proves to be good enough for you to never need to change it to implement new things or fix bugs, rather than waste a lot of time rewriting or restructuring something.

  8. #8
    Whicked Sick Higor's Avatar
    Join Date
    Apr 2012
    Location
    Full sail ahead!
    Posts
    3,676
    Country:
    Quote Originally Posted by Feralidragon View Post
    but actually fix it sometimes when they involve a massive turn around or really ugly hacks...
    I know that feeling, I had to rewrite some core Siege aspects (category, constructor, item spawner) entirely from scratch to get around the limitations

    Quote Originally Posted by Feralidragon View Post
    Architecture and algorithms are far more important than code itself, so structure things first,
    And the second reason of the most rewrites, your nailed it.

    8% -> I was, I am, I will ever be an ape at uwindow.
    60% -> The UT432 headers profide great understanding of the engine (enough to put you on 50% lol), but also...
    I found a collection of Engine .cpp files for something that's an incomplete mix of Unreal Engine 1 and Unreal Engine 2, with the actual code for most iterators and latent states , an eye opener here (IRC should be a safer place to discuss this stuff).
    3% -> Mappers have the greatest imagination IMO, it takes a really creative mind and I've only finished 3 (?) maps in my entire UT modding history, I just create a new system when I need to get around limitations I find.
    5% -> Making dozens of builds a day =)

  9. #9
    Killing Spree ~V~'s Avatar
    Join Date
    May 2012
    Posts
    191
    Country:
    I've learned quite a bit about UWindows since I began XConsole, but I'm still finding new tricks to play with.

    It's the other side of things that I need to improve on really, but I'm getting there gradually.

    One of the most helpful things I think is to be able to run your own server locally to test mods on.
    http://www.unrealize.co.uk for XConsole, ServerLog, StealthAdmin and other Unreal Tournament mods.

  10. #10
    Rampage Feralidragon's Avatar
    Join Date
    Jan 2011
    Posts
    374
    Country:
    As for UWindow, it's really messy so I don't blame you. That's why when I made my mod, since it had to have menus for the settings as such (they were a must), I created a far simpler straightfoward menu system on top of UWindow, where all I have to do is to setup a few default properties, listen some events I created myself (on value change, on value load, and a few others), create some int files (since the system is based on int files to extend the menus any time I want without rewriting anything or creating dependencies), and voil, I don't have to worry about UWindow ever again in its core anymore.
    But it did take some time though to finish it properly and understand all its ins and outs.

    Another advice to new developers (and even current ones): try to stay away from native as much as possible. If it's doable in UScript, use UScript alone. Native means that you have to worry with the hardware it's going to run on along with its operating system and even architecture (x86 or x64), and that's why UScript exists and why the whole engine is a big VM, so your mod works everywhere independently of the system (Windows, Linux, 32bit, 64bit, etc).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Friends from Germany
    By HIGH+CAMILO in forum Spam Section
    Replies: 9
    Last Post: 05-08-2015, 07:06 AM
  2. How do I give RU's to a teammate?
    By candle in forum #siegepug Discussion
    Replies: 10
    Last Post: 02-21-2015, 08:21 AM
  3. hello friends. please unban a panamanian friend called YEYO
    By tonyrayo01 in forum zp| [====] [PURE] [INSTAGIB] [UK] [US] [====]
    Replies: 23
    Last Post: 11-27-2013, 11:55 AM
  4. give your opinion
    By |uK|kenneth in forum #siegepug Discussion
    Replies: 16
    Last Post: 06-14-2012, 06:20 PM
  5. Replies: 17
    Last Post: 07-31-2011, 09:13 PM

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
  •