What tutorials would you recommend for a NEWBIE

Discussions about Coding and Scripting
Post Reply
User avatar
makemeunreal
Masterful
Posts: 546
Joined: Tue Mar 26, 2013 6:34 pm

What tutorials would you recommend for a NEWBIE

Post by makemeunreal »

Hi there!

I'm pretty sure that you guys heard this question 'bout a million times, but still.
What tutorials/tutorial series would you recommend for a (almost) newbie? Let's say I've got some snippets of codin' stuff spinnin' in my brain but let's suppose they don't exist.
Hope it won't get you guys angry. I know that there is a sh11111tload of codin' tuts floatin' in the ether, but it I think askin' you guys who are actually codin' and know how things work is better than tinkerin' myself. Checked a lot, still standin' , wonderin'.

Thanks in advance!
User avatar
EvilGrins
Godlike
Posts: 9668
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Re: What tutorials would you recommend for a NEWBIE

Post by EvilGrins »

Potty training.
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758
ShaiHulud
Adept
Posts: 459
Joined: Sat Dec 22, 2012 6:37 am

Re: What tutorials would you recommend for a NEWBIE

Post by ShaiHulud »

I'd say set yourself an objective, and then set to work on solving it. It gives you a tangible goal to work towards, and you're focusing on a specific set of steps rather than trying to wrap your mind around a whole host of abstract concepts at the same time. You'll figure things out as you go, and this way you're more likely to remember what you've learned because you've applied it in a practical way.

As an example, my first foray into UnrealScript was a desire to modify the number of points awarded for capturing a flag in BunnyTrack. I created a mutator, and then explored the UnrealScript for SmartCTF to see how that achieves the same thing. I modified the relevant section of UnrealScript to suit my needs, and then had my own stand-alone mutator to award whatever point values I liked.

Don't go for anything really ambitious to begin with. Pick something straightforward - like changing the height that a player can jump, or adding a mutate command to reverse the names of players in the server or something.

Things to keep in mind:
- The folder for storing the files for your mutator must reside under the Unreal Tournament directory, e.g., if UT is installed at "c:\games\unrealtournament", and your mutator is called MyFirstMutator, you'd create...

c:\games\unrealtournament\MyFirstMutator

...and then inside of the MyFirstMutator folder, create a sub-folder called "Classes" - where you put your files

- To compile your mutator, you have to add an entry in your UnrealTournament.ini file. Search for the "EditPackages" section, and add a new entry to this list (the end of the list is a logical place). The name of the entry must match the name of your mutator folder:

...
EditPackages=MyFirstMutator

To create the compiled file, you'd open a Command Prompt, change to the UT system folder, and issue the "ucc make" command

cd\games\unrealtournament\system
ucc make

- The resulting file will be placed into the System folder. Once created, you *must* delete it before you can compile another copy. If you don't delete any existing copy, the compiler won't generate a new version (causing much confusion when you can't understand why the changes you just made aren't working!)

- To use the mutator, best to make a batch file (just use Notepad, and then make sure when you save the file, you put ".bat" at the end, so that Notepad doesn't save it as a txt file), something like:

ucc server CTF-Coret?game=Botpack.CTFGame?mutator=MyFirstMutator.MyFirstMutator?MaxPlayers=10 ini=UnrealTournament.ini %1 %2 %3 %4 %5 %6 %7 %8 %9 -log=server.log

...then just double-click this to start a server. Run UT, and connect to this server for testing
User avatar
Chamberly
Godlike
Posts: 1963
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA
Contact:

Re: What tutorials would you recommend for a NEWBIE

Post by Chamberly »

Someone should post the coding etiquette.

There is a lot of ways to make some things work, but it really comes down to the knowledge of programming it right...
Image
Image
Image Edit: Why does my sig not work anymore?
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: What tutorials would you recommend for a NEWBIE

Post by sektor2111 »

I recommend to speak what you want to modify/learn, more exactly what do you have as a target (a MyLevel, a Mutator) - then... we can debate those changes. Perhaps not many tutorials will make you to understand every point. You'll need a human being to guide your steps and to work with you some basic things first. Then you'll get into subject more easy.
Post Reply