Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Fast "indexOf-free" skill system  (Read 3375 times)

0 Members and 1 Guest are viewing this topic.

Offline SoldierEPilot

  • Members
  • *
Fast "indexOf-free" skill system
« on: 26 Apr 2015, 22:55:12 »
I'm glad to introduce a set of sqf scripts to realize RPG-style skills in OFP.

The system uses property names defined in stringtable.csv and
fractional part of unit ratings as a keys for skill names and units.

2 demo missions requires DASH_library 2.0 (for syntax demonstration only).
The last one, "skill system in action.Intro",  needs no addons at all.

The system itself is independent and consists of 1 function module "skillSystem.sqf",
all properties must be defined in stringtable.