Author: Obin
Author Website:

Requirements: No addons required

Version: 1.0

Short description: Loli Defense allows you to build fortifications and base by using building materials.

Date: 2014-01-07 08:07


Comments: (4)
Rating:



 







Loli Defense

by
Obin


Description:
Loli Defense allows you to build fortifications and base by using building materials. With the upgrade of the base to higher lvl, you can build more and better improvements around the base, and buy better items (eg vehicles, vests, helmets, weapons). Money can be earned by killing enemies if they have money (AI/Players).


Cost of upgrading base:
- Upgrade to 2 lvl - 300$
- Upgrade to 3 lvl - 600$
- Upgrade to 4 lvl - 1200$
- Upgrade to 5 lvl - 2400$


Implementation Loli Defense to mission:
Copy "Loli_Defense" folder into folder with your mission.
Add to init.sqf:
null = [] execVM "Loli_Defense\LD_Init.sqf";
Add to description.ext:
#include "Loli_Defense\LD_GUI_Defines.hpp" 
#include "Loli_Defense\LD_GUI_Dialogs.hpp"

IT comes with a mission as demo as well.


Usage:
If you want add materials (Object (Constructions) > Stack of Bricks), put in init of object:
this setVariable ["materials", amount_of_material, true];
The amount of materials on the pallet should not be greater than 100! (balance)

To set the money to unit, add to init in unit:
this setVariable ["cash", amount_of_cash, true];


Media:


Credits & thanks:
SzwedzikPL, Aldurlic - Some part of code
Astus, Chrno, Uli, Maties Seyren - Testers and help with trailers


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags