Page 1 of 1
Coding - general spraff
Posted: Wed Dec 15, 2004 6:03 pm
by GB
hey guys,
just wondering how you got all got so good at coding in the ut engine - have you guys done formal training in coding or is it just mucking about and self teaching?
i tried to follow angel mappers tut on coding in ut2003 (which is now out of date as far as i know) and was well impressed at the level of knowledge required just to change a weapons firing speed......
btw - is there anything similart (language wise) to the ut script? is it similar to c++ or anything?
(btw, if anyone has a spare moment, i think if someone could code a morter spawner like in the old ut that would be cool for a chaos assault/VCTF level....)cheers all!
Posted: Wed Dec 15, 2004 11:47 pm
by ChaosJester
I can't say anything about the difficulty of coding, but if you wanted to learn the basic concepts necessary for UTScript, then look into tutorials and books on how to code Java. Epic has said UTScript is based on Java with some tweaks and other adjustments. I think though that many of the coders for the modren UT mutators/mods are self-trained though, or are programmers in other fields and could apply that to the UT engine's script. Good Luck.
Re: Coding - general spraff
Posted: Thu Dec 16, 2004 12:31 am
by jb
venalanatomica wrote:hey guys,
just wondering how you got all got so good at coding in the ut engine - have you guys done formal training in coding or is it just mucking about and self teaching?
btw - is there anything similart (language wise) to the ut script? is it similar to c++ or anything?
For me I had some classes in school but they were old ASM and Pascal. Unreal coding is Object Orientated like C++ and Java which I never took a class on as they were just coming onto the scene back then.
(btw, if anyone has a spare moment, i think if someone could code a morter spawner like in the old ut that would be cool for a chaos assault/VCTF level....)cheers all!
could do that. What do you need and want it to do? I can not remember what it did, except for kill me every time on that one assult map (with the big gun)

Posted: Thu Dec 16, 2004 8:50 am
by Melaneus
Most of my skill was gained in the past two and a part years of slogging through uScript. I did a bit of BASIC and a teeny bit of DOS C++ earlier.
Gosh dangit, this sounds like I'm bragging.
I've noticed when I've searched the Internet to try to figure out how certain functions worked that JAVA functions came up instead, so I'm not surprised that uScript is based off of JAVA.
Posted: Thu Dec 16, 2004 10:20 am
by ChaosJester
The C++ training probably helped too Melaneus. If I remember correctly, C++ is another language that was used as inspiration for what we now know as UScript.
Posted: Thu Dec 16, 2004 11:43 am
by GB
cool.
i did once try c++ and managed to find a nice website full of tutorials (96000 of them...) so i supoose its like anything else -practise and you'll learn how to do it.
^^ as for a morter spawner, all it did was randomly spew out morter projectiles at random yaw direction etc, at a given rate specified in the editor...as for a use, in still kinda considering it, but i supoose a chaos version of overlord would be obvious (i only played overlord with chaos anyway) since the chaos sniper rifle is sooo coool. Or perhaps an insipred level based on overlord..i reckon overlord was too easy offline, so perhaps a well ard assualt using tanks etc would be called for...an update to overlord perhaps? a morter spawner would be cool for that...
Posted: Thu Dec 16, 2004 2:01 pm
by LoQtUS
/me thinks to him self......"Why havnt we snatched this guy up yet?" hmmmmmm.
venalanatomica,
Love the ideas!! unfortunatly I am a code idiot, but I would love the help out

Posted: Thu Dec 16, 2004 8:12 pm
by jeditobe1
Uscript is written in C or C++ i think (or the game engine is.. i forget), but it structured like java (where everything derives from the class Object, while in uscript the coding classes derive from Actor generally).
Both C++ and Java, as well as Uscript, are object oriented (OOP), though C++ does not require a program to adhere to the OOP style. This Java is probably the better choice for someone wanting to learn
Posted: Thu Dec 16, 2004 10:32 pm
by MassChAoS
I took a year of coding java... so umm, I should be able to whip out some uscript, right?
Posted: Thu Dec 16, 2004 10:53 pm
by ChaosJester
Who knows? You may be able to learn UScript pretty fast, but is optimized for the purpose of coding games and making interactive 3D stuff. and is designed with a very different purpose from Java. I do know that many of the functions are very different, but some of the core architecture and function calls are similar.
Posted: Fri Dec 17, 2004 7:30 am
by jeditobe1
Syntax is similar. But Jester is correct, it is made for a different purpose, and you would have to learn the class tree, and you would need to learn the base functions. Plus there is (*shiver*) replication (*shiver*) to deal with.
Posted: Fri Dec 17, 2004 9:58 am
by GB
cheers loqtus,
unfortunatly, my downfall is that i have far too many ideas to actually make them...i have about 4 duel levels on the go, and a KOTH....so an assualt level is a bit away methinks...
EDIT: actually, i have 2 near finished, and another which is going to be quite complicated...using aging textures etc...and another being completly rebuilt cos i aint happy with the layout...
at least im almost finished the majority of them...perhaps i will just post up drawings and ideas from now on and let others do the hard work....hehe
As for uscript, thanks guys, i was just curious as to how u all came about learning, and also what sorta training u guys had done, since it does seem like quite a comlicated process.