Addons & Mods Depot > OFP - Addons & Mods General

Function pack

<< < (2/3) > >>

SoldierEPilot:
 
If someone wants to propose any function ideas 4 the next version of library -
now is the time.

And if you found some bugs/veird things in the version 1.3 - tell me I'll  kill 'em :dry:

SoldierEPilot:
DASH_library 2.0 is ready!

New features:
"THEY’RE HERE. MANY OF THEM... CHRIST... I’M GETTING OUT OF HERE. OUT." - Jeronimo, "Resistance"
 
* No gameLogics, 98% of functions were moved to stringtable.csv, so:
   ++ minimal name conflict probability - only 3 global functions and 3 global vars;
   ++ no "load 3 modules to use 2 functions" - csv functions can be loaded with "loadFns"
      and "alias" utilities, you will get only what you need;
   ++ slightly faster code execution for 6 of 6 tested fns (+5...+10%);
   
* Removed ~20 fns, reworked ~20, added ~90;

* Presence check for 20 mods and 210 addons ("isAddonLoaded" extended);

* SQL-like queries to databases ("sqlSelect", "sqlDelete");

* Finding name and position of the nearest village on 25 islands ("nearestVillage");

* Unit movements replacing ("overrideMoves");

* Fwatch 1.13 integration. The library itself is independent from Fwatch, but:
   ++ a few good functions can't work WITHOUT it;
   ++ several functions works even better WITH it;
   
* More handy test missions;

From now on 280 functions are on your fingertips, ready to be implemented in
the coolest CWA missions and addons ever. May be you'll find something useful for your
unfinished projects...

EDIT: attachment removed - see latest release

SoldierEPilot:
I am working on big and fast stringtable-based weapon database
to allow  get weapon scope, check if weapon is silenced or not,
get available magazines and grenades and so on.
Here is weapon packs and mods list from my HDD:

weapon packs - already in database
===================================
JAM3 (JAM_Magazines.pbo)
ORCS team east weapon pack (ICP_rfwp.pbo)
ORCS team east rocket launchers (ICP_rpg7.pbo)
Laser's west weapon pack  (LSR_uswp.pbo)
Laser's east weapon pack (LSR_rfwp.pbo)
INQUISITOR's weapon pack (INQ_WeaponPack.pbo)
United Kingdom army weapons (ukf_ukweps.pbo)
Code Blue weapons (CB_WEAP.pbo)
Norwegian army weapons (NOM_Weap.pbo)
SJB west weapons (SJB_TOSM4_cpp.pbo)
Red Hammer Studios weapon pack
marine assault pack (C8X_russ.pbo, C8X_usmc.pbo, C8Xmag.pbo)
Diemaco weapon pack (kmmdiemaco.pbo)
Mailman's (Red Force team) east weapon pack
Hoyt's east weapon pack
The HK & German Special Forces Addon (TheHKPack.pbo)
French weapon pack (OFrP_Armes.pbo)
Turkish Union weapons (TU_Weapons.pbo)
WW3_Weapon.pbo
some Taiwan Workshop mod stuff
weapons from FFUR+SLX mod  (@ffsx85)
DDAM mod
Crime City weapon pack (CC_WP.pbo)
BD_GrenadePack.pbo
HINaddons.pbo

===================packs to add
KEG weapons
danGuer.pbo
wse_west.pbo
jamdiemaco.pbo

mods already added
==================================
@WWII mod
@WGL5 mod
Liberation 1941-1945 mod
Battle Over Hokkido mod
@WW1 mod
PACIFIC WAR mod - mainly Up_ww2.pbo
Conflicto de Malvinas mod
@VTE mod
@WW4 mod v.2.5
China army weapons (@VME_PLA\addons\VME_PLA_ADDONS.pbo)
BAS Tonal (TonalRedux\Addons\BAS_OPCPP.pbo), BAS_TSF, BAS_Weap
Silent War mod (swmod\addons\SWWeaps.pbo + pkm.pbo)
Bundeswehr mod
Colonial Wars Mod
===============================mods to add
@RCWC
@SH3
Half-life 2 addon pack
@I44mod
@SEB2
@CSLAII
swissmod
@SFP
@huntmod
LostBrothers mod
FDF
==============================

The question: what popular or just good-looking
weapon packs / mods would you recommend to add?
Links will be very handy.

And another question not to create separate topic:
how to contact with @WW4 team?

SoldierEPilot:
Version 2.1 release:

* Purpose: to extend possibilities of (still working) scripters and mission makers,
save their time during difficult scripts development and to support
my other OFP projects with needed code. Exactly in that order;

* All but 1 function works in OFP-R 1.96
("overrideMoves" requires "animChanged" EH from CWA).
Some CWA commands  had been duplicated with functions
("mapName" instead of "getWorld", "find2" instead of "find");

* Start options in DASH_Library_Settings.pbo;

* Powerful stringtable-based technology of data storage.
Fast responce, scalability, relative edit simplicity.
"Class inheritance" provided to store config info ("csvQuery").

Several thousands of infantry weapons, magazines
and projectiles in the database of this format
("cfgWeapon" returns 9 properties, "cfgAmmo" and "cfgMag" returns 6 props each).

New inventory functions uses this DB, for example "weaponMags":
returns all magazines used with given infantry weapon;


* Another stringtable-based approach 4 fast global arrays
creation, updating, demonstration and access using point-separated
keys of string type (like "dash.wind.direction")-->
more clear usage of array elements, list of array content no more needed.

All indexes of stored stuff are located in one place now -->
more easy to edit structure of resource arrays
(7 "db*" functions from dbAdd to dbSet);

* 350 functions (not including sub-routines) total     

https://yadi.sk/d/UBXy4XjNinRQW

-Sapper-:
Please also update the thread on flashpoint-ru

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version