- Home /
Ammo
When it was necessary to start worrying about ammo in my last game I noticed that there weren't really any starting points for what to do and how to do it.
It's pretty important for any shooter and kind of a tricky topic to figure out by yourself so I figured I'd make one here.
So please post any and all information you may have on the topic.
Ex.
Where to Start?
Tutorials?
Methods?
Display Ammo Left?
Reload?
Example Scripts?
Anything that relates.
And thanks for your contribution.
Answer by FTheCloud · Aug 31, 2011 at 11:50 PM
Here are some things that helped me:
Tutorials :
http://unity3d.com/support/resources/tutorials/fpstutorial.html
Unity Answers :
http://answers.unity3d.com/questions/60383/what-does-the-ammo-count-script-mean-.html
Forum Topics:
http://forum.unity3d.com/threads/88926-Trying-to-make-a-shothun-pick-up-and-use-ammo-clips
http://forum.unity3d.com/threads/58605-Limited-Ammo-Script
http://forum.unity3d.com/threads/40589-Bullet-ammunition
http://forum.unity3d.com/threads/23981-How-to-script-ammo-for-weapons
Answer by Illogical-Ironic · Aug 31, 2011 at 09:38 PM
This looks more like a forum topic, but...
You should start writing down details like:
- What type of ammunition is being used?
- What kind of weapon is being used?
- Can the weapon reload, or it generates it's own ammo (like an energy weapon)?
- If it can, how fast can it reload?
- Maximum ammunition?
- Can the weapon execute an alternate fire (think of it like some kind of charge shot)?
Unity answers is more of a database for anyone with similar problems
Your answer
Follow this Question
Related Questions
About tutorial or examples 2 Answers
tutorials 1 Answer
Simple question about 'this' keyword 2 Answers