Jump to content

Recommended Posts

drop-loot-gf-script-version-10-1_4.png

drop-loot-gf-script-version-10-2_4.pngdrop-loot-gf-script-version-10-3_4.pngdrop-loot-gf-script-version-10-4_4.png

GF Drop Loot Script  

 

by

 

GEORGE FLOROS [GR]

 

 

Description:

GF Drop Loot Script , Enemies , will drop items or add to their inventory , when killed , configurable .
You are free to do anything but i would like to give me Credits for this!
Simple and easy to use and adapt .
Have Fun !

 


Installation / Usage:

For usage instructions and information of how to use the GF Drop Loot Script please refer to the included documentation and/or example mission.

Place in your mission the files . There is everything included
in the description.ext and initPlayerLocal.sqf , to copy paste in your mission .

https://community.bistudio.com/wiki/SQF_syntax
Don't try to open this with the simple notepad.
For everything that is with comment // in front or between /*
means that it is disabled , so there is no need to delete the extra lines.

You can open this ex:
with notepad++
https://notepad-plus-plus.org/

and also use the extra pluggins
(this way will be better , it will give also some certain colours to be able to detect ex. problems )
http://www.armaholic.com/page.php?id=8680

or use any other program for editing .

For the Compilation List of my GF Scripts , you can search in:
https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/

 

 

Notes:

The Loot is configurable

 

 

Credits & Thanks:

Thanks to All script contributors
Thanks to everyone who tries to do the best for this game!
Thanks to BIS for such a great platform .
Thanks to BIS Community and BIS Community Forums .
Thanks to Armaholic Community and Forums .

 

 

Changelog:

v2.0
Code optimization,
added configurable items inside uniforms,
added setting options and small additions inside the script,
changed the name of all the scripts , starting now with GF .

Version 1.0
- first release

 

 

Forum topic:
- Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39889

 


 

Armaholic

download

GF Drop Loot script

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites
20 minutes ago, zagor64bz said:

Do you even sleep brotha?

:f:

 

Hello there zagor64bz!

 

I am pretty new and enthusiast scripter!

  • Like 3
  • Haha 1

Share this post


Link to post
Share on other sites
3 hours ago, GEORGE FLOROS GR said:

 

Hello there zagor64bz!

 

I am pretty new and enthusiast scripter!

its crazy how quickly its 6am in the morning when digging into a script project?

  • Like 1
  • Haha 2

Share this post


Link to post
Share on other sites
3 hours ago, Vandeanson said:

its crazy how quickly its 6am in the morning when digging into a script project?

 

For sure!

 

It's a real puzzle !  But the joy of creation , every time ,  is worth it!

Share this post


Link to post
Share on other sites

@GEORGE FLOROS GR

 

On your Ravage Status Bar you have the TIME and GRID how did you get this, is it possible to change the kill score from MP to SP in the script and would it work as i only play SP

  • Thanks 1

Share this post


Link to post
Share on other sites

Hello there piptpipt !

 

6 hours ago, piptpipt said:

On your Ravage Status Bar you have the TIME and GRID how did you get this, is it possible to change the kill score from MP to SP in the script and would it work as i only play SP

 

I am about ,

to release a vanilla version of the  Ravage Status Bar GF Script  so this is a spoiler actually!

 

So for   SP Score  in your script you have to edit this in your script:

//________________ IMPORTANT ! edit your selection for MP or SP score ________________
_Kills = score player; //Returns the person's score in MP. 
_count_dead = format ["%1 ",count allDeadMen];//Returns the person's score in SP. 

and put your selection below in the parseText format also :

_Kills  for  MP Score  or  _count_dead  for  SP Score

 

For the other stuff , like : TIME and GRID etc , you can wait for the Vanilla Status Bar version!

 

Thanks!

Share this post


Link to post
Share on other sites

@GEORGE FLOROS GR

 

Ok I can see where this part needs to go

 

//________________ IMPORTANT ! edit your selection for MP or SP score ________________

_Kills = score player; //Returns the person's score in MP.

_count_dead = format ["%1 ",count allDeadMen];//Returns the person's score in SP.

 

But unsure where this part needs to go.

 

and put your selection below in the parseText format also :

_Kills  for  MP Score  or  _count_dead  for  SP Score

  • Like 1

Share this post


Link to post
Share on other sites

