G General

Clover - Combat system (add me)

Clover - Combat system (add me)
Details
Features
Contents
Reviews

♥ Intro ♥

**This item is still in early release, so please report any bugs so they can be fixed.

The Clover combat system is a simple, low script usage combat system that allows you to use weapons and items without over complicating a sim. Compatible devices are loaded into your HUD toolbar, where you can easily click to draw, or store the item. Includes toggle options for linden damage, clover damage, safe-zones, weapon settings, and a quick action bar. This system is made for developers, as the API can be purchased separately, and allow you to create weapons that work with this system. Simply pop-in the API script, and copy functions from the demo script to do damage, healing, or relieve commands from the HUD to your weapon.

Features:
- Simple, easy to use combat system, with minimal HUD design.
- Use the system with other combat meters, and easily add clover damage, and HUD access to your weapons (API).
- Enable, or disable incoming and outgoing linden damage, or clover damage.
- Simple setup safe-zones, where you can not give or receive damage.
- Option hot bar on the HUD where you can send custom commands from the HUD to your weapon.
- Universal Maximum HP is set to 100
- Custom re-spawn points via clover combat re-spawner. This system will Either re-spawn the user to a point set on the sim, or freeze them for one minute.
- Auto healing. Restores 1 point every 3 seconds.

♥ How to use ♥

•System Rules:

- When toggling LD(linden damage), or CD(clover damage), You will NOT be able to give, or receive damage (with the exception of receiving linden damage, as we dont make the rules for that) to promote fairness.
- You are automatically in an unsafe zone, unless standing in a safe zone prim. If you do not want damage, toggle the LD, or CD options.
- If you die, you will be teleported to the nearest re-spawn point on the sim, if not, you will freeze for 60 seconds. (CD).
- You can only have 5 devices on your tool-bar at a time.
- You can only draw one weapon at a time. The HUD MUST be worn to do damage to a player, or its not very fair.
- EACH weapon developer will write their scripts differently, but it can still be used with the HUD. For weapon issues, please contact the weapon developer.

•Using the HUD and system:

- Attach your Clover combat HUD. Accept permissions if it asks. If you are having issues, click on the HUD again to get it to ask for permissions.
- Attach a device (weapon, or any other product using CD).
- To draw the weapon, simply click on it in your tool-bar. To store the weapon, click on that icon again.
- Some weapons will have settings defined by the developer. You can easily access this by clicking on the settings button (gear icon). Some weapons will not use this feature, so do not be alarmed if nothing comes up.
- TO enable/disable damage, click on the LD, or CD icon on your HUD to toggle.
- The shield will tell you if you are in a safe-zone.
- Once a weapon is drawn, it might have options. They will appear on your options bar, and you can click on them to activate them.

•API usage:

* This system will not script weapons for you. It is made for scriptwriters who want to add damage and clover HUD usage to their systems.
*ONCE the API script has been initialized,
- The API set includes a weapon API script, object API script, A API activating HUD, and a starter demo script.
- Attach your HUD, and place your API script in your weapon, or object. There are notes inside of the DEMO script for your reference as well. There are a few pre-written functions in the script which I would NOT change.
- If your item is a weapon, You will want to use the initialize function, so it can be used in the HUD. If not, you can simply just do damage or healing from the object. The Initialization is only done ONCE per weapon API script reset. Place this somewhere in the script where it will only be used once ever. Please rez the item before initialization.
- Inside of the script, you will define the initialize data in the top section. This will include: The UUID of the weapon ICON, the weapon keyWord (PLEASE MAKE THIS UNIQUE), The Option title (The title of the option section on the HUD), and options on the HUD. Please peep the script comments for more details.
- Use the pre-written damage function to heal or do damage (comments in the script).
- Use the link_message event to read messaged from the HUD, on num 12. (example in script). This will receive options, and setting clicks from the HUD.
- The Object API can ONLY do damage, or heal. Simply use the damage function for this API.

** ALWAYS change permissions on the scripts, and object before distributing.