Unity Community |
I could not find any other bugs. Clean and stable! Now let's just wait for the new features.![]()
Seriously, guys, amazing contribution!
Thanks for that ....was not aware, will have a look today and report back, any other info you might be able to provide is greatly appreciated. I will of course post anything I do manage o get working so you guys can implement it, if you should so wish! Just got to say it again 10 out of 10 ...not finding any bugs in this releaseOriginally Posted by davew175
The weapons package has custom editors defined in the editors folder. If you add variables you'll also need to add them to the associated editor script.
Also, there's a Boolean that controls whether a gun is active. I'm not at a computer now but will respond later today with details.![]()
Cheers,
Jiff
I just downloaded the package and made a test scene, but I'm having some problems. The guns are going inside of the walls and the muzzle flash is showing up overtop of the gun.
Did I miss a step? All I did was drag the Player prefab into the scene, and add one of the guns that came with the package into the default weapon's AimObject. Any time I hit into a wall, though, the gun passes right through.
Any ideas? Thanks!
I figured it out. I didn't add the gun to the WeaponCamera's layer.
Nice job by the way!
Looks like its a real thing. The corner shot. Might be neat to see that type of weapon.
http://en.wikipedia.org/wiki/CornerShot
http://www.youtube.com/watch?v=vFJ-2X5gOFk
Get a head start with starter pack#1! - 5 starter kits in 1: golf, brickout, flick kick, warp and run and mathsteroids!
Starter Pack #1 only $50!,
Get a head start with the starter kits!
Mini Golf,Brickout, Flick Kick, Cyber Tanks, Warp and Run
Current Projects: Cyber brickout
http://forum.unity3d.com/threads/178271-Cyber-Brickout
I just wanted to post that I've just gotten back from Europe and will start working on a new update immediately to try putting in some of the suggestions (as well as some custom editor cleanup to make it easier to modify the scripts).
-Jason
Check out the FPS Constructor on the Asset Store! It makes creating an FPS in Unity easy! Now on iOS and Android, so your mobile FPS can get a head start!
Follow us on
-YouTube
First of all, thank you so much for providing this package, you cannot imagine how helpful it is.
I did have a quick question though, is there a way to disable weapon sway when aiming down the sights?
Hi men, good work i use it for my game...
i read FPSWalkerDB and i dont understand some line of this script :
can u help me !?Code:
1- if(mainCamera.transform.localPosition.y + (crouchDeltaHeight*Time.deltaTime*8) > standardCamHeight) 2- var flags = controller.Move(moveDirection * Time.deltaTime); grounded = (flags & CollisionFlags.CollidedBelow) != 0;
i scream , you scream , we scream , FOR ICE CREAM
Well #1 is when the player is standing back up from crouching. While you stand back up it moves the camera upwards every frame until it hits its target (standardCamHeight). That line is saying that if we are going to add too much this frame (and pass our target) we'll just move to the target position instead.Originally Posted by alimolavi
Hi men, good work i use it for my game...
i read FPSWalkerDB and i dont understand some line of this script :
can u help me !?Code:
1- if(mainCamera.transform.localPosition.y + (crouchDeltaHeight*Time.deltaTime*8) > standardCamHeight) 2- var flags = controller.Move(moveDirection * Time.deltaTime); grounded = (flags & CollisionFlags.CollidedBelow) != 0;
Code:
//are we going to pass our target this frame? if(mainCamera.transform.localPosition.y + (crouchDeltaHeight*Time.deltaTime*8) > standardCamHeight){ //if we are, just move to the target immediately } else { //if not, just move towards the target }
#2 is actually from the original FPSWalker script (so I didn't write it) but it appears to be here the script checks whether or not the player is touching the ground.
I hope this helps!
Also I'm working on a way to disable (or change the speed of) weapon sway while aiming, but its being pretty stubborn.
-Jason
Check out the FPS Constructor on the Asset Store! It makes creating an FPS in Unity easy! Now on iOS and Android, so your mobile FPS can get a head start!
Follow us on
-YouTube
Hi
I can't seem to get the tutorial movies to play. Do you have any idea why this is? When I click on the link, it just seems to load forever. Is there another way I could get these vids? I really like what you have done, thank you for the great addition to Unity.
[edit]
I figured out that I could just right click the link and "save target as" to get the file. Now I can watch at leisure.
Thanks!
No problem, if I figure anything out (highly unlikely), I'll let you know!Originally Posted by Jason@DastardlyBanana
Well #1 is when the player is standing back up from crouching. While you stand back up it moves the camera upwards every frame until it hits its target (standardCamHeight). That line is saying that if we are going to add too much this frame (and pass our target) we'll just move to the target position instead.Originally Posted by alimolavi
Hi men, good work i use it for my game...
i read FPSWalkerDB and i dont understand some line of this script :
can u help me !?Code:
1- if(mainCamera.transform.localPosition.y + (crouchDeltaHeight*Time.deltaTime*8) > standardCamHeight) 2- var flags = controller.Move(moveDirection * Time.deltaTime); grounded = (flags & CollisionFlags.CollidedBelow) != 0;
Code:
//are we going to pass our target this frame? if(mainCamera.transform.localPosition.y + (crouchDeltaHeight*Time.deltaTime*8) > standardCamHeight){ //if we are, just move to the target immediately } else { //if not, just move towards the target }
#2 is actually from the original FPSWalker script (so I didn't write it) but it appears to be here the script checks whether or not the player is touching the ground.
I hope this helps!
Also I'm working on a way to disable (or change the speed of) weapon sway while aiming, but its being pretty stubborn.
Hey Mr.Banana,
Nice work on the kit, man. It rocks!
Also - thanks so much for the mention on the radar. I really appreciate it
Cheers!
Jeff.
----------------------------
Jeff Murray
Twitter: @psychicparrot
PsychicParrot Games
http://www.psychicparrotgames.com
Play Headlong Racing!
Check out my book, Game Development for iOS with Unity iOS!
Just thought about a nice addition, what about the possibility of changing the crosshair color when you aim at enemies or friends?
Hey
I have a couple of questions and hope Banana or someone could help me out. I managed to get my gun model in the game and it fires and reloads fine, however, I get a "deselectWeapon has no reciever" error. Anyone have any idea what I need to do to fix this?
Also, I am having trouble with the zoom feature. I have tried both downsight (after setting zoom gun position), and scope texture zoom, but can't seem to get them to work. I have set the input fire2 to mouse 1, and it works in the demo, but in the tutorial, I can't get it to work. Any ideas?
Thanks
I would suggest opening the Demo scene and seeing if that works properly. If it does, then just find what's different between the demo weapons and yours. "deselectWeapon has no reciever" sounds like an issue with playerWeapons, so make sure that your weapons are dragged into the "weapons" slot of that script.Originally Posted by wizardious
Hey
I have a couple of questions and hope Banana or someone could help me out. I managed to get my gun model in the game and it fires and reloads fine, however, I get a "deselectWeapon has no reciever" error. Anyone have any idea what I need to do to fix this?
Also, I am having trouble with the zoom feature. I have tried both downsight (after setting zoom gun position), and scope texture zoom, but can't seem to get them to work. I have set the input fire2 to mouse 1, and it works in the demo, but in the tutorial, I can't get it to work. Any ideas?
Thanks
Also what specifically goes wrong with the zoom?
I hope this helped
-Jason
Check out the FPS Constructor on the Asset Store! It makes creating an FPS in Unity easy! Now on iOS and Android, so your mobile FPS can get a head start!
Follow us on
-YouTube
Hey Banana
Thanks for taking the time to help. I went over the demo and now the gun works great! Not really sure what the problem was, but everything works now. I just have to figure out how to make it "pickupable". Seems pretty tricky, but I will try.
Just a couple pics of the weapon package in action. I managed to make my first weapon "Pickupable".![]()
![]()
Those look great! (The weapon model is really professional looking). I'm glad you were able to get the pickup working (I'm going to post a tutorial once I have a little more time on my hands).Originally Posted by wizardious
Just a couple pics of the weapon package in action. I managed to make my first weapon "Pickupable".
-Jason
Check out the FPS Constructor on the Asset Store! It makes creating an FPS in Unity easy! Now on iOS and Android, so your mobile FPS can get a head start!
Follow us on
-YouTube
Banana rocks!
----------------------------
Jeff Murray
Twitter: @psychicparrot
PsychicParrot Games
http://www.psychicparrotgames.com
Play Headlong Racing!
Check out my book, Game Development for iOS with Unity iOS!
Banana rocks!
----------------------------
Jeff Murray
Twitter: @psychicparrot
PsychicParrot Games
http://www.psychicparrotgames.com
Play Headlong Racing!
Check out my book, Game Development for iOS with Unity iOS!