Jump to content

znooptokkie

Member
  • Content Count

    161
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by znooptokkie


  1. Another thing from the UO forums:

    http://forums.unitedoperations.net/index.php/topic/26663-psa-arma-bug-with-custom-attributes/

     

    Arma has a limit of the amount of custom attributes, that number being 7. The result is the file name being displayed on the mission screen and other functions that may be be present.

     
    This is a problem for mods like eden enhanced, where there are 16 attributes.
     
    This issue can be resolved with going into your mission.sqm, and delete attributes 7+, and change the nAttributes  value to 7 (or else it crashes the game).
     
    I am working on a more permanent solution, maybe one with less gimmicks...

  2. I don't think the issue is  the number of attributes, but rather some coding issue on my end, except you got some reliable background info about that.

    Good evening R3vo,

    I made the mission corax is refering to.

    I made a quick test with a new mission:

    http://images.akamai.steamusercontent.com/ugc/492395204697441224/B6599A7BFFCCAE82627214C3ED115CCD676DB23B/

    File name: Eden_enhanced_test.Stratis

    This is the result in the mission list:

    http://images.akamai.steamusercontent.com/ugc/492395204697441544/C02F907E39FCA2A835FF1ADAF78997B1E0D8E0B8/

     

    Mission .sqm in the spoiler

    version=52;
    class EditorData
    {
    	moveGridStep=1;
    	angleGridStep=0.2617994;
    	scaleGridStep=1;
    	autoGroupingDist=10;
    	toggles=1;
    	class ItemIDProvider
    	{
    		nextID=2;
    	};
    	class Camera
    	{
    		pos[]={1842.1769,7.2694263,5688.8335};
    		dir[]={0.005728852,-0.13348228,-0.99104899};
    		up[]={0.00077160425,0.99105084,-0.13349};
    		aside[]={-0.99999726,1.3753674e-007,-0.0057806941};
    	};
    };
    binarizationWanted=0;
    addons[]=
    {
    	"A3_Data_F_Curator_Characters",
    	"a3_characters_f"
    };
    randomSeed=6254657;
    class ScenarioData
    {
    	author="Znoop";
    };
    class CustomAttributes
    {
    	class Category0
    	{
    		name="Scenario";
    		class Attribute0
    		{
    			property="Enh_randomMusic";
    			expression="				if (!is3DEN && !(_value isEqualTo [])) then				{					(selectRandom _value) remoteExec ['playMusic',0];				};			";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"ARRAY"
    						};
    					};
    				};
    			};
    		};
    		class Attribute1
    		{
    			property="EnableDebugConsole";
    			expression="true";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=0;
    				};
    			};
    		};
    		class Attribute2
    		{
    			property="'Enh_line2'";
    			expression="missionNamespace setVariable ['Enh_introLine2',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"STRING"
    						};
    					};
    					value="by Znoop";
    				};
    			};
    		};
    		class Attribute3
    		{
    			property="Enh_centerPosition";
    			expression="missionNamespace setVariable ['Enh_centerPosition',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"ARRAY"
    						};
    					};
    					class value
    					{
    						items=3;
    						class Item0
    						{
    							class data
    							{
    								class type
    								{
    									type[]=
    									{
    										"SCALAR"
    									};
    								};
    								value=0;
    							};
    						};
    						class Item1
    						{
    							class data
    							{
    								class type
    								{
    									type[]=
    									{
    										"SCALAR"
    									};
    								};
    								value=0;
    							};
    						};
    						class Item2
    						{
    							class data
    							{
    								class type
    								{
    									type[]=
    									{
    										"SCALAR"
    									};
    								};
    								value=0;
    							};
    						};
    					};
    				};
    			};
    		};
    		class Attribute4
    		{
    			property="Enh_directionCamera";
    			expression="missionNamespace setVariable ['Enh_directionCamera',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=0;
    				};
    			};
    		};
    		class Attribute5
    		{
    			property="Enh_establisingShot_activate";
    			expression="				if (!is3DEN && _value) then				{					[] spawn					{						waitUntil {time > 0.005};						[							missionNamespace getVariable 'Enh_centerPosition',							missionNamespace getVariable 'Enh_displayText',							missionNamespace getVariable 'Enh_altitude',							missionNamespace getVariable 'Enh_radius',							missionNamespace getVariable 'Enh_viewingAngle',							missionNamespace getVariable 'Enh_directionCamera'						]						remoteExec ['BIS_fnc_establishingShot',0,true];					}				};			";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"BOOL"
    						};
    					};
    					value=0;
    				};
    			};
    		};
    		class Attribute6
    		{
    			property="Enh_soundVolume";
    			expression="				if (!is3DEN) then				{					[0,_value] remoteExec ['fadeSound',0,true];				};			";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=1;
    				};
    			};
    		};
    		class Attribute7
    		{
    			property="Enh_introActivate";
    			expression="				if (_value && !is3DEN) then				{					[] spawn					{						waitUntil {time > 0.5};						waitUntil {time > ((missionNamespace getVariable ['Enh_introDelay',5]) - 0.5)};						[							parseText format							[								""<t align='right' size='1.6'><t font='PuristaBold' size='1.8'>%1<br/></t>%2<br/>%3</t>"",								(missionNamespace getVariable 'Enh_introLine1'),								(missionNamespace getVariable 'Enh_introLine2'),								(missionNamespace getVariable 'Enh_introLine3')							],							true						] remoteExec ['BIS_fnc_textTiles',0,true];					}				};			";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"BOOL"
    						};
    					};
    					value=0;
    				};
    			};
    		};
    		class Attribute8
    		{
    			property="Enh_introDelay";
    			expression="missionNamespace setVariable ['Enh_introDelay',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=5;
    				};
    			};
    		};
    		class Attribute9
    		{
    			property="Enh_displayText";
    			expression="missionNamespace setVariable ['Enh_displayText',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"STRING"
    						};
    					};
    					value="Stratis";
    				};
    			};
    		};
    		class Attribute10
    		{
    			property="'Enh_line3'";
    			expression="missionNamespace setVariable ['Enh_introLine3',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"STRING"
    						};
    					};
    					value="12:00:01";
    				};
    			};
    		};
    		class Attribute11
    		{
    			property="Enh_musicVolume";
    			expression="				if (!is3DEN) then				{					[0,_value] remoteExec ['fadeMusic',0,true];				};			";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=1;
    				};
    			};
    		};
    		class Attribute12
    		{
    			property="Enh_radius";
    			expression="missionNamespace setVariable ['Enh_radius',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=100;
    				};
    			};
    		};
    		class Attribute13
    		{
    			property="Enh_firstLine";
    			expression="missionNamespace setVariable ['Enh_introLine1',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"STRING"
    						};
    					};
    					value="";
    				};
    			};
    		};
    		class Attribute14
    		{
    			property="Enh_radioVolume";
    			expression="				if (!is3DEN) then				{					[0,_value] remoteExec ['fadeRadio',0,true];				};			";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=1;
    				};
    			};
    		};
    		class Attribute15
    		{
    			property="'Enh_altitude'";
    			expression="missionNamespace setVariable ['Enh_altitude',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=300;
    				};
    			};
    		};
    		class Attribute16
    		{
    			property="Enh_viewingAngle";
    			expression="missionNamespace setVariable ['Enh_viewingAngle',_value]";
    			class Value
    			{
    				class data
    				{
    					class type
    					{
    						type[]=
    						{
    							"SCALAR"
    						};
    					};
    					value=45;
    				};
    			};
    		};
    		nAttributes=17;
    	};
    };
    class Mission
    {
    	class Intel
    	{
    		briefingName="EDEN ENHANCED TEST";
    		timeOfChanges=1800.0002;
    		startWeather=0.30000001;
    		startWind=0.1;
    		startWaves=0.1;
    		forecastWeather=0.30000001;
    		forecastWind=0.1;
    		forecastWaves=0.1;
    		forecastLightnings=0.1;
    		year=2035;
    		month=7;
    		day=6;
    		hour=12;
    		minute=0;
    		startFogDecay=0.013;
    		forecastFogDecay=0.013;
    	};
    	class Entities
    	{
    		items=1;
    		class Item0
    		{
    			dataType="Group";
    			side="West";
    			class Entities
    			{
    				items=1;
    				class Item0
    				{
    					dataType="Object";
    					class PositionInfo
    					{
    						position[]={1842.2494,5.5014515,5686.3584};
    					};
    					side="West";
    					flags=7;
    					class Attributes
    					{
    						isPlayer=1;
    					};
    					id=1;
    					type="b_soldier_unarmed_f";
    					atlOffset=1.2397766e-005;
    				};
    			};
    			class Attributes
    			{
    			};
    			id=0;
    			atlOffset=1.2397766e-005;
    		};
    	};
    };
     

    After I removed the Class customAttributes the mission name is displayed as defined in the Eden Editor.

    Edited .sqm for reference:

     

     

    version=52;
    class EditorData
    {
    	moveGridStep=1;
    	angleGridStep=0.2617994;
    	scaleGridStep=1;
    	autoGroupingDist=10;
    	toggles=1;
    	class ItemIDProvider
    	{
    		nextID=2;
    	};
    	class Camera
    	{
    		pos[]={1842.1769,7.2694263,5688.8335};
    		dir[]={0.005728852,-0.13348228,-0.99104899};
    		up[]={0.00077160425,0.99105084,-0.13349};
    		aside[]={-0.99999726,1.3753674e-007,-0.0057806941};
    	};
    };
    binarizationWanted=0;
    addons[]=
    {
    	"A3_Data_F_Curator_Characters",
    	"a3_characters_f"
    };
    randomSeed=6254657;
    class ScenarioData
    {
    	author="Znoop";
    };
    
    class Mission
    {
    	class Intel
    	{
    		briefingName="EDEN ENHANCED TEST";
    		timeOfChanges=1800.0002;
    		startWeather=0.30000001;
    		startWind=0.1;
    		startWaves=0.1;
    		forecastWeather=0.30000001;
    		forecastWind=0.1;
    		forecastWaves=0.1;
    		forecastLightnings=0.1;
    		year=2035;
    		month=7;
    		day=6;
    		hour=12;
    		minute=0;
    		startFogDecay=0.013;
    		forecastFogDecay=0.013;
    	};
    	class Entities
    	{
    		items=1;
    		class Item0
    		{
    			dataType="Group";
    			side="West";
    			class Entities
    			{
    				items=1;
    				class Item0
    				{
    					dataType="Object";
    					class PositionInfo
    					{
    						position[]={1842.2494,5.5014515,5686.3584};
    					};
    					side="West";
    					flags=7;
    					class Attributes
    					{
    						isPlayer=1;
    					};
    					id=1;
    					type="b_soldier_unarmed_f";
    					atlOffset=1.2397766e-005;
    				};
    			};
    			class Attributes
    			{
    			};
    			id=0;
    			atlOffset=1.2397766e-005;
    		};
    	};
    };
     

    And a screenshot of the mission list:

    http://images.akamai.steamusercontent.com/ugc/492395204697463573/161183F41E16613DB8EE8261009B765D25AF6FA5/

     

    Edit: unfortunately I'm not into coding so I don't know what's causing this issue.

×