Unity Community |
youtube.com/ETeeskiTutorials
Click Here to go to the FPS1 Tutorial Playlist
This video explains the idea of this thread:
This is the ETeeskiTutorials FPS1 Problem Diagnostic Collaboration Thread, a place for all viewers of ETeeskiTutorials to come together and help each other out with any problems/glitches that arise while trying to complete the FPS1 project. This will be a place to post what episode you are currently on, a brief description of your problem, and a link to your own thread (posted by you and dedicated to your particular problem/glitch).
Posting your glitches here on the Unity forums will be much more effective than on youtube. Here you will be able to show your scripts, post screen shots, post up a zip file of your project, and generally just keep things more organized.
Be sure so scroll through other people's posts here; Someone else might have had the same problem as you, or you may find someone who is having a problem that you figured out last week.
I will still personally try to respond and help everyone with what ever problems they are having, and I think I will be able to do this more effectively on the forums.
In order for this thread to work and be effective, we will need to stay organized. Once again here are the three things your posts here will need:
POSTS ON THIS THREAD SHOULD CONTAIN:
1. What episode you are currently on - FPS1.3 Basic walking/running, FPS1.4 Setting the max walk speed, etc. Make sure that in addition to the episode number, you also include the title. I was the one that made these tutorials and I don't even remember which tutorials are which.
2. A brief description of your problem/glitch - Try to keep this short and to the point. It will be easier for everyone to find solutions to their problems if they can read the descriptions quickly. Your personal thread is where you want to add lots of detail.
3. IMPORTANT! A link to your personal thread for your problem/glitch - Things will get extremely confusing if people try helping other people on this thread. We need a separate thread for each problem/glitch. So, before you post in this thread, make your own thread. That way, you will be able to copy and paste the URL into this thread so people can easily find it.
YOUR PERSONAL THREAD:
Make sure, before you post in this thread, you create your own. Most likely you'll want to post it in the scripting section of the unity forums. It might also be a good idea to, either in the title or in the body of your thread, include key words like ETeeskiTutorials or FPS1 so that other ETeeskiTutorial views can find your thread in a search. Remember though, there are a lot of people here on the forums who have never heard of ETeeskiTutorials, so make sure you describe your problem/glitch in a way that will be understood by people who have never watched my tutorials. A link to one of the videos and a specific time in the video (example @11:52) could be very helpful for people to help you.
The first post after this one will be an example following these three steps. For this example, I will be using a common problem I've seen some people have.
I hope this thread works out and creates a more efficient system for solving everyone's problems/glitches.
As always, have a great day and keep making games!
Last edited by eteeski; 03-05-2012 at 12:29 AM.
My Youtube Channel - youtube.com/ETeeskiTutorials
My Website - ETeeskiTutorials.com
Texture Pack - 100 tiled textures for level design, all 2048x2048 - Asset Store - WebPlayer Demo
(EXAMPLE POST)
FPS1.9 Aiming
My gun goes through the camera when I aim. How do I move the gun forward when I aim?
Link to my thread - http://forum.unity3d.com/threads/126...d=1#post850173
My Youtube Channel - youtube.com/ETeeskiTutorials
My Website - ETeeskiTutorials.com
Texture Pack - 100 tiled textures for level design, all 2048x2048 - Asset Store - WebPlayer Demo
Hi,
Great tutorials
FPS1.19
When walking with the headbob script my gun is going crazy shaking all over the place.
I've changed Update to LateUpdate but it's still shaking when I walk
Hey im replying to your comment on the youtube video 1.23, im TheHellhound17
My camera shakes like crazy when i walk but the weapons swaps fine and thats all working.
My scripts are on this post
http://forum.unity3d.com/threads/126...161#post852161
How about a tutorial on how to create a first-person camera conversion to third person camera. Using the scroll wheel to move between them or automated for "cut" sequences?
FPS1.31 Stairs. Unity3D FPS Game Design Tutorial.
stair colliders not working when i go through them backwards.
link to my thread - http://forum.unity3d.com/threads/126...258#post854258
I'm currently working of a true FPS. I use your scripts Eteeski and another guy's totorial.
I have a problem with moving my character rig were the camera is facing.
THREAD ----------------------------------->>>>>>>>> http://forum.unity3d.com/threads/126...523#post855523
FPS 1.8
i have a strange proble when aiming left to right;
http://forum.unity3d.com/threads/127...507#post859507
FPS 1.8 Basic Gun With Weight
Two Issues: My variables for the gun's position were screwed up and when I added the rest of the code the gun changes position on the z axis when I look up/down. PLEASE HELP
http://forum.unity3d.com/threads/127...647#post863647
FPS 1.23 Swiching Guns
the problem with my code its that not switching guns and its saing some mesage like
null reference and stuff
http://forum.unity3d.com/threads/128...674#post865674
FPS 1.23 Swiching Guns
the problem with my code its that not switching guns and its saing some mesage like
null reference and stuff
http://forum.unity3d.com/threads/128...674#post865674
I have a problem! on the tutorial: FPS1.19 Headbob Movement. Unity3D FPS Game Design Tutorial.
The problem is that on every variable I make it has 2 errors on them, one saying unexpected symbol Colon and one saying unexpected symbol Equal.
Can anyone help me? Heres the linc:
http://answers.unity3d.com/questions...e-problem.html
FPS 1.30 Opening and Closing Doors
the problem is that it doesnt open the door or hear sounds when i press E while i get no error.
Thread : http://answers.unity3d.com/questions...ing-doors.html
What video covers the UseKey script, which supposedly is in the video dealing with picking up guns?. A video I haven't been able to find. Quick help would be much appreciated, as I'm kind of on a deadline here and this one little thing is hanging me up.
My gun has sort of a jittering motion? If that makes sense. The gun jumps left and right slightly when I rotate the screen and it does it more profusely when I move forward and rotate. And I skipped 1.23 and went to 1.24 because I wanted to do some stuff but didn't have enough time for a long vid, so I did 1.24 and then did 1.23
EDIT: Also I didn't add the script because I don't think it has to do with my script. I will if you tell me to. And changing the layer from guns doesn't change anything
Link: http://forum.unity3d.com/threads/129...783#post874783
Last edited by YourSeedyUncle; 03-27-2012 at 02:54 AM.
Hi ETeeski,
I have a generic question, of something I noticed while using my imported gun model.
For some reason, when I am zoomed out the Raycast is not centered on screen. At least, that's what I think as the bulletHole object gets created off center to the right.
When aiming it's all perfect. It lines up perfectly with the gun. Just as soon as I am zoomed out the bullets are offset to the side.
Is this something I can fix in code? Or something that I have to fix in the Inspector?
I have my gun's local coordinates at x: 0, y: 0, and z: 0.75.
My thread can be found here http://forum.unity3d.com/threads/129...420#post876420, where you can also find a link to a early iteration of my FPS which seems to be having the same issue.
Hi ETeeski,
first thank you very much for these instructive tutorilas. In FPS1.11, I'd like to understand why we use - as in other parts of the code - both smoothDamp and Lerp to get a smooth transition. ¿Wouldn't be enough to smoothDamp between both camera FOVs?
My thread: http://forum.unity3d.com/threads/129...eski-Tutorials
Another generic Gameplay question: When pressing both A+S or A+W or D+S or D+W (ergo: Horizontal & Vertical movement at the same time) the character walks diagonally at twice the speed it is allowed to move, even though the maxWalkSpeed is set.
Is there a way to always limit the movement speed to maxWalkSpeed? Even if multiple keys are pressed?
Hey,
For my character he is using a capsule collider and rigid body for a movement motor.
i know you have a tutorial for stairs but that doesn't apply for the capsule collider and rigid body.
Is there any way to edit the following script to create like a step offset?
Code:
var crouchSpeed = 2.0; var walkSpeed = 8.0; var runSpeed = 20.0; var fallDamageMultiplier : int = 2; var fallAnimGO : GameObject; var inAirControl = 0.1; var maxVelocityChange = 10.0; var canJump = true; var jumpHeight = 2.0; var fallSound : AudioClip; var playerWeapons : GameObject; var grounded = false; private var sliding : boolean = false; private var limitDiagonalSpeed = true; private var crouching : boolean; private var normalHeight : float = 0.5; private var crouchHeight : float = -0.2; private var crouchingHeight = 0.3; private var rayDistance : float; rigidbody.freezeRotation = true; rigidbody.useGravity = false; myTransform = transform; } if (grounded){ var inputModifyFactor = (inputX != 0.0 && inputY != 0.0 && limitDiagonalSpeed)? .7071 : 1.0; sliding = true; }else{ sliding = false; } } // Calculate how fast we should be moving targetVelocity *= speed; // Apply a force that attempts to reach our target velocity velocityChange.y = 0; } if(!crouching){ speed = runSpeed; else speed = walkSpeed; }else{ speed = crouchSpeed; } }else{ // AirControl } // Gravity grounded = false; } grounded = true; } } } if(!grounded){ if (currSpeed > 20) { var damage : float = currSpeed * fallDamageMultiplier; } } } function CalculateJumpVerticalSpeed (){ } else } } collider.height = 1.5; crouching = true; } collider.height = 2.0; crouching = false; } if(crouching){ } else { } } if(weaponCameraGO.transform.localPosition.y - (crouchingHeight * Time.deltaTime/.1) < crouchHeight){ } else { } } } else { } else { } } if(weaponCameraGO.transform.localPosition.y + (crouchingHeight * Time.deltaTime/.1) > normalHeight){ } else { } } } } function Accelerate (accelerateY : float, accelerateZ : float){ grounded = false; }
I have problem when i set gunCamera depth to 0 , my weapon not recive shadows from another objects how to fix this?