Updating the script :

Changelog:

v2.0
Code optimization,
added configurable items inside uniforms,
added setting options and small additions inside the script,
changed the name of all the scripts , starting now with GF .

 

 

available Soon in Armaholic !

Share this post


Link to post
Share on other sites
On 25/9/2018 at 7:59 PM, BattleChief said:

if I am on the right path

 

Hello there BattleChief !

 

I'm moving the reply from Ravage here.

 

If you want to add ACE mod items , you can include them in an array , or write your  own array like :

 

_ACE_mod_items = selectRandom [
            "ACE_fieldDressing",
            "ACE_elasticBandage",
            "ACE_quikclot",
            "ACE_morphine",
            "ACE_packingBandage",
            "ACE_salineIV_500",
            "ACE_salineIV_250",
            "ACE_personalAidKit",
            "ACE_tourniquet"
            ];

 

then change or add:

 

line: 1178

_Drop_Items addItemCargoGlobal [_ACE_mod_items, _Drop_Items_Amount];

 

Share this post


Link to post
Share on other sites
4 hours ago, GEORGE FLOROS GR said:

 

Hello there BattleChief !

 

I'm moving the reply from Ravage here.

 

If you want to add ACE mod items , you can include them in an array , or write your  own array like :

 

_ACE_mod_items = selectRandom [
            "ACE_fieldDressing",
            "ACE_elasticBandage",
            "ACE_quikclot",
            "ACE_morphine",
            "ACE_packingBandage",
            "ACE_salineIV_500",
            "ACE_salineIV_250",
            "ACE_personalAidKit",
            "ACE_tourniquet"
            ];

 

then change or add:

 

line: 1178

_Drop_Items addItemCargoGlobal [_ACE_mod_items, _Drop_Items_Amount];

Thanks, I am gonna try to get this to work, and hopefully this will make a wonderful scenario

  • Thanks 1

Share this post


Link to post
Share on other sites
7 minutes ago, BattleChief said:

hopefully this will make a wonderful scenario

 

Thank you very much BattleChief and i will be waiting for your release !

Share this post


Link to post
Share on other sites
2 hours ago, GEORGE FLOROS GR said:

 

Thank you very much BattleChief and i will be waiting for your release !

And I will let you know as soon as its done, just be sure to look at the map closely, I tend to make an honorable mentions area in my missions.

  • Thanks 1

Share this post


Link to post
Share on other sites

@GEORGE FLOROS GR

 

Testing the initial version now, this one is without the script, and is strictly just Ravage and its supported mods

 

*EDIT*: I seem to be having issues even without the script..this is gonna take a little while longer...

  • Like 1

Share this post


Link to post
Share on other sites

Hi I have no idea how to use this.

 

I want enemies in Ravage to be

 

Opfor: Dressed in Stalker gear, carrying shotguns and sub machine guns.

 

Indep: Russian type guerilla with AKs and Handguns

 

Blufor: Ravaged survivors with frith's ruin gear and various weapons.

 

 

So I get the gear list for each. and the weapons and it randomises them>?

  • Like 1

Share this post


Link to post
Share on other sites
56 minutes ago, CHICKENLICKEN said:

I want enemies in Ravage to be

 

Then you should check for the GF Set loadout script !

 

 

It is possible with this to sort the loadouts , depended on sides.

 

The GF Drop loot script is for adding loot in the victim's gear or the loot to be dropped when killed.

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, GEORGE FLOROS GR said:

 

Then you should check for the GF Set loadout script !

 

 

It is possible with this to sort the loadouts , depended on sides.

 

The GF Drop loot script is for adding loot in the victim's gear or the loot to be dropped when killed.

 Thanks 

 

but I still have no clue what to edit there . 

How do I identify each side ?

i assume I just get the clasnames  from in the game. 

 

But it not sure how to get the ravage to spawn with the correct gear.

  • Like 1

Share this post


Link to post
Share on other sites

Hey George,  is this fully working in MP , if I'm to deploy it on server with Ravage Mod zombies ? 

Does anyone tested this script with Exilemod loot spawning , does it work independently? I was trying to implement it on Exilemod+Ravage server,  it seems Ravage zombies don't drop any loot...
Also , was wondering , how is the dropped items cleaning works? Is it built in? Or it requires ravage's cleanup module to be on or any other scripts that do the job?

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×