PDA

View Full Version : Locating scripts.



Stromberg90
11-07-2009, 08:01 PM
Hy there :)
I am mostly a 3D artist, but i want to learn some unreal scripting.
And i am having a slight problem, i am following the 3DBuzz unreal scripting tutorials and they uses the orginal game scripts as a starting point, but i cant even locate them, so i did try something they did do go into the editor go into the actor classes, and dobble click to view the source.
I do the same altough i do right click and choose view source code.
I get a blank file, seems like a temp file, that just get's created when i chose view source code.

So needless to say it is a bit annoying that i cant find the scripts.. hope you can help me :)

Lunazure
11-07-2009, 08:55 PM
All of the source script files for UDK are located in UDK-2009-11 > Development > Src. The scripts you'd most likely want to look at are in UTGame and UTGameContent. Keep in mind, however, that UDK's source script files are not identical to UT3's script files. A lot of them have been updated or changed, and several of the scripts that exist in UT3 do not exist in UDK. Hope that helps get you started!

P.S. - For scripting with UnrealScript, I personally recommend ConTEXT. It's a programmer-oriented text editor, and you can even download an UnrealScript highlighter from their website. The highlighter tells ConTEXT how to properly color everything you type so you can easily distinguish between variables, functions, classes, etc. Good luck! I know what it's like not being a coder and learning how to script, so I wish you the best. ;)

Angel_Mapper
11-07-2009, 09:52 PM
I'd use UnCodeX to browse the script files. Doing it in the editor has never been ideal.

Stromberg90
11-07-2009, 09:54 PM
Thanks for the reply :)

I have conTEXT it's great, dont know if many of the commands has change between UT3 and the UDK, cause i did start on the 3DBuzz unreal scripting, and he gets some commands green or blue like they "work" but when i write the same code some of them works while other might be white.

And does it mean that tutorials on how to write code for ut3 might not work for me?

Again thanks alot for answering, and good to hear that some other has been in the some boat;)

Stromberg90
11-07-2009, 09:56 PM
I'd use UnCodeX to browse the script files. Doing it in the editor has never been ideal.

Thanks for the tip, i'l have to try it out later :)
I do like the editor tough;)