OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Dash5 on 15 Jul 2007, 10:57:33
-
What's the best way to place units found in CfgVehicles in the editor? Is there a list somewhere with translations? Some example mission perhaps (a la the OFPECTM face/animation/music viewer)?
-
Use the createUnit (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=c#createUnit) command, and replace the unit in the example with the cfgVehicle of your choice. A complete listing of all cfgVehicles in ArmA can be found in OFPEC's excellent Comref (http://www.ofpec.com/COMREF/armavehicles.php).
EDIT: Here's an example. Go to the editor, place a radio trigger on the map and write this in the "on activation" field:
mySoldier = group player createUnit ["SoldierWB", position player, [], 0, "FORM"]
Activate the trigger and you will have a BLUFOR Rifleman in your group. To see other units, simply replace the SoldierWB-part of the code above with any cfgVehicles-entry from the list I linked to.
-
Yes, I was just wondering if there was an easier way...most of these objects seem to be written in Czech, and translation is really slow going.
-
The comref cfgvehicles tree is definitely not in czech......trust me.
Planck
-
Okay. What language is it? Certainly not English.
-
I wrote it, so it must be in english, I only speak and write in english.
http://www.ofpec.com/COMREF/armavehicles.php
Try it and see...........
Planck
-
I don't mean to sound rude, but forgive me if I don't believe that domek, podesta, kasárna, budova...etc. are English words. The pictures are very helpful, I was just trying to eliminate all of this trial and error, but thanks for helping!
-
If you click the nice RED text that represents most entries in the tree, it will show you a nice picture of the item in question.
The czech names are the actual classnames of that item in the config.bin file.
Planck