Hello,
I stumbled on this old, but interesting, set of tutorials that may be useful to some. I am finding them to be of some use.
I have very little programming knowledge, enough to put together a small game launcher app. It has been my goal over the last few months to learn scripting in udk with the goal to, in time, get a decent RPG prototype working. Problem is, I’ve worked with some Quake 2 code and a little Quake 3 but that is just modifying what others have worked hard on.
The issue for some, including me, is not just syntax...Its also the technique of programming in an oop environment. One of the real hard things to wrap my head around is how an RPG would be structured, how the code would look. That is why this set of tuts is helping me. Is focused on a beginner and teaches them to write an text based RPG in C++. Most programmers would tell you you learn by the act of practice. In this series not only would you learn some syntax but also oop design and how an RPG can be structured.
Now some will look at this and say eeewww a TEXT RPG. Well this is true, but lets think how it can relate to UDK. Uscript is similar to C++ in the way that it is oop, code structure is similar, and some C++ syntax is supported. The first part of prototyping many things begin in the background. For example, when designing the XP system I am now using I started with the one purpose of having the engine keep track of XP and print it to the console. With this in mind MUCH of the knowledge in these tuts can be adapted to understand how it could be done in UDK. Everything from inventory to XP, It all happens in the background in code and then is attached to visual objects to represent what is happening. To add to my XP example, When you open up the player menu in a game and see your player standing there and his stats listed beside him, That is just a UI calling for the value of a given piece of code. The same goes with many things like inventory or dialogue or events.
Anyways, I feel that once one grasps how oop works and then how it can be used to structure the code for a RPG one would be well on their way to being able to design one. Once the code is in place then one could add the visual representation making a text rpg become a 3D rpg. Now of course one would need to learn to understand the many intricacies of Uscript but I think that as its syntax is more similar to java that is not so bad, its more the structure and design that gets my brain smoking.
Any who, take a look and maybe it might be useful to you!
http://tlundmark.blogspot.com/2006/0...-tutorial.html




Reply With Quote





Bookmarks