Jump to content

Väinämöinen

Member
  • Content Count

    123
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

1 Follower

About Väinämöinen

  • Rank
    Sergeant

core_pfieldgroups_3

  • Interests
    Sex, war, guns, crimes, history, programming, ladies, fishing, diving, energydrinks, hardware
  • Occupation
    IT pro
  1. Väinämöinen

    Place an object

    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
  2. Väinämöinen

    disable map marker

    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
  3. Väinämöinen

    here is Eliteness

    Works fine here - Win7x64. regards.Väinämöinen
  4. Väinämöinen

    Simulate sound of firefight

    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
  5. Väinämöinen

    Text on waypoints

    Hi, you have to enter it on the "DESCRIPTION" field of the waypoint. regards.Väinämöinen
  6. Väinämöinen

    How to round

    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
  7. Väinämöinen

    Question about function basics

    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.
  8. 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
  9. Väinämöinen

    AI command to launch flare

    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
  10. Väinämöinen

    Scripting Questions

    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
  11. Väinämöinen

    AI hunting player...

    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!
  12. Väinämöinen

    AI command to launch flare

    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!
  13. Väinämöinen

    Problem Campaign

    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.
  14. Väinämöinen

    Problem Campaign

    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...
  15. Väinämöinen

    Problem Campaign

    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
×