Box System
Its advanced box editor with friendly API. It create invisible entity with size and position defined by admin which can affect with players and other entities.
API contains 5 events (Box forwards):
on enter
on leave
on touch - every frame
on created
on deleted
Plugin manage adding, editing, removing and storage of boxes. Your plugins manage what is effect of contact any entity with.
See in action:
http://www.youtube.com/watch?v=9vv0K8bU3YU
Its is not scripting area, so i only include really simple examples of addons.
For customize your type of box you need separate plugin which use Box forwards. List of available types is build from files in configs/Box/types/ directory.
Usage:
command "box" to open menu and then
- left mouse click - catch corner
- mouse & keyboard - move corner
- Ctrl-Z - undo last change (duck and radio1
)
Requirements:- VDF Module
- savable configs/Box/ folder (chmod 777)
Usage:
SVN:
http://amxx.pl/svn/box/listing.php?r...2F&language=en
Attached .sma won`t compile via Web Compiler, please do it yourself on local machine.
Thanks Astro for research & ideas!
Changes:
v1.0.2
+ box id
+ .inc file
* Astro's bug: empty class name cause freeze
- mark working box with implode
* copy working box type to menu