Hey guys! I'm back, finally, after 2 years of inactivity, to help others with Alice and Unity projects. I'm currently working on a FPS on Unity, and I'm going to make one on Alice now! I need you guys/gals to let me know what you want to see in this next FPS. Now, seeing the I'm programming using Alice, it'll be difficult to implement colliders, realistic recoil, clamps for the aiming, etc., so bear with me and don't go overboard with the suggestions. If you guys would like tutorials for Unity, I will gladly help you out.

AliceMaster00

09-20-2014 04:48 AM

Just a start!

1 Attachment(s)

I know the animations are a big buggy, but I'm working on a solution! This is I guess a prototype for my clamping system in FPS in Alice. It's not the best, but it gets the job done. Let me know what you think!!! :)

Controls :
WASD : Movement
Arrow Keys : Looking Around
C : Aim

This version includes :

Looking Clamps -
I've implemented a looking system similar to one of a mouse look script. There is two "calibration" numbers to calculate how far you've turned in a certain direction. I've simply set a limit on these numbers, and used if statements to detect whether the camera has turned too much on one axis. If it is detected, I've approximated the return value (how much the camera needs to turn back relative to it's rotation and 'calibration'), and applied it. Of course, this being a prototype, it has some bugs. But that'll all be fixed soon.

Animations -
I added animations such as weapon sway animations, and walking animations. What is different about these animations, is that it's not just an animation, if it was then the weapon would move out of it's position if too many keys with different animations were pressed. After finishing a walk animation, the weapon moves and orients back to a dummy set at it's normal or 'hip' position. It is the same if you'e aiming. I've tested some recoil animations that would be affected by specific variables, but so far that's a bust. So to make up for it, there is a simple recoil animation.

Reload, and Running Coming Soon!

READ NEXT POST FOR CHANGE LOG!!!

AliceMaster00

09-20-2014 06:09 AM

Update!

Here's the reload and running. Mind that the running doesn't have any animation yet, and that the walking animations are a bit buggy due to all the coding I inputed to check whether the player was aiming, since I was having issues where the gun would pop out of it's respective position. If that does happen, just tap a walking or aiming key and it should move back to its original position.

Change log :
Different Controls! -
Since I don't have mouse aiming, shooting while aiming was a pain. So, I implemented different controls that should make running, jumping, shooting, and reloading easily accessible.

Let me know if any action is at an awkward angle relative to the walking or looking keys.

New "isReloading" bool and bullet awareness -
The gun now has a bullet limit, and cannot shoot over that limit. The isReloading boolean stops the player from shooting while reloading.

Ammo Count, Run Animation, Health & Health Bar Coming Soon!

AliceMaster00

09-20-2014 08:40 AM

Update!

Well, it took my about two hours to finish this update. I've added a run animation (as promised), and an advanced bullet count system (somewhat as promised). Also, I've changed the shoot button so that it's closer to the look controls.

Bullet Count System -
I've added a bullet count system that lists the total ammo count, and the bullet count (in mag). I've also added a variable that detects the amount of bullets fired to determine how much gets subtracted from the total ammo count. This variable is called bulletValueCheck, the is the absolute value of the subtracted value of the bullet count and the amount of bullets that should be in the mag. If that absolute value is greater than the amount of ammo in total is left, then the total ammo is simply added onto the bullet count, and the negative value that is returned in the ammo count variable is balance out when it's added by it's absolute value. Yes, it seems complicated, because it is...

Run Animation -
The run animation is fairly simple, I didn't put much time into it, seeing that animating in Alice is a pain for me.

New Fire Button-
I found that the previous 'N' key for firing was impractical, it got in the way of the spacebar. So I found a different key to use that was close to some key that are normally used.

Health, Death, Weapon Swapping Coming Soon!

RavenOfCode

09-20-2014 08:46 AM

Unity?

You know unity? Is it a good game making program? Im right about to try your game out :) It looks fun

AliceMaster00

09-20-2014 09:03 AM

[QUOTE=RavenOfCode;54899]You know unity? Is it a good game making program? Im right about to try your game out :) It looks fun[/QUOTE]

Yeah I know Unity! It's amazing for game dev, except for it's price :( That's why there's always a free version though! :D About the game, I just uploaded the newest version. There was a problem with the run animation.

RavenOfCode

09-20-2014 10:04 AM

Should I

I'm really wanting to learn a new programming language, a real one... and unity seems really good. Would you recommend i learn it?

AliceMaster00

09-20-2014 10:10 AM

Definitely! I love using Unity, it's just sometimes you want to go back to your roots (hence Alice). I can help you with learning both C# and JavaScript coding. Of course, if you're looking to learn the ACTUAL code, you would have to look it up, since Unity uses APK packages to help make the scripting a bit easier. Learning code from Unity is fairly easy if you think about it. Most functions in Unity are just plain logic.

Also, could you please test out the fps I posted, I dying to hear some sort of feedback about it.

RavenOfCode

09-20-2014 10:22 AM

Thanks and Done

Thanks for the info, and the fps, better than mine... at least for camera movement, its a bit glitchy but mostly smooth... :)

RavenOfCode

09-20-2014 10:23 AM

Zombie or Human?

Just wondering are you planning on it being a zombie game or human/alien game? Ill post mine in a bit, its fighting humans :) First try at this... normally i do zombies as they are easy...