- Title: TDS Weapon Example
- Description: A very basic way to create weapons in a TDS, heavily commented.
- GM Version: 8.1
- Registered: No
- File Type: .gm81
- File Size: 0.06 mb
- File Link: Here
This tutorial teaches how to create a weapon system using arrays. It is lite compatible, heavily commented, and easy to expand upon. Features include:
Lite Compatible!
Every unique line of code commented!
6 Guns: Pistol, Rifle, Shotgun, Sniper Rifle, Rocket Launcher, and Flame Thrower
Different sprites depending on gun
Fast-fire or not
Reload Time
Spray
Recoil
Multiple Bullets per shot
Different bullets depending on gun
Very easy to add new guns and properties
UPDATE 5 July, code cleaned up significantly, add flame thrower
UPDATE 7 July, added basic enemies/dummies. No AI, but you can experiment with your weapons on them, they can be shot, blown up (no explosions) or set on fire. Rockets now go to enemies.
DLs before host change: 1926
Edited by CaptainLepidus, 11 February 2013 - 04:11 AM.











