Jump to content

RPT spams


Proximus

Recommended Posts

Ok, now i see. Thanks!

You still spawn the GuerillaCacheBox but with loose goldbars inside right?

 

Is it possible to just spawn the briefcase with xxoz inside?

 

 

If not, do you know the item name of the smallest lootbox that can be used to spawn in events?

The GuerillaCacheBox is pretty large and easy to spot, want to make it a bit harder with a smaller box.

Link to comment
Share on other sites

Use the following for random briefcases between 10oz and 100oz, I'm pretty sure the GuerillaCacheBox is the smallest :unsure: it's not that big although there might be smaller, use the editor and spawn some in, get the classname and change it.

_loot_box = "GuerillaCacheBox";
_loot_lists = [
[
[],
["ItemBriefcase10oz"]
],
[
[],
["ItemBriefcase20oz"]
],
[
[],
["ItemBriefcase30oz"]
],
[
[],
["ItemBriefcase40oz"]
],
[
[],
["ItemBriefcase50oz"]
],
[
[],
["ItemBriefcase60oz"]
],
[
[],
["ItemBriefcase70oz"]
],
[
[],
["ItemBriefcase80oz"]
],
[
[],
["ItemBriefcase90oz"]
],
[
[],
["ItemBriefcase100oz"]
]
];
_loot = _loot_lists call BIS_fnc_selectRandom;
Link to comment
Share on other sites

I tried it also this way, but when the event starts, players get an error about CfgWeapons.

When i check the RPT it shows me that the itembriefcase does not exist in the CfgWeapons.

 

Tried a few different setups in the _loot_lists (including the one you posted):

_loot_lists = [
[
["ItemBriefcase100oz"],
["ItemBriefcase90oz"],
["ItemBriefcase80oz"],
["ItemBriefcase70oz"],
["ItemBriefcase60oz"],
["ItemBriefcase50oz"],
["ItemBriefcase40oz"],
["ItemBriefcase30oz"],
["ItemBriefcase20oz"],
["ItemBriefcase10oz"],
["ItemBriefcase30oz"],
["ItemBriefcase20oz"]
]
];
_loot_lists = [
[
["ItemBriefcase100oz"]
],
[
["ItemBriefcase90oz"]
],
[
["ItemBriefcase80oz"]
],
[
["ItemBriefcase70oz"]
],
[
["ItemBriefcase60oz"]
],
[
["ItemBriefcase50oz"]
],
[
["ItemBriefcase40oz"]
],
[
["ItemBriefcase30oz"]
],
[
["ItemBriefcase20oz"]
],
[
["ItemBriefcase10oz"]
],
[
["ItemBriefcase30oz"]
],
[
["ItemBriefcase20oz"]
]
];
Link to comment
Share on other sites

Adjusted the Treasure.sqf to your loot list and editted my init like so to test it:
EpochEvents = [["any","any","any","any",30,"treasure"],
  ["any","any","any","any",0,"treasure"],
  ["any","any","any","any",10,"treasure"],
  ["any","any","any","any",15,"treasure"],
  ["any","any","any","any",40,"treasure"],
  ["any","any","any","any",55,"treasure"]

Event did not seem to spawn, no errors in the RPT's

 

Only when a DZMS mision started, i got the bin\config.bin/CfgWeapons error:

String STR_TGW_VIL_AK74_GP25 not found
Warning Message: No entry 'bin\config.bin/CfgWeapons.'.
Warning Message: No entry '.scope'.
Warning Message: '/' is not a value
Warning Message: Error: creating weapon  with scope=private
Warning Message: No entry '.displayName'.
Warning Message: '/' is not a value
Warning Message: No entry '.nameSound'.
Warning Message: '/' is not a value
Warning Message: No entry '.type'.
Warning Message: '/' is not a value
Warning Message: No entry '.picture'.
Warning Message: '/' is not a value
Warning Message: No entry '.Library'.
Warning Message: No entry '.libTextDesc'.
Warning Message: '/' is not a value
Warning Message: No entry '.model'.
Warning Message: '/' is not a value
Warning Message: No entry '.simulation'.
Warning Message: '/' is not a value
Warning Message: No entry '.fireLightDuration'.
Warning Message: '/' is not a value
Warning Message: No entry '.fireLightIntensity'.
Warning Message: '/' is not a value
Warning Message: No entry '.weaponLockDelay'.
Warning Message: '/' is not a value
Warning Message: No entry '.weaponLockSystem'.
Warning Message: '/' is not a value
Warning Message: No entry '.cmImmunity'.
Warning Message: '/' is not a value
Warning Message: No entry '.lockingTargetSound'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.lockedTargetSound'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.muzzles'.
Warning Message: Size: '/' not an array

Think that has something to do with the weapon?

 

The Spam in the RPT is no more by the way!

Link to comment
Share on other sites

Try Treasure :) it's case sensitive and you have treasure

Also your code is missing the closing brackets, try using the following :

EpochEvents = [
["any","any","any","any",30,"Treasure"],
["any","any","any","any",0,"Treasure"],
["any","any","any","any",10,"Treasure"],
["any","any","any","any",15,"Treasure"],
["any","any","any","any",40,"Treasure"],
["any","any","any","any",55,"Treasure"]
];
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...