-
Content Count
123 -
Joined
-
Last visited
-
Medals
-
Hi! You can use the setpos command: https://community.bistudio.com/wiki/setPos It's kind of trial and error process but I have done all my object positioning on other objects this way. And here is some example: http://forums.bistudio.com/showthread.php?78156-Putting-objects-on-tables regards.Väinämöinen
-
disable map marker
Väinämöinen replied to hellstorm77's topic in ARMA 3 - MISSION EDITING & SCRIPTING
It's discussed here: http://forums.bistudio.com/showthread.php?159805-Disable-Map-Marker You could also delete all created markers - eg. create a list of valid markers and delete all invalid markers: https://community.bistudio.com/wiki/allMapMarkers deleteMarker deleteMarkerLocal regards.Väinämöinen -
here is Eliteness
Väinämöinen replied to dr death jm's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Works fine here - Win7x64. regards.Väinämöinen -
Simulate sound of firefight
Väinämöinen replied to HatchetJesus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Dunno if it helps but triggers can have "Effects". Insert a trigger and click "effects" on the bottom of the trigger settings dialog. Maybe you could use some of them - there is effects for explosions, firefights etc. Or you could make your own ogg file and play it during the mission. regards.Väinämöinen -
Hi, you have to enter it on the "DESCRIPTION" field of the waypoint. regards.Väinämöinen
-
Hi! You should check this out: https://community.bistudio.com/wiki/round And don't forget the floor and the ceil commands! regards.Väinämöinen
-
Question about function basics
Väinämöinen replied to alleycat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
1. If you aren't suspending the script, the next statement will run in parallel with the function call. You can use the waituntil command to control that. 2. Preprocessing and compiling to a variable saves hard disk time. Everything runs from the memory. If you are calling the function frequently you should preprocess and compile your code. On a small scale it really doesn't matter. -
Finding roads inside of a rotated ellipse
Väinämöinen replied to brians200's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, it seems that your ellipse is mirrored. What happens if you put negative value to the angle? Eg. _angle = _angle * (-1) regards.Väinämöinen -
AI command to launch flare
Väinämöinen replied to vostov's topic in ARMA 3 - MISSION EDITING & SCRIPTING
And here is the Arma3 version - just add a west grenadier, add him some flare ammo and name him "test_soldier": flare_target = "Land_HeliPadEmpty_F" createvehicle [(getposATL test_soldier select 0)+5,(getposATL test_soldier select 1)+5,10]; flare_target setpos [(getposATL test_soldier select 0)+5,(getposATL test_soldier select 1)+5,10]; test_soldier addmagazine ["UGL_FlareGreen_F",10]; test_soldier reveal flare_target; sleep 1; test_soldier dotarget flare_target; sleep 3; test_soldier fire ["GL_3GL_F","GL_3GL_F","UGL_FlareGreen_F"]; :cool: You can call this SQF from where you want. And here is the demo mission: https://www.dropbox.com/s/i8s5yek2x2xlgxz/flareup.Stratis.zip For east soldiers to shoot flares you have to look flare ammo and flare muzzle from config viewer. Regards.Väinämöinen -
Hi! For scripting dialogs (and images) http://forums.bistudio.com/showthread.php?144954-Dialog-Tutorial-For-Noobs-By-A-Noob And some SQF basics and little more advanced scripting: http://killzonekid.com/category/tutorials/ Hope that helps! regards.Väinämöinen
-
Seems that the Larrows script works only on SP missions. You need to change the "player" with something else. As there might be 10+ possible players, the script needs something (single location - maybe calculated from all the player locations) for the AI to "home to". You can't use the "getPosATL group" as the command doesn't work on groups. And the script should only be run on the serverside. Hope that helps!
-
AI command to launch flare
Väinämöinen replied to vostov's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In OFP days what I did (syntax seems to be the same but classes not). https://community.bistudio.com/wiki/fire: unit Fire ["GP25Muzzle", "GP25Muzzle", "GP25_flarered"]; Activated by some trigger. Units really shot those flares if they had ammo. Hope that helps! -
Real simple tutorial: Create folder "My Yyber Campaign" In it, put a text file renamed with file extension *.ext with this inside it: class CfgIdentities { }; class Awards { }; class Penalties { }; class MissionDefault { lives = -1; lost = ; end1 = ; end2 = ; end3 = ; end4 = ; end5 = ; end6 = ; }; class Campaign { name = "My Yyber Campaign"; firstBattle = PART1; class PART1 { name = "aa"; cutscene = ; firstMission = mission1; end1 = ; end2 = ; end3 = ; end4 = ; end5 = ; end6 = ; lost = PART1; class mission1: MissionDefault { end1 = mission2; end2 = mission2; end3 = mission2; end4 = mission2; end5 = mission2; end6 = mission2; lost = mission2; template = mission1.Cain; }; class mission2: MissionDefault { end1 = ; end2 = ; end3 = ; end4 = ; end5 = ; end6 = ; lost = mission2; template = mission2.Cain; }; }; }; class CfgRadio { sounds[]={}; }; class CfgMusic { tracks[]={}; }; class CfgSounds { sounds[]={}; }; create folder "Missions" inside folder "My yyber campaign". Put your two missions in it named mission1.cain and mission2.cain. .cain means the island name. Abel=>Malden CAIN=>Kolgujev EDEN=> Everon INTRO=> Desert island Replace entries in mission ext with your mission names. To play your campaign, put the "My yyber campaign" - folder in your OFP campaign folder. To add missions to your campaign, just add missions to the mission folder and reference those missions in your description.ext file.
-
You could try to unpack the bpo decryptor to your desktop on defauld folder? I have the same OS as you (Win7) so it should be OS compatible...
-
First of all you should download bpo file extractor: http://ofp.gamepark.cz/utilities/pbo_decryptor15.zip Then use that tool to unpack some user made campaign. Ie. this one: http://www.gamefront.com/files/files/14755747/odwet.zip (The bpo file is inside the zip file) ( More campagns can be found from here http://operationflashpoint.filefront.com/files/Operation_Flashpoint_Resistance/Addons/Campaigns/;5207?start=0&limit=25&descriptions_in=0&summary_in=0&show_screenshot_in=0&sort=filesize&filesize_direction=asc#files ) See what it contains and you can build your own mission easily. regards.Väinämöinen