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.
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];
Credits & thanks:
SzwedzikPL, Aldurlic - Some part of code
Astus, Chrno, Uli, Maties Seyren - Testers and help with trailers
- BI forums
Tags: No tags