Jump to content
!TS JORDAN

[Tutorial] Altis Central Bank - Second Fed!

Recommended Posts

24 minutes ago, !TS JORDAN said:

Its the dialogs, they are all attached to the desc, go the the dialog > federalreserve.hpp and look for the missing }

19:20:35 Error in expression <able ["safe",count playableUnits,true];
fed_bank_1 setVariable ["safe",count pla>
19:20:35   Error position: <fed_bank_1 setVariable ["safe",count pla>
19:20:35   Error Undefined variable in expression: fed_bank_1
19:20:35 File life_server\init.sqf, line 123
Link to post
Share on other sites
1 minute ago, epic[k] said:
19:20:35 Error in expression <able ["safe",count playableUnits,true];
fed_bank_1 setVariable ["safe",count pla>
19:20:35   Error position: <fed_bank_1 setVariable ["safe",count pla>
19:20:35   Error Undefined variable in expression: fed_bank_1
19:20:35 File life_server\init.sqf, line 123
 
 

have you placed the box down ?

if so make sure it is called fed_bank_1
 

Edited by !TS JORDAN
Link to post
Share on other sites
9 minutes ago, !TS JORDAN said:

Your mission seems fine just ignore the error and try it

 

Tried it, Cops do not get warned that its getting robbed but timer comes up. Timer goes down and can't open it but if I retry it, it says there is a code cracker on the vault

Link to post
Share on other sites
On 26/10/2016 at 8:52 AM, !TS JORDAN said:

Mission.sqm sorry, 

If you add this is will place the bank building, vault, and marker. South East of Kavala:

		class Item2192
		{
			dataType="Object";
			class PositionInfo
			{
				position[]={3998.2195,57.340942,12175.192};
				angles[]={0,3.2704895,0};
			};
			side="Empty";
			flags=1;
			class Attributes
			{
			};
			id=3267;
			type="Land_Offices_01_V1_F";
			atlOffset=0.46258926;
		};

		class Item2183
		{
			dataType="Object";
			class PositionInfo
			{
				position[]={3988.0337,62.737106,12178.229};
				angles[]={0,5.6524229,0};
			};
			side="Empty";
			flags=4;
			class Attributes
			{
				skill=0.60000002;
				init="this allowDamage false; this enableSimulation false; this addAction[localize""STR_MAR_Open_Vault"",life_fnc_safeOpenBank,"""",0,false,false,"""",' playerSide isEqualTo civilian && {_target getVariable [""safe_open"",false]} ']; this addAction[localize""STR_MAR_Fix_Vault"",life_fnc_safeFix,"""",0,false,false,"""",' playerSide isEqualTo west && {_target getVariable [""safe_open"",false]} ' ];";
				name="fed_bank_1";
			};
			id=3268;
			type="Land_CargoBox_V1_F";
			atlOffset=0.00010681152;
			class CustomAttributes
			{
				class Attribute0
				{
					property="allowDamage";
					expression="_this allowdamage _value;";
					class Value
					{
						class data
						{
							class type
							{
								type[]=
								{
									"BOOL"
								};
							};
							value=0;
						};
					};
				};
				nAttributes=1;
			};
		};

		class Item2244
		{
			dataType="Marker";
			position[]={4007.574,-1.0318071e-035,12178.676};
			name="fed_reserve_1";
			text="Centeral Altis Bank";
			type="mil_box";
			colorName="Color4_FD_F";
			id=3334;
			atlOffset=-49.067787;
		};

If you add this is will place the NPC and Marker just outside Kavala:

		class Item2245
		{
			dataType="Marker";
			position[]={4056.1741,-7.3037298e-019,13844.016};
			name="gold_bar_dealer_1";
			text="Counterfit Cash Dealer";
			type="loc_ViewTower";
			colorName="ColorYellow";
			angle=195.81697;
			id=3335;
			atlOffset=-32.12751;
		};
		class Item2246
		{
			dataType="Group";
			side="Civilian";
			class Entities
			{
				items=1;
				class Item0
				{
					dataType="Object";
					class PositionInfo
					{
						position[]={4056.457,32.662659,13843.819};
						angles[]={0,3.1657481,6.2828364};
					};
					side="Civilian";
					flags=6;
					class Attributes
					{
						skill=0.60000002;
						init="this allowDamage false; this enableSimulation false; this addAction[localize""STR_MAR_counterfitCash"",life_fnc_virt_menu,""counterfitCash""];";
					};
					id=3337;
					type="C_man_p_fugitive_F";
					atlOffset=0.018512726;
					class CustomAttributes
					{
						class Attribute0
						{
							property="allowDamage";
							expression="_this allowdamage _value;";
							class Value
							{
								class data
								{
									class type
									{
										type[]=
										{
											"BOOL"
										};
									};
									value=0;
								};
							};
						};
						class Attribute1
						{
							property="enableSimulation";
							expression="if !(is3DEN) then {_this enablesimulationglobal _value;};";
							class Value
							{
								class data
								{
									class type
									{
										type[]=
										{
											"BOOL"
										};
									};
									value=0;
								};
							};
						};
						class Attribute2
						{
							property="pitch";
							expression="_this setpitch _value;";
							class Value
							{
								class data
								{
									class type
									{
										type[]=
										{
											"SCALAR"
										};
									};
									value=1;
								};
							};
						};
						nAttributes=3;
					};
				};
			};
			class Attributes
			{
			};
			id=3336;
			atlOffset=0.018512726;
		}

 

Is there any special place this should be added in the mission.sqm?

Link to post
Share on other sites
On 1/30/2017 at 1:37 AM, Elite IV | XtGCommunity said:

Bro, i don't know how to explain this.

 

It was already working that entire time. The only reason why the vault was empty was being there were never cops online. Now that i have a 10+ active player base i tested it again to see the multiplier function for the federal reserve in general and then bam i receive counterfeit currency. Only problem is that even when 3 cops are online they only give 1 counterfeit currency vitem.

So i reduced to multiplier anyways.

 

Thank you, appreciate it.

How did you reduce the multiplier?

Link to post
Share on other sites

@!TS JORDAN

Mine just says "The safe is empty"

I followed the whole TUT.

I put this in "fn_federalUpdate.sqf" : "fed_bank_1 setVariable ["safe",15,true];" because if wanted the vault to have 15 "cash stacks" at all time.

I should also mention that im using another map, another main building than the fed bank, and deleted the fed_bank box

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.