Jump to content

Search the Community

Showing results for tags 'grabber'.



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
    • Arma Reforger
    • 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
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter

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 1 result

  1. I wrote a little script to help with base building. This is meant for people who want to build static bases on a map with absolute position (not a composition) and just get the simple createVehicle code back. This is essentially what the broken 3D editor does except this uses Zeus so you get all the objects and stuff. Here's the script: private ["_pos","_radius","_collection","_startingInt","_c","_final"]; _pos = param [0, (position player)]; _radius = param [1, 250]; _startingInt = param [2, 0]; _collection = nearestObjects [_pos, ["All"], _radius]; if (count _collection > 0) then { _c = _startingInt; _final = ""; { private ["_obj","_class","_sim"]; _obj = _x; _class = typeOf _obj; _sim = getText (configFile >> "CfgVehicles" >> _class >> "simulation"); if !(_sim in ["soldier","invisible","curator"]) then { private ["_pos","_dir","_fuel","_damage"]; _pos = position _obj; _dir = getDir _obj; _fuel = fuel _obj; _damage = damage _obj; _br = toString [13,10]; _buildStr = format ["_vehicle_%1 = objNull; if (true) then { _this = createVehicle ['%2', %3, [], 0, 'CAN_COLLIDE']; _vehicle_%1 = _this; _this setDir %4; _this setPos %3; };", _c, _class, _pos, _dir]; _final = _final + _br + _buildStr; _c = _c + 1; }; } forEach _collection; copyToClipboard _final; hint "Copied to Clipboard"; }; There are 3 parameters: 0: ARRAY - Position at which the anchor the grabber 1: SCALAR - (Optional, defaults to 250) Radius to use when searching for objects 2: SCALAR - (Optional, defaults to 0) Starting interval number (use this if you want to add on to your base without having to rename variables from 0 to X etc.) All you need to do is put this sort of thing in your init.sqf and then place the Zeus modules on the map in order to enter Zeus (the script will not grab any module objects). player addAction ["Save Composition", { [position player, 200] execvm "zeusGrabber.sqf" }]; player addAction ["Load Composition", "myBase.sqf"]; Output will be something like this. Then to load your objects just call a script with the generated code inside it. _vehicle_0 = objNull; if (true) then { _this = createVehicle ['Land_Communication_F', [3997.9,4011.65,0], [], 0, 'CAN_COLLIDE']; _vehicle_0 = _this; _this setDir 0; _this setPos [3997.9,4011.65,0]; }; _vehicle_1 = objNull; if (true) then { _this = createVehicle ['Land_BagBunker_Large_F', [3990.86,3984.25,0], [], 0, 'CAN_COLLIDE']; _vehicle_1 = _this; _this setDir 0; _this setPos [3990.86,3984.25,0]; }; _vehicle_2 = objNull; if (true) then { _this = createVehicle ['Land_ReservoirTank_Rust_F', [4018.19,3981.11,0], [], 0, 'CAN_COLLIDE']; _vehicle_2 = _this; _this setDir 0; _this setPos [4018.19,3981.11,0]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ['Land_IndPipe2_Small_ground2_F', [4025.75,3983,0], [], 0, 'CAN_COLLIDE']; _vehicle_3 = _this; _this setDir 0; _this setPos [4025.75,3983,0]; }; _vehicle_4 = objNull; if (true) then { _this = createVehicle ['Land_Factory_Main_F', [4011.58,4021.95,0], [], 0, 'CAN_COLLIDE']; _vehicle_4 = _this; _this setDir 0; _this setPos [4011.58,4021.95,0]; }; _vehicle_5 = objNull; if (true) then { _this = createVehicle ['Land_BagBunker_Large_F', [3978.38,3996.92,0], [], 0, 'CAN_COLLIDE']; _vehicle_5 = _this; _this setDir 0; _this setPos [3978.38,3996.92,0]; }; _vehicle_6 = objNull; if (true) then { _this = createVehicle ['Land_BagBunker_Tower_F', [4009.92,3967.57,0], [], 0, 'CAN_COLLIDE']; _vehicle_6 = _this; _this setDir 0; _this setPos [4009.92,3967.57,0]; }; _vehicle_7 = objNull; if (true) then { _this = createVehicle ['Land_Shed_Small_F', [4036.71,3988.52,0], [], 0, 'CAN_COLLIDE']; _vehicle_7 = _this; _this setDir 0; _this setPos [4036.71,3988.52,0]; };
×