|SEwd.j2l||Weapon Demonstration||11.37 kB||01 Jul 2017|
|xlmdamn8.j2t||Damn + Forest||225.33 kB||09 Apr 2012|
|SEenergyblast.j2a||169.04 kB||30 Jun 2017|
|SEfirework.j2a||5.19 kB||01 Jul 2017|
|SEroller.j2a||7.81 kB||30 Jun 2017|
|contrast.xm||Contrast||1427.83 kB||02 Oct 2003|
|SEwd.j2as||1.16 kB||01 Jul 2017|
|SEenergyblast.asc||12.62 kB||01 Jul 2017|
|SEfirework.asc||8.25 kB||01 Jul 2017|
|SEroller.asc||9.71 kB||24 Jun 2017|
|SEweapon.asc||14.07 kB||03 Sep 2017|
|SEweapon.html||Standard Weapon Interface API||41.90 kB||19 Nov 2017|
|SEenergyblast.wav||1726.55 kB||01 Jul 2017|
|SEfirework1.wav||175.22 kB||29 Apr 2017|
|SEfirework2.wav||140.57 kB||29 Apr 2017|
|SEroller.wav||98.96 kB||16 Jan 2017|
This download contains a small script library that provides a standard interface for custom weapons and simplifies some aspects of creating a new custom weapon while also making them easier to use by an end user. Provided are three example weapons, two of which are entries to the Top Gun Contest (roller is not eligible as an entry because it was created before the start of the contest). Additionally a scripted level is provided to demonstrate how to use the weapons in a script.The primary goal of the library is to standardize custom weapon implementations. Rationale:
This library contains mechanisms specifically designed to avoid conflicts between weapons (where reasonably possible). Weapons that implement the standard interface do not need to register their own hooks such as onPlayer or onReceive, meaning that the script writer may easily use them for their own purposes. Such weapons may also be assigned by a script to any weapon slot, removing further conflicts. Mutators that enable a specific weapon with a specific weapon slot are thus still trivial to write, but with this library it is equally trivial to write a single player level script that does the same.
Edit: now with documentation.
This is an invaluable library for scripters and the demo weapons are well-made too; they are easy and fun to play with, and now also easy to add to your own levels.
Eat your lima beans, Johnny.