PC Gaming, PC Games, Multiplayer, Team Play, Co-op :: Forums :: (3) :: Arma: Series :: Scripting/Editing
|
|
<< Previous thread | Next thread >> |
| Arma Editing Thread | ||
|
Moderators: VETERANS-GAMING, BLuDKLoT =VG=, SolarFlame =VG=, Ingo =VG=, PITN, =VG= Eclipse002, dman248 =VG=, theday728 =VG=, kiwirambob =VG=, CCCode =VG=, Robotfungus =VG=, Jarema=VG=, DEEPINYOO =VG=, =VG= ORION*MC*, DILLIGAF =VG=, Hans =VG=, Pastrami =VG=, Speirs =VG=, =VG= OniBlood, Nvram =VG=, Fastjack =VG=, SavageCDN =VG=, =VG= Beast, SemlerPDX =VG=, aSeptik, TortiaBoy =VG=, T.E.D.F =VG=, HeadShotKB =VG=, Outlanders =VG=, melonmuncher =VG=, Castor =VG=, poffadder =VG=, Dave22644 =VG=, =VG= 42oman, lupago =VG=, Terremer =VG=, 1SgMorrison =VG=
|
| Author | Post | ||
| SavageCDN =VG= |
| ||
SavageCDN![]() Medals: 9 Ribbons: 19 ![]() ![]() Registered Member #611 Joined: Sat Nov 20 2010, 08:29AMLocation:: In your main base Posts: 963 Thanked 22 times in 20 posts | VG Mission Template v2 [ Click Here ] Since getting stuck deep in the well of information overload that is Arma editing, I'm creating this thread to post any and all links relating to editing / mod / mission creation. It seems that anything you want to do in Arma has been done before it's just a matter of finding it or figuring out the syntax. This is a WIP and more content/links will be added over . Please if you know of any good resources or want to share your own stuff post it here!! Arma 2 actually has a 3D editor built in - press Alt-E at the main menu and you will get a 3D option in the editor. NOOBS START HERE - two PDF manuals you need to download and read BEFORE TRYING ANYTHING!! [ Click Here ] [ Click Here ] Squint - a must-have editor for Arma files (.sqf, .sqs. .ext, and so on) [ Click Here ] BIS Official Arma2 Editing [ Click Here ] BI Wiki - messy but has some decent info [ Click Here ] List of YouTube videos [ Click Here ] More videos from a TG member [ Click Here ] Armaholic Forums - Addon Editing [ Click Here ] Armaholic Forums - Mission Editing [ Click Here ] Armaholic Forums - Scripting [ Click Here ] Armaholic Forums - Basic SQF Scripting Guide [ Click Here ] Question and Answer Section of Armaholics [ Click Here ] Question and Answer - ARMASTACK [ Click Here ] List of Weapon Classes [ Click Here ] A library of all available weapons, units, vehicles, warfare buildings and buildings on both Arma 2 islands [ Click Here ] Config Browser for all objects including ACE [ Click Here ] List of Scripting Commands [ Click Here ] Script Examples [ Click Here ] Code Examples and Hints [ Click Here ] Beginner's Guide to Array Functions [ Click Here ] Beginner's Guide to Event Handlers [ Click Here ] Kelly's Heroes Editing Resources [ Click Here ] OFPEC Resources - Editors Depot [ Click Here ] OFPEC Resources - Command Reference A-Z [ Click Here ] **note that OFPEC Resources also contain info for Operation Flashpoint editing as well - make sure you are looking at the right section for your version of Arma** Custom in-game logos and squad.xml [ Click Here ] [ Click Here ] Interesting Stuff [ Click Here ] ACE Documentation [ Click Here ] Other random Arma 2 Editing Forums: [ Click Here ] Have not tried yet but looked cool: [ Click Here ] [ Click Here ] [ Click Here ] [ Edited Sat Dec 03 2011, 04:35PM ] ![]() // kill.sqf _bunny attachTo [_victim,[0,0.45,1.3]]; _victim setdamage 1; detach _bunny; | ||
| Back to top | | ||
| BLuDKLoT =VG= |
| ||
USMC 95-08![]() Medals: 14 Ribbons: 25 ![]() ![]() Registered Member #2 Joined: Fri Feb 19 2010, 04:30PMLocation:: Menifee, CA. Posts: 3319 Thanked 53 times in 41 posts | wow great info I might put this on the Arma pages ![]() ![]() ![]() | ||
| Back to top |
| ||
| Outlanders =VG= |
| ||
Et in Arcadia ego![]() Medals: 7 Ribbons: 17 ![]() ![]() Registered Member #960 Joined: Thu Feb 17 2011, 12:50PMPosts: 598 Thanked 6 times in 6 posts | Cool stuff, thanks man. ![]() ![]() ![]() gunshow.com | ||
| Back to top | | ||
| SemlerPDX =VG= |
| ||
De Oppresso Liber![]() Medals: 12 Ribbons: 20 ![]() ![]() Registered Member #731 Joined: Sun Dec 19 2010, 06:13AMLocation:: Portland, OR Posts: 851 Thanked 49 times in 39 posts | Thank you Savage! I appreciate you assembling all this into one spot! Now, I can begin my schoolin' In the Land of Opportunity, "The American Dream" is up to the individual to define for themselves. Camping Photos | YouTube Channel ![]() Sun Tzu's "The Art of War" ![]() | ||
| Back to top | | ||
| ridDle |
| ||
| Medals: 3 Ribbons: 4 ![]() ![]() Registered Member #1340 Joined: Thu Jun 30 2011, 05:43PMPosts: 43 Thanked 0 times in 0 posts | Going straight to bookmark! Cheers! | ||
| Back to top | | ||
| SavageCDN =VG= |
| ||
SavageCDN![]() Medals: 9 Ribbons: 19 ![]() ![]() Registered Member #611 Joined: Sat Nov 20 2010, 08:29AMLocation:: In your main base Posts: 963 Thanked 22 times in 20 posts | Multiplayer Scripting [ Click Here ] EDITOR CODES: Creating a group name Grp1 = group this; Stops Radio messages: enemy tank 200m when you cant even see it! enableRadio false; Activating objective one in a trigger: Condition: !(alive unit1) On activ: "1" ObjStatus "Done"; ob1 = true Adding a Group to Cargo + making the group so they wont flee {_x moveincargo truck} ForEach units group this; {_x allowfleeing 0} foreach units group this; Start at a height: this setpos [getpos this select 0,getpos this select 1, 75]; unit will spawn at 75 m in the air Setting a Group Identity this setgroupId ["Juliet Four Six","groupcolor0"]; Placing a object flat to the ground this setvectorup [0,0,1]; Make Civilians Enemy Add this to the init. Civilian setFriend [west, 0]; Civilian setFriend [east, 1]; west setFriend [Civilian, 0]; east setFriend [Civilian, 1]; To make an Object facing a random 360 degrees e.g. a wreck this setDir (Random 360); Adding a Weapon to the cargo of a truck/ammo crate. _truck addWeaponCargo ["M16A4",5]; This will add 5 M16A4s to the cargo hold Triggers That Only Triggers if you are a ground unit! (Planes or helicopters wont trigger it) Condition: "Land" counttype thislist > 0; Flag On Flag Pole: FLAGPOLE setFlagTexture "Flagfilename"; Burning fire: OBJECT inFlame true/false; To make a unit stand up and stay up type: Unitname setUnitPos "UP"; To make a unit prone/laydown and stay down type: Unitname setUnitPos "Down"; To make a unit kneel and stay kneeling type: Unitname setUnitPos "Middle"; Hint message hint "blabla"; Radio Message Unitname sidechat "bla bla bla"; Make unit take no damage this allowDamage false OR unitname addEventHandler ["HandleDamage", { 0 }] Unlimited Ammo unitname addEventHandler ["Fired", { (_this select 0) setVehicleAmmo 1 }] Only works if you do not assign other weapons to the unit (ie: removeAllWeapons, addWeapon, etc). Unlimited Fuel unitname addEventHandler ["Fuel", { (_this select 0) setFuel 1 }] Fuel will only refill when tank is completely empty Add weapons/items to unit this addWeapon "Binocular" this addWeapon "M9_SD" if you are adding weapons to a unit add the magazines first then weapon, otherwise you will start with an empty weapon and have to reload Shutting every door within a radius - needs to go in the init line of a Game Logic 0 = [getpos this,300] spawn { sleep 1; { private "_b"; _b = _x; for "_i" from 0 to 7 do { _b animate ["dvere" + str _i,1] }; } foreach ((_this select 0) nearobjects (_this select 1)) } [ Edited Mon Oct 24 2011, 09:12AM ] ![]() // kill.sqf _bunny attachTo [_victim,[0,0.45,1.3]]; _victim setdamage 1; detach _bunny; | ||
| Back to top | | ||
| SemlerPDX =VG= |
| ||
De Oppresso Liber![]() Medals: 12 Ribbons: 20 ![]() ![]() Registered Member #731 Joined: Sun Dec 19 2010, 06:13AMLocation:: Portland, OR Posts: 851 Thanked 49 times in 39 posts | Here's a cool teleport I found when I couldn't find Savage to get his. This is great for editing in 2D map, as when you go to preview the map, you can move anywhere without reloading the preview. This allows you to click on the map while in preview and teleport anywhere. The file is an .rar containing an init.sqf and the script file teleport.sqf, and a text file with the Initialization line that you must copy and paste into your unit's init field. Contact me if you have any questions! Make a script file in notepad called "init.sqf" that has this line:
execVM "Teleport.sqf";
Make a script file in notepad called "Teleport.sqf" that has these lines:
player globalChat "Click on map to teleport";
NOTE THAT those are 2 apostrophe's after the word onMapSingleClick!! NOT quotation marks as everywhere else! it reads: onMapSingleClickSPACEAPOSTROPHEPOSTROPHESEMICOLONtrueSEMICOLONQUOTATIONMARKSEMICOLON Then, open editor, load your map, and bring up the "Edit Unit" menu for your primary player unit on the map. Write this into his Initialization field:
this addAction["Teleport","Teleport.sqf"];
editors_teleport.rar [ Edited Tue Dec 06 2011, 08:06AM ] In the Land of Opportunity, "The American Dream" is up to the individual to define for themselves. Camping Photos | YouTube Channel ![]() Sun Tzu's "The Art of War" ![]() | ||
| Back to top | | ||
| SemlerPDX =VG= |
| ||
De Oppresso Liber![]() Medals: 12 Ribbons: 20 ![]() ![]() Registered Member #731 Joined: Sun Dec 19 2010, 06:13AMLocation:: Portland, OR Posts: 851 Thanked 49 times in 39 posts | This blew my mind. I can't believe I've been doing all this without it! [ Click Here ] ![]() EDIT: so I guess there's no way to embed an iframe into our website, BLuD? I am a bit of a noob with html, and such. I only know "vg forums" format well. [ Edited Thu Dec 15 2011, 05:12AM ] In the Land of Opportunity, "The American Dream" is up to the individual to define for themselves. Camping Photos | YouTube Channel ![]() Sun Tzu's "The Art of War" ![]() | ||
| Back to top | | ||
| SavageCDN =VG= |
| ||
SavageCDN![]() Medals: 9 Ribbons: 19 ![]() ![]() Registered Member #611 Joined: Sat Nov 20 2010, 08:29AMLocation:: In your main base Posts: 963 Thanked 22 times in 20 posts | Yes squint is very handy!! ![]() // kill.sqf _bunny attachTo [_victim,[0,0.45,1.3]]; _victim setdamage 1; detach _bunny; | ||
| Back to top | | ||
Powered by e107 Forum System
(3) ::
Arma: Series 

























