-
-
Notifications
You must be signed in to change notification settings - Fork 120
Custom Weapons
cxong edited this page Sep 16, 2014
·
12 revisions
C-Dogs SDL lets you create custom weapons for campaigns and dogfights. You can do this by defining your own guns and bullets, and optionally providing your own graphics and sounds. All the weapons in C-Dogs are implemented using the same system!
There are two key concepts: guns fire bullets, and bullets travel and hit things. But did you know that bullets can also fire guns? This is how grenades work: when the grenade "bullets" reach the end of their range, they "fire" an "explosion gun", which in turn fires "explosion fireballs". Of course it doesn't have to end there...