[evo] dan

Member
  • Content count

    1477
  • Joined

  • Last visited

  • Medals

Community Reputation

74 Excellent

About [evo] dan

  • Rank
    Sergeant Major

core_pfieldgroups_3

  • Interests
    Mission Making in Arma 2
  • Occupation
    Student
  1. Some good news and some bad news. I've used a two story building to try out a theory with the crane. When I get out of it I always seem to "jump" out really high up. So I spawned one right next to a two story balcony and guess what, I can get in if I am close to the top of the crane. I can only get into the gunners seat though, I think I may have to do something to get in the drivers position as I can't find the action for it (possibly cargo = 0 doing it). Now this doesn't seem right to me, as my memory points for getInGunner are near the bottom of the model. Can anyone explain to me as to why this behaviour happens? I cannot figure out why as I thought the action was supposed to be on the memory points themselves. Any theories?
  2. I take it those limits apply to other classes, so you could in theory make a destroyer which comes in around 130m max, because they are relatively narrow (20-30m at most) unlike ships like LPD's and CV's which are long and have a high width? Might make it interesting what other ships could be made like that.
  3. Thanks for the article, good to hear about some of the inner workings of the arma engine too.
  4. I've changed my config again, but cannot seem to get into the object. A driver and gunner position is created though so i'm unsure as to why as I have memory points in my model named within the model. I can provide the p3d if anyone wants. Am I missing some command or anything in order to get it to work as its quite a simple object. Heres my config: lass CfgPatches { class dock_crane { units[] = {"dock_crane"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; class CfgDestructPos{ }; class CfgVehicles { class LandVehicle; class StaticWeapon: LandVehicle { class Turrets; class MainTurret; }; class dock_crane: StaticWeapon { scope = 2; model = "\Dan_Dock_Crane\Dock_Crane.p3d"; displayName = "Dock Crane"; //what the item is called in editor editorSubcategory = "EdSubcat_Turrets"; //the sub catergory in the editor (in this case turrets) destrType = "DestructDefault"; armor = 30; fireResistance = 0.1; explosionShielding = 0.1; damageResistance = 0.004; side = 3; // 3 stands for civilians, 0 is OPFOR, 1 is BLUFOR, 2 means guerrillas faction = CIV_F; //make it a civie object crew = "C_man_1"; //put a civie in the turret transportSoldier=1; //transport 1 soldier hasDriver = true; //allow a driver hasGunner = true; //allow a gunner memoryPointsGetInDriver = "pos_driver"; //driver get in pos memory point memoryPointsGetInGunner = "pos_gunner"; //gunner get in pos memory point getInAction = GetInLow; getOutAction = GetOutLow; class Damage { tex[] = {}; mat[] = {}; }; //class Turrets {}; damageHalf[] = {}; damageFull[] = {}; }; };
  5. Hi, Could anyone explain in a bit more detail this part of the config as i'm having a bit of trouble understanding it? driverAction = "driver_offroad01"; cargoAction[] = {"passenger_low01", "passenger_flatground_leanleft", "passenger_flatground_leanright", "passenger_flatground_crosslegs", "passenger_flatground_leanleft"}; getInAction = "GetInLow"; getOutAction = "GetOutLow"; cargoGetInAction[] = {"GetInLow"}; cargoGetOutAction[] = {"GetOutLow"}; More specifically the following points: 1) Is "driverAction" requiring a memory point location (in this case "driver_offroad01") or is this not a memory point? 2) For "getInAction" is this a memory point or an animation I need to configure in the model.cfg? 3) Is there anything else I need to add in order to be able to get in or out of my vehicle beside using these commands and adding some memory points? I'm inheriting from LandVehicle and StaticWeapon. I think it may be worth putting the details on the BIKI as its a bit thin on information regarding this.
  6. Has anyone got any tutorials on making and configuring vehicles? I'm having trouble with it at the moment and the BIKI isn't that useful other than giving the title of the class to use, but doesn't give what it should be named for. Also some of the links to the tutorials in this thread don't work such as the OFP one and Mons
  7. Hi all, just a small update on this. My HDD died a few weeks ago and I lost everything. However I have been able to make the barrel again and I have made it better this time around and have released it in the other thread. I'm currently working on a little prototype model for a light dockside crane just to see if I can get one to work. I plan on using a "turret" setup and then having a memory point that is used to locate the objects below it. PhysX ropes would then be used to lift the object, although this would limit what can be lifted by the crane. I am having a few problems with getting the basics to work (I can't get in the object although I can spawn inside it) so if anyone wants to give me a hand they would be most welcome.
  8. Have you tried redownloading the entire package to make sure it wasn't corrupt?
  9. I had no problem with the zu23.
  10. I've been looking through various sources and have seen that I need the following commands in my config.cpp to be able to get in and out of my object at a set point: memoryPointsGetInCargo="pos_cargo_dir"; memoryPointsGetInCargoDir="pos_cargo"; memoryPointsGetInDriver="pos_driver_dir"; memoryPointsGetInDriverDir="pos_driver"; I've created these points within the memory LOD of the model as per what the samples have in them. However, I do not get an action to get in the vehicle and I've spent the last 2 days trying to figure out why I cannot get back in once I get out of the object. I thought it was a case of the vehicle being locked by default but I manually set it to unlocked in the editor. I can't even get the answer by walking to almost the centre of the object so I'm not sure whats exactly wrong. Here is my config, it does include some placeholder stuff from a different config file: class CfgPatches { class dock_crane { units[] = {"dock_crane"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; class CfgDestructPos{ }; class CfgVehicles { class LandVehicle; class StaticWeapon: LandVehicle { class Turrets; class MainTurret; }; class dock_crane: StaticWeapon { scope = 2; model = "\Dan_Dock_Crane\Dock_Crane.p3d"; displayName = "Dock Crane"; editorSubcategory = "EdSubcat_Turrets"; destrType = "DestructDefault"; armor = 30; fireResistance = 0.1; explosionShielding = 0.1; damageResistance = 0.004; side = 3; // 3 stands for civilians, 0 is OPFOR, 1 is BLUFOR, 2 means guerrillas faction = CIV_F; crew = "C_man_1"; transportSoldier=1; memoryPointsGetInCargo="pos_cargo_dir"; memoryPointsGetInCargoDir="pos_cargo"; memoryPointsGetInDriver="pos_driver_dir"; memoryPointsGetInDriverDir="pos_driver"; class Turrets: Turrets { class MainTurret: MainTurret { minTurn=-180; maxTurn=180; initTurn=0; minElev=-10; maxElev=85; initElev=0; weapons[]={}; magazines[]= { }; gunnerAction="Hilux_Cargo01"; selectionFireAnim = "zasleh"; gunnerOpticsModel="\RDS_StaticW\zu23\2Dscope_RUAA5"; gunnerOpticsEffect[]= { "OpticsCHAbera1", "OpticsBlur2" }; gunnerForceOptics=0; memoryPointsGetInGunner="pos_gunner_dir"; memoryPointsGetInGunnerDir="pos_gunner"; class ViewGunner { initAngleX=5; minAngleX=-30; maxAngleX=30; initAngleY=0; minAngleY=-100; maxAngleY=100; initFov=0.69999999; minFov=0.25; maxFov=1.1; }; class ViewOptics { initAngleX=0; minAngleX=-30; maxAngleX=30; initAngleY=0; minAngleY=-100; maxAngleY=100; initFov=0.093000002; minFov=0.093000002; maxFov=0.093000002; }; }; }; class Damage { tex[] = {}; mat[] = {}; }; //class Turrets {}; damageHalf[] = {}; damageFull[] = {}; }; }; Here is a copy of my project folder if anyone wants to have a look at the model: https://www.dropbox.com/s/0g90uu6rxwsuji4/Dan_Dock_Crane 2.zip?dl=0 PBO: https://www.dropbox.com/s/0p2hkwznw0bonws/addons.rar?dl=0 Thanks for any help in advance.
  11. I'll have a look over the pack tomorrow. Out of interest, is there a script command to get a more "friendly" looking version of the games config files as I don't like the format in game, I much prefer something I can look at in notepad.
  12. I would also like to know this as i'm having trouble making one at the moment. I've looked at the Arma 2 samples and couldn't figure it out and there isn't a static in the arma 3 ones.
  13. I've been having a play around with the config and have removed pretty much everything in it. I can't even get a getinaction to work so ill have to revisit it again once my home internet is working again. I think I've must have done something critically wrong. Does anyone have any advice or tutorials they would recommend looking at as I can't seem to figure it out from the samples or looking at the config browser. Heres my code with the actions removed: class CfgPatches { class dock_crane { units[] = {"dock_crane"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; class CfgDestructPos{ }; class CfgVehicles { class StaticWeapon; class dock_crane: StaticWeapon { scope = 2; model = "\Dan_Dock_Crane\Dock_Crane.p3d"; displayName = "Black Barrel w/White Stripe"; editorSubcategory = "EdSubcat_Turrets"; destrType = "DestructDefault"; armor = 30; //editorPreview = "\Dan_Oil_Barrel\Previews\dan_black_barrel.paa"; fireResistance = 0.1; explosionShielding = 0.1; damageResistance = 0.004; side = 3; // 3 stands for civilians, 0 is OPFOR, 1 is BLUFOR, 2 means guerrillas faction = CIV_F; crew = "C_man_1"; //need to add something to get in get out of the static. But what? memoryPointsGetInGunner = "pos gunner"; gunnerInAction = "ManActTestDriver"; gunnerGetInAction = ""; gunnerGetOutAction = ""; class Damage { tex[] = {}; mat[] = {}; }; //class Turrets {}; damageHalf[] = {}; damageFull[] = {}; }; }; There is a memory point named pos gunner in my model. Here is the zip of it if anyone wants to look: https://www.dropbox.com/s/3y5db8hqfrd9i0u/Dan_Dock_Crane.zip?dl=0
  14. I've decided to try and make a really basic turret like object for arma. Well, its actually a crane but nevermind about that bit for now. I'm having trouble with the config.cpp and not knowing quite what to put into it. I figured the "turret" class wouldn't work with the ThingX class as it needs a "gunner" so I decided to use "AllVehicles", however, the object doesn't show up in the editor. I've also tried inheriting from the GMG but whilst I could fire the gun straight ahead (not intended but I knew I would inherit that), I couldn't get my "CraneArm" section to turn around the top of the base post. I've had a look here: https://community.bistudio.com/wiki/Turret_Config_Reference and on the ships config guidelines, as well as the GMG through the config viewer in the editor. Heres my config.cpp: class CfgPatches { class dock_crane { units[] = {"dock_crane"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; class CfgDestructPos{ }; class CfgVehicles { class AllVehicles //AllVehicles eg { class NewTurret; // derive from your base base base class class Animations; }; class dock_crane: AllVehicles { scope = 2; model = "\Dan_Dock_Crane\Dock_Crane.p3d"; displayName = "Black Barrel w/White Stripe"; editorSubcategory = "EdSubcat_Turrets"; destrType = "DestructDefault"; armor = 30; //editorPreview = "\Dan_Oil_Barrel\Previews\dan_black_barrel.paa"; fireResistance = 0.1; explosionShielding = 0.1; damageResistance = 0.004; class Damage { tex[] = {}; mat[] = {}; }; class MainTurret : NewTurret { body = "MainTurret"; maxTurn = 360; maxHorizontalRotSpeed = 2; turretAxis = "Base"; class ViewGunner { initAngleX = 5; minAngleX = -85; maxAngleX = 85; initAngleY = 0; minAngleY = -150; maxAngleY = 150; initFov = 0.7; minFov = 0.42; // FOV of 0.4 is considered as 1x magnification by RSC displays maxFov = 0.85; }; class ViewOptics { initAngleX = 0; minAngleX = -30; maxAngleX = 30; initAngleY = 0; minAngleY = -100; maxAngleY = 100; initFov = 0.3; // baseline FOV 0.4 / optic FOV 0.3 = x1.33 magnification minFov = 0.07; // baseline FOV 0.4 / optic FOV 0.07 = x5.7 magnification maxFov = 0.35; // baseline FOV 0.4 / optic FOV 0.35 = x1.14 magnification }; }; class Animations:Animations { class MainTurret { type="rotationY"; source="mainTurret";//The controller that provides input above selection="CraneArm";//The name of the skeleton bone used. axis="Base";//name of the axis in the model. }; }; damageHalf[] = {}; damageFull[] = {}; }; }; and model.cfg: class CfgSkeletons { class dock_crane_skeleton { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {}; }; }; class CfgModels { class dock_crane { skeletonName = "dock_crane_skeleton"; sections[] = {"Base", "CraneArm"}; }; }; Heres the project folder if anyone wants to have a look: https://www.dropbox.com/s/3y5db8hqfrd9i0u/Dan_Dock_Crane.zip?dl=0 I'm just looking to see how to get this working and I am looking for some more pointers as where to take this config next in order to get something that works and so the top beam can move around 360 degrees about the top of the "base". This code builds the addon as it is and loads into the editor, but the object does not show up as it is. Thanks for any help in advance.
  15. Out of interest, are the cranes going to be functional on the LPD? and will they use some version of the "slingload" method, or a custom solution using PhysX ropes?