x


Multiple Weapon System Implementation.

So I just finished the 3D Buzz space shooter series, and I am just getting into Unity, though I have a basic programming experience.

I thought I'd try and learn some more by trying to do ship that could use multiple weapon types combined with multiple ammo types.

I've already spent some time working on this, but I am not sure I am going in the right direction. Somehow I've ended up using a base abstract WeaponBase class inheriting from ScriptableObject which I'm not sure is the right way to go. This weapon base is then inherited by at the moment two weapon types.

The source code is available at https://github.com/emir-/Unity3D-Space-Weapon-System.git

I was hoping that you guys could help me steer this simple prototype in the right way. What would be the simplest way to implement switchable weapons/weapon scripts that then calculate the way the projectiles are fired from the ship for example?

P.S. I hope this kind of question belongs here...

more ▼

asked Aug 04 '12 at 12:05 AM

kami71 gravatar image

kami71
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Hi There!

I Have found a good long in depth tutorial on how to Switch Guns :D It will teach you how to switch player guns.

Click Here!

Hope this helps =D

more ▼

answered Aug 04 '12 at 12:21 AM

UnrealIzzy gravatar image

UnrealIzzy
64 6 8 13

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x4179
x222
x205
x181
x130

asked: Aug 04 '12 at 12:05 AM

Seen: 669 times

Last Updated: Aug 04 '12 at 12:21 AM