Raised This Month: $ Target: $400
 0% 

Box System


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Technical/Development       
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 01-21-2012 , 06:56   Box System
Reply With Quote #1

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
Attached Files
File Type: gz Box System-dodatki.r7.tar.gz (13.0 KB, 1291 views)
File Type: sma Get Plugin or Get Source (Box.sma - 2298 views - 20.3 KB)
File Type: gz Box System.tar.gz (7.1 KB, 1255 views)

Last edited by Scherzo; 07-26-2012 at 15:30.
Scherzo is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode