View Full Version : player control tutorial
moonCresta
11-17-2009, 12:26 PM
hi,:)
about tutorials for begginers
i canīt find any tutorial about player input
i can find tutorials of how to export from maya and import into unreal > ok!
but after this... ?
please
how to create a kismet sequence for the player input?
and with a gamepad how to set up the left Thumbstick for the player rotate 360 degress = fairytale fights game or any 3D platform game?
and with keyboard or d-pad for the player rotate by 45 degrees?
thanks!
moonCresta
12-08-2009, 08:13 AM
hi,again
Seriously I'm impressed how this forum is useful
i think if the community does not help
the responsible for this forum should show more interest in helping those in need
sueds
12-08-2009, 08:46 AM
I think you won't find anything out of the box. We are all in the same boat. why don't you just start by basic tutorial ? I remember seeing a third camera done via kismet on the forum so maybe you should ave a look at it for the camera and such. for the input I have no idea. I haven't came to controlling my characte . I would recommend you starting by looking into the top down tutorial on the documentation section( 3d bizz tutorial ) it's all done via kismet and you'll find all the necessary information you are looking for.
The forum is pretty new, most user aren't experienced, because they came from other engine ( myself for example) and from my experience you shouldn't expect too much from other and rely on documentation and your perseverance.
if you want more support and tutorial maybe you should look for unity.
anyway hope it helped you.
moonCresta
12-08-2009, 09:16 AM
basic tutorials?
all those always repeated same ones that you find here and on you tube?
the basic first thing is knowing how to control a character
Nawrot
12-08-2009, 09:19 AM
Ask yourself, if you want develop your game or you want community to develop it for you. Second will never happen. So can you develop game by yourself or you can not?
If you can, then use brains to press search button on UDN and read. You cannot make whole game just in kismet, well maybe pacman is possible. And tutorials cannot be made on every possible subject. You have documentation on UDN, also multiple threads with almost your question all over this forum.
And when you get it working, please write tutorial. ;)
sueds
12-08-2009, 09:24 AM
http://forums.epicgames.com/showthread.php?t=710137
maybe you should start scripting before whinning about tutorial. You are not having a good attitude. Nobody is going to do the job for you.
I hope you cool down and look at these tutorial. Maybe there is some you have not done yet.
moonCresta
12-08-2009, 09:41 AM
develop for me?
second will never happen?
cool down?
cool down you,mod maker.
as i said i just want to know where i find a tutorial demonstrating how to control a character with a gamepad.
is this different of any other tutorial? why whinning?
i can make a simple 3d platform game just with kismet,yes.
job for me?
i have here a ready 3d platform game and you? another FPS that someone left almost done for you?
Don’t be so hard to people who are new to scripting. I agree with moonCresta the first and most important thing in making a game is to control a character and sadly there isn’t any beginner tutorial about that. UDk is to making new games and not Mods and many experience unreal moders/scripter coming to UDK, seam to forget that people who are now at all need a UDK specific starting point. And the most basic thing of each game is to have a mesh and move it with key input. Only after that you can start playing around… what happens if you change something here, what if I change something there. Especially if you are new you need small steps with give you big feedback. Other Engine (I don’t call names since I don’t want to compare) have these very basic beginner scripting tutorial things, where it starts with player control, moving a little snake made of simple spears around…It would be nice and good for the community if there would be such beginner friendly, making a custom game with UDK, stuff.
Nawrot
12-08-2009, 09:51 AM
This is all you need: UDN (http://udn.epicgames.com/search/?q=player+input)
Edit: And i am so hard here because of that demanding attitude, and apparently its our fault that there is no tutorial about every possible piece of code.
There are many people that don’t realy understand where to start because of the lack of exactly this kind of tutorial.
sueds
12-08-2009, 09:58 AM
I'm not saying you guys are wrong but MoonCresta is having a pretty bad attitude and in the end nobody help him. So yeah It would be nice for the community but as everybody I'm learning and instead of waiting and being aggressive to people I'm reading the udn at the moment. Nawrot also suggested it. I'm not going to answer anymore. Mooncresta you should cool down a little because even if I could do a tutorial for a guy he doesn't even consider being civil to other.
Hope you find your tutorial.
moonCresta
12-08-2009, 10:44 AM
I agree with moonCresta the first and most important thing in making a game is to control a character and sadly there isn’t any beginner tutorial about that
hi,thanks R2D5
this is the point
i just want to port my 3D platform game in Unreal 3 to see how the things work!
I've learned the basics but I could not find this part(POINT)
and none of these mod makers need to teach me how to make a game
can only be a joke!
pretty bad attitude
just because I spoke some truths?
in the end nobody help him
I will not get to sleep at night
for me you all you can happily continue learning with these same tutorials
and at the end of the day you all can tell "your neighbor" that you did a game!!! ( a FPS one of course!)
bye.
Nawrot
12-08-2009, 12:00 PM
and none of these mod makers need to teach me how to make a game
can only be a joke!
They really could, first lesson to work in team is to be polite and not demanding kid who cannot care for him self.
just because I spoke some truths?
No, because of how you spoke something that is truth only in your opinion.
And hopefully bye.
oh for crying out loud, what a useful thread. regarding to the title, i assumed some info about player controls. instead i read 2 pages complaining about bullsh*t.
if u dont have something useful to add, just leave it.
GRoss
12-08-2009, 09:12 PM
Very nice attitude for a person seeking help.... 8S
Sure the thread starter should have been a little bit nicer, but i don’t think that it was meant to be that bad as it may sound. Anyway I just have to admit that such a tutorial would be a great help, because knowing how to control a character and even if it is just a box, is the most basic thing if you start a new game. So don’t be superficial, focus on the content and the community. And don’t forget that not everybody looking for a fast solution for a problem is speaking English natively. Moreover there are different kinds of people, some hacking around codeline by codeline othe s need a helping hand showing them any detail in order to learn. It would be very helpful if epic or 3dbuzz or so would make tutorials on such basics as importing a custom player controlled object with custom assigned keys. Don’t expect that everybody who is trying to make a game is a long year programmer with mod experience. Be nice to people who are new and who don’t know it better, only then you are realy superior and better, dont be so aggressive.
Henrik
12-08-2009, 11:32 PM
There's a 3dbuzz book specifically about how to get started coding a game in Unreal Engine 3 / UDK coming out around Christmas.
http://www.amazon.co.uk/Mastering-Unreal-Technology-Introduction-UnrealScript/dp/0672330822
I suggest you pick it up. Coders, if you haven't noticed, are in short supply around here, but if you have some patience and a good attitude one is fairly likely to pop up to try to help.
Since you want to do it in Kismet I suggest googling "unreal kismet tutorial". It's a complicated and time consuming subject for a person to try to teach you. You want a simple answer, there are none, what you need to learn are the principles behind it, and the only way to do that is by studying it yourself.
@moonCresta definitively has a bad attitude. No doubt about that.
But he's right about this bizarre situation: Basic things like having an actor, a camera on it and input to move it is more difficult that exploding a building with shaders "up to date". :p And @R2D5 is right too: There's no beginner tutorial about this stuff.
-> Because this stuff is really important for all design in the game. It's obvious that for a platform game (like Tomb raider of Uncharted), it's really important to know how the pawn is responding to the movements -> you can't design the world and the platforms if you aren't sure of what you pawn will be able to do...
I don't want to offend the guys around here. Really ;) . But they are mostly modders. And the UDK is 'configured' for FPS. Doing something else is not as easy as to change material or create a flame.
One more thing. The 3D buzz tutorials are great, and the other tutorials I found are very good also (here or elsewhere). But they all talk about material, terrain, meshes, emitters... It's nice, but the way this engine is working is roughly the same than other engines. I didn't test all of them because I'm poor and honest, but I'm pretty sure that I'm right. So, except newbie (a real one), everybody knows these techniques. however, kismet, UnrealScript are specific to this engine, and there's nothing about them except raw documentation from Epic. That's my point :p
@Henrik: I've just pre-ordered the book. I'll receive it not in December but in the beginning of February... :(
Teto.
LordsWarrior
12-13-2009, 03:12 AM
Moon is totally right....and his inital posts were fine. (I assume english is not first language)
The thread went down hill a few post later
Im not saying I disagree..but its definately where this thread went less than friendly.
Anyways... there really is a lack of really basic stuff. Being new myself Ive notice this.
Teto's post is very good too.
However..after 2-3 weeks of searching and testing things become clearer.
I recommend this tutorial for any one new. Although I couldnt get the final thing 100% going right in UDK (it seems made for UT3) it did really help me learn a lot about the scripting.
http://udn.epicgames.com/Three/MasteringUnrealScriptFunctions.html
THe Hoerences tutorial is good too...and then the
http://forums.epicgames.com/showthread.php?t=707469
And then this one:
http://forums.epicgames.com/showthread.php?t=708162
And a heap of stuff here:
http://udn.epicgames.com/Three/VideoTutorials.html
They should get you well started.
Side question. WHats the best IRC place for UDK help?
Cheers
-LW
eAlex79
12-21-2009, 04:15 AM
Actually I search for the very same thing, asked it too, got no answer.. on how to bind between player input, so keyboard keys, gamepad buttons, whatever, to actions in the game.
There is neither documentation nor a readymade tutorial about it.
Of course I'm able to put keyboard key mappings to use, easy enough. But I don't see how to make joystick's etc to work, let's let alone selecting and configuring controllers through an UIScene f.e.
So instead of linking to a useless search and starting arguments and flaming, I would suggest a knowing user says something relevant, or even better: Epic documents it for us. ;) Wouldn't you all agree?
Actually I search for the very same thing, asked it too, got no answer.. on how to bind between player input, so keyboard keys, gemaepad button, whatever, to actions in the game.
I think that 95% of the guys here are just FPS modders. They make their own games, ok, but all on the same model. So don't expect help for anything else like plateforms, puzzles or soccer games...:D
A book made by 3DBuzz and other guys will be available in the beginning of next February (see few posts below). I ordered it, 'hope it'll cover this basic stuff. I don't know if you studied the camera in Tomb Raider. A very good one. Sometimes it's fooling but most of the time it's really good. I'd like to script a camera like that. I hope it's possible, and I'll be able to, because if I can't, I'll use other engines.
About your player input: There's a .ini file that has all commands (pads I'm sure, keyboard and so on). It's easy to change for what you want, there's just a problem, it's... huge. Really.:D. It's in the same repertory that the other ones (UTGame.ini...)
Teto.
Hitpawz
12-21-2009, 09:53 PM
WHY CAN'T WE BE FRIENDS!?
WHY CAN'T WE BE FIENDS!?
Seriously though, you can't ask for a whole new tutorial and be a Richard about it. The trick is read for a week, try for a week, get stuck and then ask SPECIFIC questions. One step at a time folks. Nobody is gonna walk you across town, but there's millions who will take you across the street.
With the UDN, these forums, youtube and 3DBUZZ, I have an animated character out of max working in the UDK. I don't have him as the player or as the bots yet, but I'll get there soon enough and I'll have questions that I will ask. But I'll ask about what's at hand, not about the whole freakin process.
ambershee
12-21-2009, 10:06 PM
All you need to do is look at the PlayerInput and PlayerController classes, and the PlayerInput ini files - the rest is just reading and understanding. From there, you should always be able to do what you need to do.
All you need to do is look at the PlayerInput and PlayerController classes, and the PlayerInput ini files - the rest is just reading and understanding. From there, you should always be able to do what you need to do.
Yes, and it works. I've read a tutorial of someone ('scuse me, I lost his name :o) and I added new classes from Pawn, Camera and CameraMode, and it works. The camera doesn't go inside walls. But it's not perfect: My pawn is on the left side of the screen (but I'm sure that the problem comes from the pawn, not from the camera) and when I move the camera (with the pad) around my pawn, the pawn changes direction too -> and I don't want. And it's a pain to change that.
What I want ? (and many other people who want to make games - not FPS... ) It's simple:
- I have a pawn class (from GamePawn).
- What do I have to do to: add a camera, an aiming (or not) and a clean control of my pawn (that means that maybe I want a control for the direction of my my pawn, and another control for my camera's aiming). And of course avoid collision with environment if I want.
It's obvious that snapping fingers will not be enough ;) but there's nothing about this in UDN -> I checked this again yesterday. Not a word.
But, again, maybe the 3rd volume of 3DBuzz's books will answer that, and I hope so.;)
If someone from Epic reads this post: Please can you do something? :o Can you help us? :o Gears of war is a 3rd person camera (I think) Is it possible to know how they did? :o
Teto.
Edit: I want to say another word: It's not like I want to make a very special effect that was never made before. It's just a basic stuff that we can see in many, many games... The guys from Epic say -> UDK is a SDK that allows you to make your own games. Great. But when you watch the structure of the classes it's obvious that they are made for FPS. It ok for me. But if Epic wants to prove that UDK can do something else, well, they must help us and just not say "it's possible, search"...
yahadi
12-28-2009, 10:32 PM
I second the last post, it shouldn't be this difficult to get such a standard camera. The thing is, others are already doing it with the UDK. Check those two videos:
* Camera Orbiting around the player, player movement is screen relative and not character relative:
http://www.youtube.com/watch?v=XTkZZ_cEewU&feature=related
Now, if we get the previous cam working, then at this point when the player presses the aim button (right mouse click or the left shoulder button on the controller) then the characters goes into aim mode (Locked view Over the shoulder) and the player movement becomes player relative again. And you can aim up and down like in this example
* Proper Over The Shoulder Perspective like Gears of War done in UDK:
http://www.youtube.com/watch?v=KEuhob3TXfk&feature=related
So, Please anyone who knows how to implement a system or someone from Epic kindly show us how to do that in a video or text tutorial as this is the backbone of any third person game.
Gillies
12-29-2009, 01:26 AM
I second the last post, it shouldn't be this difficult to get such a standard camera. The thing is, others are already doing it with the UDK. Check those two videos:
* Camera Orbiting around the player, player movement is screen relative and not character relative:
http://www.youtube.com/watch?v=XTkZZ_cEewU&feature=related
It isn't that difficult to get that camera motion, thats why you dont see any tutorials about it.
In playercontroller there is a function conveniently called UpdateRotation.
towards the bottom of the function is this code
if ( Pawn != None )
Pawn.FaceRotation(NewRotation, deltatime);
getting rid of that magically stops your character rotating to match the camera in third person.
Denny
12-29-2009, 09:39 AM
People should start look into attaching the camera on bones on the character. It's intuitive and demands less work from the programmers as the artists can control the bone with skeletal animation and the AnimTree. It also allows you to get rid of the oldschool issue where you can't turn the camera beyond a certain limit up/down before having gimbal locks and such, it's all animation driven!
1. Add an extra bone on the character which is the camera bone.
2. Make sure all animations have the camera bone animated properly.
3. Setup the AnimTree to support aim offsets on the bone and eventual skeletal controllers.
4. Attach a camera to the bone on init and make it the player camera.
5. Have cake.
There isn't much else to it. :)
Hyper_Shado
04-19-2010, 05:10 PM
People should start look into attaching the camera on bones on the character. It's intuitive and demands less work from the programmers as the artists can control the bone with skeletal animation and the AnimTree. It also allows you to get rid of the oldschool issue where you can't turn the camera beyond a certain limit up/down before having gimbal locks and such, it's all animation driven!
1. Add an extra bone on the character which is the camera bone.
2. Make sure all animations have the camera bone animated properly.
3. Setup the AnimTree to support aim offsets on the bone and eventual skeletal controllers.
4. Attach a camera to the bone on init and make it the player camera.
5. Have cake.
There isn't much else to it. :)
It seems that great minds think alike. Right now I have a bone called "CameraBone" that I'm experimenting with, seeing if I can get the camera to lock onto that instead of the whole Pawn. Then I want to get that bone set up so that it doesn't rigidly rotate with the player, which will make running on slopes much nicer-looking.
4. Attach a camera to the bone on init and make it the player camera.
N00b question: How do you do it? :confused:
sam fisher
12-21-2010, 06:37 AM
Hey Guys,
I'm from Holland so please dont shoot me for my bad English.
I have read this tread, and the truth is that you can find a lot of tutorials on youtube.
But what you find is setting up a game MAP, texturing, importing character, simple kismet, simple animtree and sometimes a litle bit of scripting.
I have begin with UDK for a mouth ago, and its very very nice.
I have mad a nice map with terrain and buildings, even with water, texture and some tree's in it.
I have also imported a character from 3DS in the UDK and i play with him. :p
But then i want to setup my character so it will jump on a ledge and slinding down a rope and walk a lot slower.
And then i find a tutorial where you can setup player controles and speed controle.
And than i was stuck, it seems that these tutorials take a very big jump forward, its is realy abacadabra for me.
So in the last week i was looking for tutorials with basic scripting and move you player like you want to do.
Nope, nada, nothing.
I already download more then 9 gigabyte of youtube movies but non of then explane what i'm looking for.
So if anybody please can help all the beginners of UDK. (me to)
No, this is not wright, it is just a step after beginners and a way for the pro. :o
I already give my theaks to all the guys that already put a lot of time in the tutorials i have found.
And i give some more thanks to the guys that make the tutorials between the beginner and the pro.
Best regards from a simple guy from Holland. :)
Powered by vBulletin® Version 4.1.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.