Jump to content

Recommended Posts

Firstly, what an amazing tool, the additional features and ease of use have enabled much more fluid and simple scenario design on my part. Thank you!

I have a scenario, which I have been updating regularly. This scenario should run about < 3KB for the mission.SQF file. while exploring the features of a recen 3DEN enhanced update the mission file size has jumped from < 3KB to > 17KB, no actual alterations were made except for exploring what additional options there were added to the object attributes. Upon exploring the new 17KB mission.SQF I'm seeing 
 

Spoiler

	class Item2
						{
							dataType="Object";
							class PositionInfo
							{
								position[]={9503.1895,35.866436,4158.8765};
								angles[]={0,5.5850544,0};
							};
							side="Empty";
							flags=5;
							class Attributes
							{
								skill=0.2;
							};
							id=17534;
							type="Land_Mil_WallBig_Corner_F";
							class CustomAttributes
							{
								class Attribute0
								{
									property="allowDamage";
									expression="_this allowdamage _value;";
									class Value
									{
										class data
										{
											class type
											{
												type[]=
												{
													"BOOL"
												};
											};
											value=0;
										};
									};
								};
								class Attribute1
								{
									property="Enh_HoldAction";
									expression="			_value params ['_name','_iconIdle','_iconProgress','_conditionShow','_conditionProgress','_codeStart','_codeProgress','_codeCompletion','_codeInterrupt','_duration','_priority','_showUnconscious','_showWindow'];			if (!is3DEN && !(_name isEqualTo '')) then			{				[					_this,					_name,					_iconIdle,					_iconProgress,					_conditionShow,					_conditionProgress,					compile _codeStart,					compile _codeProgress,					compile format ['%1 %2','[_this select 0,_this select 2] remoteExecCall [''removeAction'',0]; remoteExecCall ['''',_this select 0];',_codeCompletion],					compile _codeInterrupt,					nil,					_duration,					_priority,					true,					_showUnconscious,					_showWindow				] remoteExecCall ['BIS_fnc_holdActionAdd',0,_this];			};";
									class Value
									{
										class data
										{
											class type
											{
												type[]=
												{
													"ARRAY"
												};
											};
											class value
											{
												items=14;
												class Item0
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item1
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="\a3\ui_f\data\igui\cfg\holdactions\holdaction_revive_ca.paa";
													};
												};
												class Item2
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="\a3\ui_f\data\igui\cfg\holdactions\holdaction_revive_ca.paa";
													};
												};
												class Item3
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="true";
													};
												};
												class Item4
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="true";
													};
												};
												class Item5
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item6
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item7
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item8
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
												class Item9
												{
													class data
													{
														class type
														{
															type[]=
															{
																"SCALAR"
															};
														};
														value=10;
													};
												};
												class Item10
												{
													class data
													{
														class type
														{
															type[]=
															{
																"SCALAR"
															};
														};
														value=1000;
													};
												};
												class Item11
												{
													class data
													{
														class type
														{
															type[]=
															{
																"BOOL"
															};
														};
														value=0;
													};
												};
												class Item12
												{
													class data
													{
														class type
														{
															type[]=
															{
																"BOOL"
															};
														};
														value=1;
													};
												};
												class Item13
												{
													class data
													{
														class type
														{
															type[]=
															{
																"STRING"
															};
														};
														value="";
													};
												};
											};
										};
									};
								};
								class Attribute2
								{
									property="Enh_featureTypeNew";
									expression="_this setFeatureType _value";
									class Value
									{
										class data
										{
											class type
											{
												type[]=
												{
													"SCALAR"
												};
											};
											value=0;
										};
									};
								};
								nAttributes=3;
							};
						};

 

the above code appear for EVERY object in the scenario (or at least that's how I'm reading it) it seems as though the additional options in the object attributes have been scripted in although they have no assigned values and/or have not been enabled in the editor. My goal through scripting has been to reduce this mission's file size and this new jump in file size has undone much of that, what is my best course of action here to eliminate this unnecessary code?

Share this post


Link to post
Share on other sites

Can confirm the above, I had a mission (a training center, so a lot of static objects) which size went from ~2MB without 3denEnhanced to more than 15MB with.

So unfortunately I had to stop using the addon for the time being.

Share this post


Link to post
Share on other sites
40 minutes ago, Max255 said:

Can confirm the above, I had a mission (a training center, so a lot of static objects) which size went from ~2MB without 3denEnhanced to more than 15MB with.

So unfortunately I had to stop using the addon for the time being.

Hi @Max255I just discovered a solution.

0) Firstly make a backup of your scenario. then follow these steps

1) Exit ArmA 3

2) Disable 3Den Enhanced in your modlist

