Page 1 of 1

What tutorials would you recommend for a NEWBIE

Posted: Tue Mar 21, 2017 9:35 pm
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!

Re: What tutorials would you recommend for a NEWBIE

Posted: Wed Mar 22, 2017 2:18 am
by EvilGrins
Potty training.

Re: What tutorials would you recommend for a NEWBIE

Posted: Wed Mar 22, 2017 2:45 am
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

Re: What tutorials would you recommend for a NEWBIE

Posted: Wed Mar 22, 2017 4:37 am
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...

Re: What tutorials would you recommend for a NEWBIE

Posted: Wed Mar 22, 2017 7:38 am
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.