Coding - general spraff

Feel free to chat about non-Chaos stuff in here.
Post Reply
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Coding - general spraff

Post 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!
"All i know is my gut says maybe"
ChaosJester
Posts: 125
Joined: Wed Aug 27, 2003 10:46 pm
Location: Somewhere within my head...

Post 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.
Jingle, jingle, boom. Oops, you're dead.
That sucks cause I wanted to play....
But let the show go on!
jb
Posts: 9825
Joined: Fri May 03, 2002 12:29 am
Location: Coral Springs, FL
Contact:

Re: Coding - general spraff

Post 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) :)
Jb
Melaneus
Chaotic Dreams Team
Posts: 222
Joined: Fri Dec 05, 2003 1:04 pm

Post 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.
ChaosJester
Posts: 125
Joined: Wed Aug 27, 2003 10:46 pm
Location: Somewhere within my head...

Post 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.
Jingle, jingle, boom. Oops, you're dead.
That sucks cause I wanted to play....
But let the show go on!
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Post 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...
"All i know is my gut says maybe"
LoQtUS
Posts: 2710
Joined: Mon May 06, 2002 6:30 pm
Location: Orlando FL
Contact:

Post 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 :)
The Dark Side of Chaos.
jeditobe1
Inactive Chaos Team Member
Posts: 2638
Joined: Mon Mar 10, 2003 11:06 pm
Location: The Dagobah System
Contact:

Post 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
I make Darth Vader look like a teenage punk with a lightsaber.
MassChAoS
Posts: 1301
Joined: Thu May 02, 2002 3:26 am
Location: Florida
Contact:

Post by MassChAoS »

I took a year of coding java... so umm, I should be able to whip out some uscript, right?
ChaosJester
Posts: 125
Joined: Wed Aug 27, 2003 10:46 pm
Location: Somewhere within my head...

Post 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.
Jingle, jingle, boom. Oops, you're dead.
That sucks cause I wanted to play....
But let the show go on!
jeditobe1
Inactive Chaos Team Member
Posts: 2638
Joined: Mon Mar 10, 2003 11:06 pm
Location: The Dagobah System
Contact:

Post 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.
I make Darth Vader look like a teenage punk with a lightsaber.
GB
Posts: 611
Joined: Sun Nov 14, 2004 7:54 pm

Post 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.
"All i know is my gut says maybe"
Post Reply