3) Launch ArmA 3 and load the editor on the same map as the mission in question

4) Click "Scenario" -> "Merge" select the scenario in question and click "Merge"

5) Once merged save the scenario under a NEW name

6) Navigate to the new scenario's folder via windows explorer

 

7) copy the mission.SQF file from the new folder to the old folder

8) ????

9) ArmA!
 

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for your feedback.

 

Have you tried binarizing the mission file?

Share this post


Link to post
Share on other sites

Binarization didn't help very much. I might have mixed up the exact numbers but pretty sure before binarization for with>without 3denEnhanced, mission size was 18>4MB and ~12>2.5MB after.

 

I do understand it's a rather large file for a mission (more than 3k objects etc.) but more than 4x buildup in the file size is quite extreme regardless.

Share this post


Link to post
Share on other sites

I simply will not enter 3DEN unless this mod is loaded. It's ease of use and functionality is nothing short of brilliant for me. I have over 3000 hours in the editor and I'm just now beginning to piece together functioning missions.

Deep appreciation for this must have mod.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

I've got a very stupid question; How exactly do you use the extraction creator?

Share this post


Link to post
Share on other sites
On 12/2/2019 at 12:37 AM, Shiloh said:

I've got a very stupid question; How exactly do you use the extraction creator?

Does this help?

 

  • Like 3

Share this post


Link to post
Share on other sites

Hello R3vo,

 

unfortunatelly the units doesent stop the animation after getting shotted.

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites
8 hours ago, chrys said:

Hello R3vo,

 

unfortunatelly the units doesent stop the animation after getting shotted.

 

 

I'll look into it.

Share this post


Link to post
Share on other sites

22:19:06 File 3denEnhanced\GUI\functionsViewer.hpp, line 24: '/Enh_FunctionsViewer/Controls/Header.h': Missing ';' at the end of line
22:19:06 File 3denEnhanced\GUI\extraction.hpp, line 164: '/Enh_Extraction/Controls/VehicleImage.h': Missing ';' at the end of line

Share this post


Link to post
Share on other sites
20 hours ago, topden said:

22:19:06 File 3denEnhanced\GUI\functionsViewer.hpp, line 24: '/Enh_FunctionsViewer/Controls/Header.h': Missing ';' at the end of line
22:19:06 File 3denEnhanced\GUI\extraction.hpp, line 164: '/Enh_Extraction/Controls/VehicleImage.h': Missing ';' at the end of line

Thanks, I added it to the list.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 12/3/2019 at 11:41 AM, R3vo said:

Does this help?

 

 

You're a saint, thank you!

Share this post


Link to post
Share on other sites

I'm unsure if this is an Arma 3 bug, or 3den Enhanced.  The day of the week is incorrect for the date in 2020.  For example, it lists today 14th January 2020 as a Wednesday... when it's a Tuesday 🤨

 

s5XLqj4.png

Share this post


Link to post
Share on other sites
9 hours ago, Capt Childs said:

I'm unsure if this is an Arma 3 bug, or 3den Enhanced.  The day of the week is incorrect for the date in 2020.  For example, it lists today 14th January 2020 as a Wednesday... when it's a Tuesday 🤨

 

 

Or does BI know somwthing we don't?

 

*X Files music plays.*

  • Thanks 1
  • Haha 1

Share this post


Link to post
Share on other sites
14 hours ago, Capt Childs said:

I'm unsure if this is an Arma 3 bug, or 3den Enhanced.  The day of the week is incorrect for the date in 2020.  For example, it lists today 14th January 2020 as a Wednesday... when it's a Tuesday 🤨

 

s5XLqj4.png

I haven't touched that. Please make a feedback tracker ticket. 

Share this post


Link to post
Share on other sites

lx2QcuM.jpg

 

A small addition. Save and restore positions for later use. Let me know what you think.

  • Like 8

Share this post


Link to post
Share on other sites

This looks very useful.

I Lost count of the number of Times that I found a nice location but forgot where it was.

  • Thanks 1

Share this post


Link to post
Share on other sites

Awesome. Really enjoying this. Makes my life easier lol.

Share this post


Link to post
Share on other sites
2 hours ago, danny96 said:

Can you please add checkbox to enable/disable all AI features at once instead of having to check them one by one ? Thanks in advance.

 

https://imgur.com/2gX9aCB

 

That would break the attribute. What I can do though, is add a tool to the menu strip to toggle them on/off. Would that work too?

 

 

 

  • Like 3
  • Thanks 2

Share this post


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

 

That would break the attribute. What I can do though, is add a tool to the menu strip to toggle them on/off. Would that work too?

 

 

 

Yes that's what I thought about too. That would work for sure.

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

×