Jump to content

Search the Community

Showing results for tags 'description.ext'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 12 results

  1. Adding needful sounds one-by-one to the Description.ext is annoying. I want to add all the sounds by defining the class as ALL of cfgsound. The sound browser mod, here: http://www.armaholic.com/page.php?id=34408, has all the sounds loaded usable by defining the whole cfgsound library but I can't figure out how. Any ideas how to accomplish this?
  2. Hey, for every RscTitle I defined I get the error message 'Error loading control' Here are all of the error messages: I googled and tried a few things to get rid of the error but nothing worked. (mainly changing names) The texts and pictures work like they should but I still wonder what I did wrong to get the message. Anybody got experience with RscTitles and Dialog Control? Here is my description.ext: I think I did it with MrMurrays guide. Thanks in advance. Cheers.
  3. Hello ! I'd like to make a HUB mission in a user-made campaign the same way HUBs are present in the Arma 3 campaign. However, there's no documentation for the HUB parameter in the campaign description.ext reference page, where the only explanations provided are : enableHub = 1; // TBD - has to do with coming back to a "base" . . . //Define a mission to be hub. May have to do with CfgHubs. isHub = 1; // 0: disabled - 1: enabled. Default: 0 Is there someone with knowledge on the subject who can share information on how to make a campaign HUB ? Thanks !
  4. At first tried to change locaction names (or their font) for map control in the description.ext. Seems impossible, as far, I can tell. Location names properties seem to be defined in the CfgLocationTypes, and these are chosen in the "Names" subclass of given map class. So, as a plan B, I'm looking for a way to hide these names instead. Is that possible in the description.ext (RscMapControl config)?
  5. Is it possible to add an action to all objects through the description.ext? like? class CfgVehicles { class LIB_AmmoCrates_NoInteractive_Large { class UserActions { class CollectPoints { displayNameDefault = "Collect"; showWindow = 0; hideOnUse = 1; displayName="Collect"; position="action"; radius=0.10000; onlyForPlayer = 1; condition = true; statement = "this addAction ["Collect", {myCurator addCuratorPoints 0.15}]"; }; }; }; }; which the code doesn't work because i keep getting the (something) instead of ''' error. Anyway if its possible, i want to do this route instead of doing init code as this would mean that all objects placed by editor or Zeus would be affected.
  6. Hey guys, I've just registered so, many greets to you all:D Allright, here's the idea: Last night I was bored and played some Tropico, then I thought: How about implementing some small economy to the different locations like the lumberjack camps or banana plantations on Tanoa to hire some guys to work for your Team and earn some money with it. It could lead to a persistent rebell mission where you have to buy new weapons and stuff and defend your economy against the local government or something, don't know exactly, just been playing around, but here is my point: I have set up a first dialog that opens at a laptop at the plantation office like this: If you klick on the different inactive buttons (in fact these are pictures, but I will call them buttons from here on), the script will hire some workers, pay them as you want and you will need some trucks to move the stuff your guys harvestet. Example: If no budget button is active, they all have transparency 0.2. If you just hover over it, transparency is set to 1 to indicate to the player that he can click something. In the case of no active buttons, if player for example clicks on budget button #3, all buttons left from #3 including #3 will switch to active, color transparency changes from 0.2 to 1, colorActive transparency switches from 1 to 0.2. Now you are paying some money, right;D If player now clicks on maybe button #2, buttons #2 and #3 will "deactivate" and change transparency back again. Everything is working fine so far, you get the idea, right? So here are the problems, finally: I need a method that allows me to create just one class (inside controls in dialog.hpp) for the "budget buttons", one for the "worker buttons" and just one for "trucks buttons", wich I can access dynamically via some script to set their position and transparency. Right now, every single button has its own class, so just for this dialog i needed to write 17 classes RscActiveText. I did this because I needed to change the transparency of "color[] = ...." and "colorActive[]=..." every time you click on a button and for this I declared three unique variables for every button, makes 51 global variables in total just to change transparency. First one to let the script know if the button is already clicked, and the two other ones to change the transparency of color and colorActive back and forth, depending on the state of the button. Heres a little summary of a part of the dialog.hpp and the script activated by clicking the buttons. The 51 global variables (and more) ar predefined after init. dialog.hpp: class budg_bttn1: RscActiveText { idc = 1601; text = "pics\moneyPile.paa"; x = 0.840312 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.0154688 * safezoneW; h = 0.022 * safezoneH; color[] = {1, 1, 1, missionNamespace getVariable "bttn_col1"}; //global variable#1 for transparency colorActive[] = {1, 1, 1, missionNamespace getVariable "bttn_actCol1"}; //global variable#2 for transparency onMouseButtonClick = "[_this] execVM 'oumere_plantations\moneyBttns.sqf';"; }; class budg_bttn2: RscActiveText { idc = 1602; text = "pics\moneyPile.paa"; x = 0.87125 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.0154688 * safezoneW; h = 0.022 * safezoneH; color[] = {1, 1, 1, missionNamespace getVariable 'bttn_Col2'}; colorActive[] = {1, 1, 1, missionNamespace getVariable 'bttn_actCol2'}; onMouseButtonClick = "[_this] execVM 'oumere_plantations\moneyBttns.sqf';"; }; class budg_bttn3: RscActiveText { idc = 1603; text = "pics\moneyPile.paa"; x = 0.902187 * safezoneW + safezoneX; y = 0.258 * safezoneH + safezoneY; w = 0.0154688 * safezoneW; h = 0.022 * safezoneH; color[] = {1, 1, 1, missionNamespace getVariable 'bttn_Col3'}; colorActive[] = {1, 1, 1, missionNamespace getVariable 'bttn_actCol3'}; onMouseButtonClick = "[_this] execVM 'oumere_plantations\moneyBttns.sqf';"; //..........etc. etc. moneyBttns.sqf: disableSerialization; _display = findDisplay 5000; _control = (_this select 0) select 0; _controls = [_display displayCtrl 1601, _display displayCtrl 1602, _display displayCtrl 1603, _display displayCtrl 1604, _display displayCtrl 1605]; //_activeButtons = []; //_inacitveButtons = []; switch (ctrlIDC _control) do { case 1601: //checks wich button is clicked on { switch (bttn_active1) do //checks, if button is already active. bttn_active1 switches between 0 and 1 { case 0: { missionNamespace setVariable ["plantationIndex", 1, true]; //plantationIndex tells how many buttons are active in total missionNamespace setVariable [format ["bttn_active%1", 1], 1, true];//sets the buttons active state missionNamespace setVariable [format ["bttn_Col%1", 1], 1, true];//changing of transparency, in this case, button will.. missionNamespace setVariable [format ["bttn_actCol%1", 1], 0.2, true];//...appear with transp. if you hover over it (_controls select 0) ctrlSetTextColor [1,1,1, bttn_Col1];//sending transparency state to class (_controls select 0) ctrlSetActiveColor [1,1,1, bttn_actCol1]; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; case 1: { plantationIndex = 0; missionNamespace setVariable [format ["bttn_active%1", 1], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", 1], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", 1],1, true]; (_controls select 0) ctrlSetTextColor [1,1,1, bttn_Col1]; (_controls select 0) ctrlSetActiveColor [1,1,1, bttn_actCol1]; for "_i" from 1 to 5 do { missionNamespace setVariable [format ["bttn_active%1", _i], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 1, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; }; }; case 1602: { switch (bttn_active2) do { case 0: { plantationIndex = 2; for "_i" from 1 to 2 do { missionNamespace setVariable [format ["bttn_active%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 0.2, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; case 1: { plantationIndex = 1; for "_i" from 2 to 5 do { missionNamespace setVariable [format ["bttn_active%1", _i], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 1, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; }; }; case 1603: { switch (bttn_active3) do { case 0: { plantationIndex = 3; for "_i" from 1 to 3 do { missionNamespace setVariable [format ["bttn_active%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 1, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 0.2, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; case 1: { plantationIndex = 2; for "_i" from 3 to 5 do { missionNamespace setVariable [format ["bttn_active%1", _i], 0, true]; missionNamespace setVariable [format ["bttn_Col%1", _i], 0.2, true]; missionNamespace setVariable [format ["bttn_actCol%1", _i], 1, true]; (_controls select (_i-1)) ctrlSetActiveColor [1,1,1, call compile format ["bttn_actCol%1", _i]]; (_controls select (_i-1)) ctrlSetTextColor [1,1,1, call compile format ["bttn_Col%1", _i]]; }; if (debug) then {systemChat format ["PlantationIndex = %1", plantationIndex];}; }; }; };//....etc.etc. So, can someone imagine a better practice to solve this idea? As you can imagine, if I want to create more businesses on the island, I need to write a huge amount of classes and variables for every location. The problem is, that If I just use one class using the same global vars for the budget buttons, all buttons change transparency even when I just click a single one. I don't really unserstand how to refer between classes and variables using uiNamespace, maybe there's a solution in there? I hope I explained this one well enough and any help is highly appreciatet. Greets from Germany;D
  7. So I'm making a custom version of the Combat Patrol mission for the community I'm with but I've run into a bit of a snag. I grabbed the parameters settings from the description.ext of the sample mission and added it into the description.ext I already have. However they don't seem to actually affect the mission in any way, weather and time doesn't change nor does amount of enemies if garrison size is changed. I don't believe it's my description.ext that caused it as the same thing happens on the sample mission itself with no changes. Here is the parameters from the Combat Patrol sample mission that I used. I'm not real good with code so I can't really tell if anything is wrong with it myself. class Params { class startingDaytime { title = "Starting time of day"; values[] = {-1, 0, 1, 2, 3, 4}; texts[] = {"Random", "Dawn", "Morning", "Afternoon", "Dusk", "Night"}; default = 1; }; class weather { title = "Weather"; values[] = {-1, 0, 1, 2, 3}; texts[] = {"Random", "Clear", "Semi-cloudy", "Cloudy", "Storm"}; default = 1; }; class garrison { title = "Enemy garrison"; values[] = {0, 1}; texts[] = {"Standard", "Reinforced"}; default = 0; }; class reinforcements { title = "Enemy reinforcements"; values[] = {0, 1}; texts[] = {"Standard", "Advanced"}; default = 0; }; class showInsertion { title = "Mark insertion position"; values[] = {1, 0}; texts[] = {"Yes", "No"}; default = 0; }; class tickets { title = "Respawn tickets"; values[] = {5, 10, 20, 50, 100}; texts[] = {"5", "10", "20", "50", "100"}; default = 10; }; class enemyFaction { title = "Enemy faction"; values[] = {0, 1, 2}; texts[] = {"CSAT", "AAF", "Random"}; default = 2; }; class locationSelection { title = "Location selection"; values[] = {0, 1}; texts[] = {"Manual", "Random"}; default = 0; }; };
  8. Hey guys, Does someone know if there is a way to use CustomAttributes that you can edit in the eden editor with just the description.ext or so? I want to use the attributes for some different maps and can not edit all the maps for that, and i can not always use eden editor for it. So i search for a scripting way to get them active. To be precise i want to use the revive feature in all its power without the eden editor based map. Something like this in the description.ext does not work. Not all attributes are listed as desctiption.ext values in the BIKI ReviveRequiredTrait = 0; This is the code from the eden mission.sqm class Attribute1 { property="ReviveRequiredTrait"; expression="false"; class Value { class data { class type { type[]= { "SCALAR" }; }; value=0; }; }; }; Some attributes are withing the description.ext, but not all the required ones, you would need to control the revive feature. If anyone has an idea about this, that would be great. Regards Arkensor
  9. Can someone please clarify, I was testing the mission update with Apex Sneak Preview branch, and discovered that BIS's revive system stopped working, and indeed, "Revive" is no more present in "CfgRespawnTemplates".
  10. Hey guys! In the wiki entry of setIdentity is described how to create an identity in description.ext and set it by its classname. here is the description.ext example of those wiki entry: class CfgIdentities { class MyLittleSoldier { name = "Givens"; nameSound = "Givens"; face="WhiteHead_06"; glasses="None"; speaker="Male05ENG"; pitch=1.1; }; }; if u have that in ur description.ext then u can set a units identity with: _soldier1 setIdentity "MyLittleSoldier"; I m working on a script which deletes units and spawns them at a later time. therefor i need to get the identity classname ("MyLittleSoldier" in the above example) directly from the unit. Idk how to get it. Any help is appreciated...
  11. Ok. I have old problem with Inventory management in briefing. I can use weapons and magazines in "description.ext", but can not items. I know about Post #135 in DEV Changelog at 26/09/2013 * Inventory management in scenario briefings is enabled, but still undergoing quite a lot of work But 2016 is NOW! How was the problem solved? When it will be resolved? Will it solved? (Sorry, I used google translate)
  12. Hey guys I am wondering on how you can edit pieces of the CfgRespawnInventory class outside the description.ext. This is what I have to start. I would think by having userweapon = "arifle_MXC_F"; in the description before the class CfgRespawnInventory and then editing weapons[] = {userweapon,"hgun_P07_F"}; or weapons[] = {"userweapon","hgun_P07_F"}; would have the same effect as the original but it doesn't seem to like that. Also if you guys would like to show me how to edit weapons[]=...... in script that would be amazing. Thanks ahead of time :)
×