Jump to content

Recommended Posts

1 hour ago, Jezuro said:

Not possible without some scripting currently.

 

Not even when using a different faction in the mission setup in 3Den Editor?

Share this post


Link to post
Share on other sites

@Jezuro some errors on my .rpt

Spoiler

 0:54:41 Error in expression <name player]};
if (_ret) then {
switch (_class) do {
case "FTSeized": {
if (vehi>
 0:54:41   Error position: <_class) do {
case "FTSeized": {
if (vehi>
 0:54:41   Error Undefined variable in expression: _class
 0:54:41 File A3\Functions_F_Warlords\Warlords\fn_WLSubroutine_purchaseMenuAssetAvailability.sqf [BIS_fnc_WLSubroutine_purchaseMenuAssetAvailability], line 11
 0:54:41 Error in expression <uirements = call compile (_assetDetails # 1);
_category = _assetDetails # 5;
_co>
 0:54:41   Error position: <# 1);
_category = _assetDetails # 5;
_co>
 0:54:41   Error Zero divisor
 0:54:41 File A3\Functions_F_Warlords\Warlords\fn_WLSubroutine_purchaseMenuRefresh.sqf [BIS_fnc_WLSubroutine_purchaseMenuRefresh], line 38 

1:14:52 Wrong text element 'null'
 1:14:52 Error in expression <%2'>%1</t>", BIS_WL_seizingBar_progress # 4, (1 call BIS_fnc_WLSubroutine_purcha>
 1:14:52   Error position: <# 4, (1 call BIS_fnc_WLSubroutine_purcha>
 1:14:52   Error Zero divisor
 1:14:52 File A3\Functions_F_Warlords\Warlords\fn_WLFundsInfo.sqf [BIS_fnc_WLFundsInfo], line 142

1:18:19 Error in expression <} do {
_progressCur = linearConversion [_progressStartTime,_progressEndTime,serv>
 1:18:19   Error position: <_progressStartTime,_progressEndTime,serv>
 1:18:19   Error Undefined variable in expression: _progressstarttime
 1:18:19 File A3\Functions_F_Warlords\Warlords\fn_WLFundsInfo.sqf [BIS_fnc_WLFundsInfo], line 133
 1:18:19 Error in expression <;
_timeout = BIS_WL_seizingBar_progress # 1;
_progressStartTime = serverTime - _>
 1:18:19   Error position: <# 1;
_progressStartTime = serverTime - _>
 1:18:19   Error Zero divisor
 1:18:19 File A3\Functions_F_Warlords\Warlords\fn_WLFundsInfo.sqf [BIS_fnc_WLFundsInfo], line 128

 

 

Please update mission before christmas holidays

Share this post


Link to post
Share on other sites
18 hours ago, hairway2steven said:

 

I guess he's having the same problem as me. Pasting a custom asset list into description.ext, putting that in the mission folder, and then linking it in the Warlords Init module just gets me an error when the round starts. The custom asset list is either the one you posted in this thread, or a very simple test one, neither works for me.

 

I gave up and downloaded a mod from the workshop that lets me use asset list 'RHS' and that works great and I can play my custom warlords maps with RHS assets.

Here an exemple with CFP and CUP unit on Zargabad, British army vs Syrian Army.

Everything work, be sure to change the line in the warlord init module in editor, asset list box by default is ['A3DefaultAll'] it must be changed by the entry line 3 (class MyWLAssetList) so the the asset list box must  be like this in that exemple ['MyWLAssetList'].

You must also put the right faction class name in each box in my exemple :

Blufor Faction Config : CUP_B_GB

Opfor Faction Config : CFP_O_SYARMY

Independent Faction Config : CFP_I_ALNUSRA

 

Spoiler

description.ext

///////////////////////////////////////////////////////////////////////////////////////////////////////////

class CfgWLRequisitionPresets
{
    class MyWLAssetList
    {
        class WEST
        {
            class Infantry
            {
                class CUP_B_BAF_Soldier_DDPM
                {
                    cost = 100;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_GL_DDPM
                {
                    cost = 150;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_AR_DDPM
                {
                    cost = 200;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_Marksman_DDPM
                {
                    cost = 200;
                    requirements[]={};
                };
                class CUP_B_BAF_Medic_DDPM
                {
                    cost = 225;
                    requirements[]={};
                };
                class CUP_B_BAF_Engineer_DDPM
                {
                    cost = 225;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_MG_DDPM
                {
                    cost = 250;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_scout_DDPM
                {
                    cost = 250;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_AT_DDPM
                {
                    cost = 300;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_AA_DDPM
                {
                    cost = 350;
                    requirements[]={};
                };
                class CUP_B_BAF_Soldier_HAT_DDPM
                {
                    cost = 400;
                    requirements[]={};
                };
            };
            class Vehicles
            {
                class CUP_B_LR_Transport_GB_D
                {
                    cost = 50;
                    requirements[]={};
                };
                class CUP_B_LR_MG_GB_D
                {
                    cost = 150;
                    requirements[]={};
                };
                class CUP_B_LR_Special_M2_GB_D
                {
                    cost = 250;
                    requirements[]={};
                };
                class CUP_B_LR_Special_GMG_GB_D
                {
                    cost = 350;
                    requirements[]={};
                };
                class CUP_B_Jackal2_L2A1_GB_D
                {
                    cost = 350;
                    requirements[]={};
                };
                class CUP_B_BAF_Coyote_L2A1_D
                {
                    cost = 400;
                    requirements[]={};
                };
                class CUP_B_Jackal2_GMG_GB_D
                {
                    cost = 500;
                    requirements[]={};
                };
                class CUP_B_BAF_Coyote_GMG_D
                {
                    cost = 550;
                    requirements[]={};
                };
                class CUP_B_Ridgback_LMG_GB_D
                {
                    cost = 600;
                    requirements[]={};
                };
                class CUP_B_Mastiff_HMG_GB_D
                {
                    cost = 650;
                    requirements[]={};
                };
                class CUP_B_Wolfhound_GMG_GB_D
                {
                    cost = 700;
                    requirements[]={};
                };
                class CUP_B_FV432_Bulldog_GB_D_RWS
                {
                    cost = 1000;
                    requirements[]={};
                };
                class CUP_B_FV510_GB_D
                {
                    cost = 2000;
                    requirements[]={};
                };
                class CUP_B_MCV80_GB_D_SLAT
                {
                    cost = 2500;
                    requirements[]={};
                };
                class CUP_B_Challenger2_Desert_BAF
                {
                    cost = 5000;
                    requirements[]={};
                };
                class B_Truck_01_ammo_F
                {
                    cost = 250;
                    requirements[]={};
                };
                class B_Truck_01_fuel_F
                {
                    cost = 250;
                    requirements[]={};
                };
                class B_Truck_01_Repair_F
                {
                    cost = 250;
                    requirements[]={};
                };
            };
            class Aircraft
            {
                class CUP_B_AW159_Unarmed_GB
                {
                    cost = 300;
                    requirements[]={"H"};
                };
                class CUP_B_SA330_Puma_HC2_BAF
                {
                    cost = 500;
                    requirements[]={"H"};
                };
                class CUP_B_AW159_GB
                {
                    cost = 1500;
                    requirements[]={"H"};
                };
                class CUP_B_Merlin_HC3_Armed_GB
                {
                    cost = 1500;
                    requirements[]={"H"};
                };
                class CUP_B_CH47F_GB
                {
                    cost = 3000;
                    requirements[]={"H"};
                };
                class CUP_B_AH1_DL_BAF
                {
                    cost = 6000;
                    requirements[]={"A"};
                };
                class CUP_B_GR9_DYN_GB
                {
                    cost = 8000;
                    requirements[]={"A"};
                };
            };
            class Naval
            {
                class O_Boat_Armed_01_hmg_F
                {
                    cost = 500;
                    requirements[]={"W"};
                };
            };
            class Gear
            {
                class CUP_BAF_BasicAmmunitionBox
                {
                    cost = 100;
                    requirements[]={};
                };
                class Box_NATO_Grenades_F
                {
                    cost = 100;
                    requirements[]={};
                };
                class Box_NATO_Support_F
                {
                    cost = 100;
                    requirements[]={};
                };
                class B_supplyCrate_F
                {
                    cost = 200;
                    requirements[]={};
                };
                class  CUP_BAF_OrdnanceBox
                {
                    cost = 200;
                    requirements[]={};
                };
                class CUP_BAF_BasicWeapons
                {
                    cost = 250;
                    requirements[]={};
                };
                class CUP_BAF_Launchers
                {
                    cost = 350;
                    requirements[]={};
                };
                class CUP_BAF_VehicleBox
                {
                    cost = 350;
                    requirements[]={};
                };
            };
            class Defences
            {
                class CUP_B_L111A1_MiniTripod_BAF_DDPM
                {
                    cost = 100;
                    requirements[]={};
                };
                class CUP_B_L111A1_BAF_DDPM
                {
                    cost = 250;
                    requirements[]={};
                };
            };
        };
        class EAST
        {
            class Infantry
            {
                class cfp_o_syarmy_rifleman
                {
                    cost = 100;
                    requirements[]={};
                };
                class cfp_o_syarmy_grenadier
                {
                    cost = 150;
                    requirements[]={};
                };
                class cfp_o_syarmy_machinegunner
                {
                    cost = 200;
                    requirements[]={};
                };
                class cfp_o_syarmy_sniper
                {
                    cost = 200;
                    requirements[]={};
                };
                class cfp_o_syarmy_medic
                {
                    cost = 225;
                    requirements[]={};
                };
                class cfp_o_syarmy_at
                {
                    cost = 225;
                    requirements[]={};
                };
            };
            class Vehicles
            {
                class cfp_o_syarmy_Ural
                {
                    cost = 50;
                    requirements[]={};
                };
                class cfp_o_syarmy_BTR40_MG
                {
                    cost = 150;
                    requirements[]={};
                };
                class cfp_o_syarmy_Ural_ZU23
                {
                    cost = 300;
                    requirements[]={};
                };
                class cfp_o_syarmy_BTR60
                {
                    cost = 400;
                    requirements[]={};
                };
                class cfp_o_syarmy_BMP1
                {
                    cost = 800;
                    requirements[]={};
                };
                class cfp_o_syarmy_BMP1P
                {
                    cost = 850;
                    requirements[]={};
                };
                class cfp_o_syarmy_BMP2
                {
                    cost = 1000;
                    requirements[]={};
                };
                class cfp_o_syarmy_ZSU
                {
                    cost = 1000;
                    requirements[]={};
                };
                class cfp_o_syarmy_T55
                {
                    cost = 1500;
                    requirements[]={};
                };
                class cfp_o_syarmy_T72
                {
                    cost = 3000;
                    requirements[]={};
                };
                class CUP_O_V3S_Repair_TKM
                {
                    cost = 150;
                    requirements[]={};
                };
                class CUP_O_V3S_Refuel_TKM
                {
                    cost = 150;
                    requirements[]={};
                };
                class CUP_O_V3S_Rearm_TKM
                {
                    cost = 150;
                    requirements[]={};
                };
            };
            class Aircraft
            {
                class CUP_O_UH1H_TKA
                {
                    cost = 300;
                    requirements[]={"H"};
                };
                class CUP_O_Mi17_TK
                {
                    cost = 500;
                    requirements[]={"H"};
                };
                class CUP_O_Mi24_D_Dynamic_TK
                {
                    cost = 3000;
                    requirements[]={"H"};
                };
                class cfp_o_syarmy_SU25
                {
                    cost = 5000;
                    requirements[]={"A"};
                };
                class cfp_o_syarmy_L39_AA
                {
                    cost = 6000;
                    requirements[]={"A"};
                };
                class cfp_o_syarmy_yak130
                {
                    cost = 7000;
                    requirements[]={"A"};
                };
            };
            class Naval
            {
                class O_Boat_Armed_01_hmg_F
                {
                    cost = 500;
                    requirements[]={"W"};
                };
            };
            class Gear
            {
                class CFP_O_SYARMY_UniformBox
                {
                    cost = 50;
                    requirements[]={};
                };
                class CFP_O_SYARMY_AmmoBox
                {
                    cost = 100;
                    requirements[]={};
                };
                class CFP_O_SYARMY_SupportBox
                {
                    cost = 150;
                    requirements[]={};
                };
                class CFP_O_SYARMY_SupplyBox
                {
                    cost = 150;
                    requirements[]={};
                };
                class CFP_O_SYARMY_WeaponsBox
                {
                    cost = 250;
                    requirements[]={};
                };
                class CFP_O_SYARMY_LaunchersBox
                {
                    cost = 350;
                    requirements[]={};
                };
                class Box_East_AmmoVeh_F
                {
                    cost = 350;
                    requirements[]={};
                };
            };
            class Defences
            {
                class cfp_o_syarmy_DSHkM_Mini_TriPod
                {
                    cost = 50;
                    requirements[]={};
                };
                class cfp_o_syarmy_DSHKM
                {
                    cost = 100;
                    requirements[]={};
                };
                class cfp_o_syarmy_KORD
                {
                    cost = 75;
                    requirements[]={};
                };
                class cfp_o_syarmy_KORD_high
                {
                    cost = 150;
                    requirements[]={};
                };
                class cfp_o_syarmy_AGS
                {
                    cost = 200;
                    requirements[]={};
                };
                class cfp_o_syarmy_SPG9
                {
                    cost = 250;
                    requirements[]={};
                };
                class cfp_o_syarmy_ZU23
                {
                    cost = 250;
                    requirements[]={};
                };
                class cfp_o_syarmy_Metis
                {
                    cost = 500;
                    requirements[]={};
                };
            };
            
        };
    };
};

 


 

Edited by FallujahMedic -FM-
Please place large chunks of code in a Spoiler, then add a Code box.

Share this post


Link to post
Share on other sites
1 hour ago, hairway2steven said:

Eg. This doesn't work, no units can be purchased in game:

Its look all good, stupid question but did you have the right list of mod loaded ?

 

Make sure to change the line in the warlord init module in editor, asset list box : ['MyWLAssetList']

Share this post


Link to post
Share on other sites

Its weird maybe a mistake with the module placement and sync ?

 

Watch the video he explain how to use the module on the map

 

 

Share this post


Link to post
Share on other sites

I'm pretty sure that all the moduals are placed correctly plus I watch the live stream a day ago to see if they showed you how to put in custom assets.

Also, some things I forgot to ask what kind of file do I have to use I tried text document and .ext and I'm using notepad does this affect anything.

what I do when in the scenario folder Documents/Arma3/missions/(my mission name)

 

description.ext file here

And SQM Mission file here

 

also, does anyone know how to post pictures here if it's not against the rules

Share this post


Link to post
Share on other sites

I have been trying to simply use the NATO and CSAT Pacific factions to custom make an assets list. Not having very good luck. Thank you Target Practice for posting the list but i'm having trouble getting it to work. It is too mixed up with other list. It would be very helpful if you or somebody would simply post a customized description.ext example using only the Pacific factions to allow mission makers to copy and paste it in their own file. Thank you for any help you or somebody can provide.

Share this post


Link to post
Share on other sites
11 hours ago, R0adki11 said:

Not even when using a different faction in the mission setup in 3Den Editor?

 

Well yes, but that's not what was asked I believe.

Share this post


Link to post
Share on other sites
3 hours ago, GySgt D. Milberger said:

I have been trying to simply use the NATO and CSAT Pacific factions to custom make an assets list. Not having very good luck. Thank you Target Practice for posting the list but i'm having trouble getting it to work. It is too mixed up with other list. It would be very helpful if you or somebody would simply post a customized description.ext example using only the Pacific factions to allow mission makers to copy and paste it in their own file. Thank you for any help you or somebody can provide.

 

Pacific faction units can be easily made available by using asset list A3PacificAll.

Share this post


Link to post
Share on other sites
4 hours ago, ELITEgamer60038 said:

I'm pretty sure that all the moduals are placed correctly plus I watch the live stream a day ago to see if they showed you how to put in custom assets.

Also, some things I forgot to ask what kind of file do I have to use I tried text document and .ext and I'm using notepad does this affect anything.

what I do when in the scenario folder Documents/Arma3/missions/(my mission name)

 

description.ext file here

And SQM Mission file here

 

also, does anyone know how to post pictures here if it's not against the rules

I was able to get your asset list working fine on my end.

 

You need to paste the class definitions into description.ext so they look like this:

Capture20.PNG?dl=1

Although I would personally suggest including them from a separate file to make it more manageable

 

In-game, you need to define the factions and asset list in the init module like this:

20181212105032_1.jpg?dl=1

 

The result:

20181212105127_1.jpg?dl=1

 

20181212105137_1.jpg?dl=1

 

Both players and AI are able to requisition the defined assets without issue.

 

Try to avoid touching the mission.sqm file unless you are sure you know what you're doing, and certainly not when it's binarised as yours is.

  • Like 3

Share this post


Link to post
Share on other sites

Ok so I tried doing what you told me to do and it's still not working I'm just going to wait till someone posts a video on youtube on how to do it

Share this post


Link to post
Share on other sites

When you say "it's not working," it doesn't help much. HOW is it not working? What is happening?

  • Like 2

Share this post


Link to post
Share on other sites
Just now, ELITEgamer60038 said:

Ok so I tried doing what you told me to do and it's still not working I'm just going to wait till someone posts a video on youtube on how to do it

Can you please describe to me exactly what you've done here, because it's obvious that you've made a mistake in trying to apply the asset list, since the config itself works fine.

If you want to post in-game screenshots, the easiest way is to take them using steam, upload them, and then link them here.

  • Like 1

Share this post


Link to post
Share on other sites

Ok so first of I make the mission on Everon here's the SQM https://pastebin.com/kbSTcq0e and I did not binarize the file

secondly, I navigate to my scenario folder and create a new text document and copy and paste this in https://pastebin.com/q88w194n this is the default assets but added a tusk slammer costing 6000cp and a different name

Thirdly I change the name in the init module from A3defaultall to MyWLAssetList

I believe that's how it goes sorry for no images when I try to insert images it crashes my google which is kinda retarded but idk so that's how I do it

  

Share this post


Link to post
Share on other sites
18 minutes ago, ELITEgamer60038 said:

Ok so first of I make the mission on Everon here's the SQM https://pastebin.com/kbSTcq0e and I did not binarize the file

So I had a quick look at your mission and seems to be technically fine, although you will need to enclose MyWLAssetList in double quotes ("MyWLAssetList" not 'MyWLAssetList') to define it as a string (I think so anyway, someone correct me if I've just been an idiot).

Additionally, while not required for the gamemode to function I'd suggest you make all playable units squad leaders, since it gives them a good all round loadout compared to having people spawn as AT riflemen and heavy gunners, especially since they have to spend 1000 CP on arsenal access to change this.

18 minutes ago, ELITEgamer60038 said:

secondly, I navigate to my scenario folder and create a new text document and copy and paste this in https://pastebin.com/q88w194n this is the default assets but added a tusk slammer costing 6000cp and a different name

You need to place the config in a file named 'description.ext'. Just making any old text file and heading it with description.ext won't do anything.

  • Like 1

Share this post


Link to post
Share on other sites

ok so i don't use a text file i use a .ext file and call it description.ext. is that what your trying to say?

i don't understand what kind of file i'm suppose to use do i use a text file or .ext or anything else

Share this post


Link to post
Share on other sites
23 minutes ago, ELITEgamer60038 said:

ok so i don't use a text file i use a .ext file and call it description.ext. is that what your trying to say?

i don't understand what kind of file i'm suppose to use do i use a text file or .ext or anything else

Ha ok open a text file and save as descritption.ext in the "filename" box

Under the "filename" box there an other box "file type" there 2 choice "texte file (*,txt)"  and "all the file", make to select "all the file", cause if you choose txt file that will not create a .ext file, just a .txt file and that not work.

 

  • Thanks 1

Share this post


Link to post
Share on other sites
41 minutes ago, ELITEgamer60038 said:

ok so i don't use a text file i use a .ext file and call it description.ext. is that what your trying to say?

i don't understand what kind of file i'm suppose to use do i use a text file or .ext or anything else

I admit I should have been more explicit.

 

All you need to do is create a text file and rename it, including the .txt extension, to description.ext

Share this post


Link to post
Share on other sites

@Jezuro

Would be nice for the next patch that the requested helicopter pilot to be civilian faction to allow players buy any vehicle without be attacked by the opposite faction at the base.  
And please add to the possibility  to edit IA indep troop classnames.

Love the gamemode! Thanks!

Share this post


Link to post
Share on other sites

Alright here is a changelog of a new version currently being tested internally.
PLEASE KEEP IN MIND THAT NOT ALL OF THESE CHANGES HAVE TO MAKE IT INTO STABLE IF WE FIND OUT A PROBLEM RELATED TO SOME OF THEM

 

[PUBLIC]Changed: Warlords - Airdrop on player's location is now much more expensive
[PUBLIC]Added: Warlords - Players now have the ability to get rid of their purchased vehicles via Action menu
[PUBLIC]Changed: Warlords - Individual players can not have more than 20 active assets at a time (this includes vehicles, aircraft, ships, static defences and ammoboxes). Infantry limits remain the same.
[PUBLIC]Fixed: Warlords - Players can now dismiss even AI subordinates that they already had in their group when joining to the game
[PUBLIC]Fixed: Warlords - Players no longer retain the waypoints assigned to their group prior to joining the game
[PUBLIC]Added: Warlords - Team killing penalty. For every 3 friendly kills, players suffer a 60 seconds black screen without the ability to use weapons followed by a forced respawn. This persists through disconnecting and reconnecting to a server.
[PUBLIC]Changed: Warlords - Sector scan cost raised to 350 CP
[PUBLIC]Fixed: Warlords - Warlords would not start properly on maps with unusually defined runways
[PUBLIC]Fixed: Warlords - Planes should zero in on their approach vectors more quickly
[PUBLIC]Changed: Warlords - Static weapons and ammoboxes are now deleted after a substantial timeout (3 times normal vehicle time removal timeout)
[PUBLIC]Changed: Warlords - Destroyed vehicles are now deleted much sooner
[PUBLIC]Changed: Warlords - A sector with an unusable airstrip was removed from the Whole Altis scenario
[PUBLIC]Changed: Warlords - Molos airfield sector has now lower CP income and is more heavily defended
[PUBLIC]Changed: Warlords - Additional assets added to the Request tables, some asset costs tweaked as well

  • Like 8
  • Thanks 2

Share this post


Link to post
Share on other sites

1) look like using

player setVariable ["BIS_WL_funds", player_db_point, TRUE];

to load player point from DB create  when a player join using

using owner id to set the previous player point,

keep creating DEADLOCK ( all player point start increasing by 1 and never stop )

 

2)why do u guy set  the start point to 50 when  BIS_WL_recentStart will always return flase after the server start

player setVariable ["BIS_WL_funds", if (BIS_WL_startCP > 50) then {50} else {0}, TRUE];

Share this post


Link to post
Share on other sites
12 hours ago, Jezuro said:

 

Pacific faction units can be easily made available by using asset list A3PacificAll.

THANK YOU SOOO MUCH!! I had a feeling it was easier then i was making it hahaha. Thank you very much! Works perfectly. Cheers!!

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

×