columdrum
Member-
Content Count
355 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by columdrum
-
Unit Capture
columdrum replied to jaoboifurroi132's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Well as far as i know that funcion(http://forums.bistudio.com/showthread.php?t=101421) it doesn't use any scripting command that is OA only, so you can always copy/paste the BIS funcion, for example using the function viewer(http://community.bistudio.com/wiki/BIS_fnc_help), copy the code there and use it on your mision :P. The true is that i dont like that funcion very much, its more or less a constant setpos of the vehicle, and can look good on LAN games or singleplayer, but in MP(10 players+) its really bumpy and looks like crap :P -
EDIT: just forget this :P
-
Vietnam the Experience: released!
columdrum replied to Commonplace's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Extended eventhandlers its now part of CBA, just load CBA + VTE and it should work. There isn't any complicated steps its just load these 2 mods, you may have a corrupted/outdated version of extended eventhandlerse and thats why it isn't working. Anyways more info off what kind of error you get would help to fin the problem ¬¬ -
ARMA 2: OA beta build 86652
columdrum replied to buliwyf's topic in ARMA 2 & OA - BETA PATCH TESTING
OMg, no more yellow chains when someones JIPs on a mission with a lot of players? :O , that is just awesome . The Searchlight thing its also great( could be better if the lightning from them were tweaked to, http://dev-heaven.net/issues/5786) -
Various questions on scripting and the engine...
columdrum replied to ryfle's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
1- As far as i know there is no easy way to do that. You can temporally asing that unit to the group and remove it after so it will follow the formation... 2- Just use http://community.bistudio.com/wiki/setWaypointStatements 3- Well first of all, there is no way to pass reference/pointers in arma script, so the int* value would be not posible in arma. The "compile" its only if you have the function as a string (usually when you read it from other sqf file, but it can be usefull in other cases too). The function in arma2 would be something like clamp ={ private['_value', '_min','_max']; _value= _this select 0; _min= _this select 1; _max= _this select 2; _a = _value; _a = if (_a > _max) then { _max} else {_a}; _a = if (_a < min) then { _max} else {_a}; _a; } 4-Well you are right the execvm doesn't wait to that script to finish after continuing the execution, but it isn't a new OS thread its just aonther instance on the game script scheduler, so it has its limitations. "while{ true } do { };" will only run as fast as the script scheduler lets it ^^. And as far as i know there is no 100% safe way to synchronize threads but i think that i have never got a script deadlock in arma2 , just by using gobal variables between scripts :P About the variable scope, variables starting by a character count as global variables, that are recogniced anywhere on any script. For example: ThisIsAglobalVariable="OMG"; There is no special way to define them just asing them a value. Local variables are defined starting with _ and are local where you define them. For example if you define it at the start of the script, they will be local to all that script. If you define it inside a function would be local to that funcion and you can even define it inside a while loop and will be only local there , a bit weird but not hard to understand. You can define the variables by using the "private" as i wrote before(on the clamp example), or just asinging a value to the variable.. but i think that defining then with "private" its cleaner. 5- the only way to comunitate with arma 2 by default its by copytoclipboard and copyFromClipboard script commands, but... as you may gess its not very efficient. But there is also a addon that allows you to comunicate to arma2 throught named pipes called "Jayarmalib". http://forums.bistudio.com/showthread.php?t=98647 Finally i think that there was some kind of page on the wiki that answers most of this questions, but i haven't found it :P -
how do you place buildings in the editor
columdrum replied to fighterman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
other posible solution its load a addon that adds the buildings that have classname to the editor. There are 2 or 3, you will only need to load it to edit the mission, but it won't be necesary to have any addon to play it, note that i am refering to the ones that only adds the buildings with classname. There are other addons that includes also some buildings without classname, those would require the addon to play the mission so maybe not what you want. I dont remember the addon name but it may be one of this (or all :P): http://www.armaholic.com/page.php?id=12899 http://forums.bistudio.com/showthread.php?t=109362 http://www.armaholic.com/page.php?id=5932 http://www.armaholic.com/page.php?id=11668 -
Clafghan Map 20x20 Beta Release
columdrum replied to minimalaco's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Yeah its awesome we already have done that on early closed betas of the map, and was epic(You can search in youtube for "Arma 2 TVT UST101-Nido de aguilas " ). But the map has almost nothing to do with the one 6 moths ago :P. ^^, now will be even better ;) -
Clafghan Map 20x20 Beta Release
columdrum replied to minimalaco's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
great island mini! :D -
Arma 3: Community wishes & ideas- NO DISCUSSION
columdrum replied to Maio's topic in ARMA 3 - GENERAL
Well a thing that could be cool its a way to add parameters on the modules dialog. Right now the only way to give the mision editors the posibility to modifi the behaviour of a module its throught variables( setvariable ) or sincronization. That option to add some more friendly params to the modules will benefic both scripters( that wouldn't need so much documentation) and mision makers that sometimes think that any script command its written on an weird language. It may be dificult to understand so i will try to explain and example: If you want to configure the Town Generator module, you should add a lot of lines to the init of the module, for example to change the size you should add: this setvariable ["townsize",150]; It wont be much simpler if instead of that, there will be a slider called "town Size (meters)" that allows you to config it? it will be faster and anyone should understand that. For that scripters should have a way to especify how many parameters the module have and what are their options/type of selector. It should be to dificult to implement and would be really welcome :rolleyes: Eddit/added: Extending this idea of the easy configurable modules, other great idea would be including "script mision modules". For example that mision makers can just copy and paste a folder in their mision( for example into XXXmision.map\modules\module1) that includes a module, and that makes avaliable a new module into the editor, this will make things even easier to mision makers that sometimes struggle to add a simple line to the mision init.sqf or description.ext. From the scripter point of view of this idea, it should allow the scripters define some basic configs(define sounds, dialogs,... all you can define in description.ext of the mision), also the parameters of the module as defined above, and some kind of relative paths for all his files in the module. This idea would be trickier to implement, but should be that hard ^^. -
Well there had been always only a big island and a small one. So i wouldn't expect more than that. Anyways Limnos looks amazing so no complains there. And above that, if arma 3 comes along with new and improved modding tools( visitor 4? ;)) i am pretty sure that the community can take care of creating new maps long before you get bored of Limnos :D :pray: *stares at icebreakr *
-
ARMA 2: OA beta build 86233
columdrum replied to Dwarden's topic in ARMA 2 & OA - BETA PATCH TESTING
+1, for me the smokelaucher issue its the last gamebreaking bug remaining. Can't wait for 1.60 :D -
Check if black MP "Receiving..." screen is gone?
columdrum replied to roguetrooper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
yeah it should work, because even if "receiving_finish=true" gets executed every time that you alt-tab or use the map it won't do anything ^^. -
Check if black MP "Receiving..." screen is gone?
columdrum replied to roguetrooper's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
http://community.bistudio.com/wiki/onPreloadFinished Receiving_finish=false; onPreloadFinished "Receiving_finish=true"; waitUntil {Receiving_finish}; As far as i know the onpreloadfinished event its the only way to do that. -
Cannot load mipmap problem
columdrum replied to wiggum2's topic in ARMA 2 & OA : BI TOOLS - TROUBLESHOOTING
just paste here where and how are you trying to use the image ingame, an where you put it. I loaded it and showed on a dialog without any problem, where are you trying to use it?. -
Cannot load mipmap problem
columdrum replied to wiggum2's topic in ARMA 2 & OA : BI TOOLS - TROUBLESHOOTING
dont use the photoshop pluggin.. its outdated, use textview 2 from bis tools. And yes you can use any image editor and then use textview to convert it to paa. Btw the paa you uploaded works perfectly fine in my arma, check your path maybe you wrote something wrong. -
UPSMON - Urban Patrol Script Mon
columdrum replied to Monsada's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Well thats normal if you use the move parameter, you should use "nowp" or "NOMOVE" + reinforcements (when you want then to move, radio call in your case). That parameters should be docummented somewhere if you want more info -
Tear-Gas and AI with gasmasks
columdrum replied to aspire's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
LoL? just setidentity can put them up. The only problem its that IA still suffer some effects( not really efects, just runs around xD, not as bad as without it). ["ace_sys_goggles_setident2", [_AIunit, "ACE_GlassesGasMask_US"]] call CBA_fnc_globalEvent; _AIunit setVariable ['ACE_Identity',"ACE_GlassesGasMask_US",true]; _IAunit its the IA you want to put the mask on... make a loop if you want a lot of them to put their mask :P. IF the area its too big, i would remocend not to use teargass nades to create the gass, just script the effect. There are more than one already written around, or you can just modify ACE one. Here one example( not tested) if (isDedicated) exitwith{}; if (!(isnil 'Colum_gas_Liberado')) exitwith{}; Colum_gas_Liberado=true; _colum_gas_Maxdistance=500; While {(player distance (getMarkerPos "Colum_gas_Center")) <=_colum_gas_Maxdistance} do { player setVariable ["ace_gassed",false,false]; _hasMask = player getVariable ["ACE_Identity", false]; if (_hasMask in ["ACE_GlassesGasMask_US","ACE_GlassesGasMask_RU"]) then { _hasMask = true; } else { _hasMask = false; }; if (player == player) then {if (ace_sys_spectator_SPECTATINGON) then {_hasMask = true}}; if (!_hasMask) then { [player,2] spawn ace_sys_gas_fnc_fx; _gas_time = _gas_time+1; if (_gas_time > 2) then { [player, 0.1] call ace_sys_wounds_fnc_addDamage}; // se lo ha tragado todo va muriendo }; if (_gas_time > 5) then { [player, 0.05] call ace_sys_wounds_fnc_addDamage}; // ya no tiene salvacion sleep 2 + (random 4); }; (you need a marker called "Colum_gas_Center" and 500 its the radius ...) -
ACE MFD Help!
columdrum replied to WingsOfDeath's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Part of ACE MDF its a bit hardcoded right now, the problem its that it only opens if it detects a laser guided magazine on the vehicle i think. So if you want to show it up, you need to add to your magazine names "GBU" within it. Here the script that check that: http://dev-heaven.net/projects/ace-mod2/repository/revisions/develop/entry/Addons/sys_mfd/fnc_hasLaserGuided.sqf http://dev-heaven.net/projects/ace-mod2/repository/revisions/develop/entry/Addons/sys_mfd/fnc_openDialog.sqf So your magazine ( not ammo) name should be something like My_supper_uber_GBU_bomb_omg :p Or make a ace ticket to request other way to do it ^^. About the laser guidance, thats other thing, you need to add the guideance type to your new bomb. Take a look : http://browser.dev-heaven.net/configclasses/config/CfgAmmo%3EBo_GBU12_LGB?version=55 Just add the: ace_guidance_type = "lgb"; Or make your ammo inherit from Bo_GBU12_LGB ( yourbomb: Bo_GBU12_LGB ) Also it would be recommended to define the ace_hit if you want ace armor system to work as expected with your ammo. Hope it helps ^^. Also any addon that have broke the class inheritance( rpt warnigs "Updating base class" or conflicting addon) can cause the problem, so try to test just with your addon and ACE :P -
From my limited knowledge on this matter i would say that that config only affecs the way that the weapons are displayed on the vehicle, and your real problem its the behaviour after launch. So your problem maybe its: 1- On CfgMagazines config be sure that the bombs have or inherits from a class that have: initspeed = 0; 2- On CfgAmmo : thrust = 0; thrusttime = 0; But its weird that it worked before and it suddenly break if you haven't changed anything on those configs :S
-
Just drop the bomb, you don't need to lock the laser target ^^
-
You can take a look at my revive script that is just the same of ace_wounds_prevtime but with a few more options, and it have some measures to avoid some of the posible exploits. It works great with respawn and AI disabled. Also, it have an option to restore your gear on reconnect, but it doesn't save the backpack contents or the "on back weapon"( those are local to the client and i didn't want to spam the server with messages to save the gear each X time ¬¬) But i agree that you can call that a bug( anyways its a looooong time i don't play with AI enabled, it can ruin an infiltration mission easyly if someome crashes and the AI starts a party itself xD). So the right way to address that it's to create a ticket ^^
-
Revive script for ACE2 Wounding system [V1.5]
columdrum replied to columdrum's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Mini update with a hotfix 1.8.1: +Fixed, auto adding the medic backpack no longer puts parachutes "on back" slot. Now the backpack its added on back always if the unit have a secondaryweapon by default. +Changed, "heavy wound" yourself no longer gives you -1 score if scoring enabled. That caused sometimes that AI shoot you if you had comited suicide once ^^. http://www.mediafire.com/?h5dfsdq7r8c4c0o -
Then you should start with easier things, start with the basic and then move step by step ^^. And about the keyboard freezing... well obviously you did something wrong. The funtion doesnt have any soldier parameter because its a local funcion, that must be executed on the client machine and jams the local player, and obviusly only affects players. So you will need to understand how locality works in arma2 to just jam the weapons of units you want and when you want. It worked fine for me: http://www.mediafire.com/?p0to4g74bca797l
-
There is no API as far as i know but as always you can dig into the code and search for it :P. In this case: [_ammo] spawn ace_sys_overheating_fnc_stoppage; for a triger, the ammo parameter its not really used, and you must asing the result to something(i really hate that stupid thing of the editor), so it would be somethig like: x=[] spawn ace_sys_overheating_fnc_stoppage; But, it's not an API funcion so future changes in ACE can make that stop working so use at your own risk :P.
-
The Unsung MOD (Vietnam War) Arma 2 Release
columdrum replied to sgt_savage's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
There is no weight in arma2 by default. If you are refering to ACE2 weight, just use my ACE compact addon, with that you will have more realistic weights and working bipods for some mg ^^. http://www.armanam.com/forums.php?m=posts&p=1730