R3F Differents helicopters can lift differents objects

R3F Differents helicopters can lift differents objects

« posted: Aug 17, 2015, 10:25 PM »
Hey,

Like in this post for A2 someone figure out how change R3F srcipt to distinguish which heli can lift different objects.

http://www.404games.co.uk/forum/index.php?/topic/1009-differents-helicopters-can-lift-differents-objects/

can someone help me to get this in A3?
  • Offline Matt76
  • Mercenary
  • *****
  • Posts: 418
  • co founder of customcombatgaming.com

Re: R3F Differents helicopters can lift differents objects

« Reply #1 posted: Aug 17, 2015, 10:54 PM »
Hi,

Its the more or less the same as Arma 2 chap, you need to find the config file and edit that.

I use R3F 3.1 and the path to the config.sqf is



within the config look for this

Code: [Select]
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
// e.g. : "MyLifterVehicleClassName1", "MyLifterVehicleClassName2"
"Helicopter_Base_F"
];

remove the Helicopter_Base_F as this enables all choppers to lift and add in the choppers you only want to lift like this

Code: [Select]
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
// e.g. : "MyLifterVehicleClassName1", "MyLifterVehicleClassName2"
"B_Heli_Transport_03_F",
"B_Heli_Transport_03_unarmed_F",
"B_Heli_Attack_01_F"


];

always leave the last ',' off in an array.

If you wanted all choppers enabled but only wanted certain vehicles that can be lifted then you need to find this in the config and edit it

Code: [Select]
R3F_LOG_CFG_can_be_lifted = R3F_LOG_CFG_can_be_lifted +
[
// e.g. : "MyLiftableObjectClassName1", "MyLiftableObjectClassName2"
"Hatchback_01_base_F",
"SUV_01_base_F",
"Offroad_01_base_F",
"Van_01_base_F",
"MRAP_01_base_F",
"MRAP_02_base_F",
"MRAP_03_base_F",
"Truck_01_base_F",
"Truck_02_base_F",
"Truck_03_base_F",
"UGV_01_base_F",
"SDV_01_base_F",
"Boat_Civil_01_base_F",
"Boat_Armed_01_base_F",
"Wheeled_APC_F",
"APC_Tracked_01_base_F",
"APC_Tracked_02_base_F",
"APC_Tracked_03_base_F",
"MBT_01_base_F",
"MBT_02_base_F",
"MBT_03_base_F",
"Land_Pod_Heli_Transport_04_box_F",
"Helicopter_Base_F",
"Land_CargoBox_V1_F",
"Land_Cargo20_yellow_F",
"Land_Cargo40_white_F",
"Land_Pod_Heli_Transport_04_medevac_F",
"Land_Pod_Heli_Transport_04_box_black_F"

];

Re: R3F Differents helicopters can lift differents objects

« Reply #2 posted: Aug 18, 2015, 12:34 AM »
Hi,

Its the more or less the same as Arma 2 chap, you need to find the config file and edit that.

I use R3F 3.1 and the path to the config.sqf is



within the config look for this

Code: [Select]
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
// e.g. : "MyLifterVehicleClassName1", "MyLifterVehicleClassName2"
"Helicopter_Base_F"
];

remove the Helicopter_Base_F as this enables all choppers to lift and add in the choppers you only want to lift like this

Code: [Select]
R3F_LOG_CFG_can_lift = R3F_LOG_CFG_can_lift +
[
// e.g. : "MyLifterVehicleClassName1", "MyLifterVehicleClassName2"
"B_Heli_Transport_03_F",
"B_Heli_Transport_03_unarmed_F",
"B_Heli_Attack_01_F"


];

always leave the last ',' off in an array.

If you wanted all choppers enabled but only wanted certain vehicles that can be lifted then you need to find this in the config and edit it

Code: [Select]
R3F_LOG_CFG_can_be_lifted = R3F_LOG_CFG_can_be_lifted +
[
// e.g. : "MyLiftableObjectClassName1", "MyLiftableObjectClassName2"
"Hatchback_01_base_F",
"SUV_01_base_F",
"Offroad_01_base_F",
"Van_01_base_F",
"MRAP_01_base_F",
"MRAP_02_base_F",
"MRAP_03_base_F",
"Truck_01_base_F",
"Truck_02_base_F",
"Truck_03_base_F",
"UGV_01_base_F",
"SDV_01_base_F",
"Boat_Civil_01_base_F",
"Boat_Armed_01_base_F",
"Wheeled_APC_F",
"APC_Tracked_01_base_F",
"APC_Tracked_02_base_F",
"APC_Tracked_03_base_F",
"MBT_01_base_F",
"MBT_02_base_F",
"MBT_03_base_F",
"Land_Pod_Heli_Transport_04_box_F",
"Helicopter_Base_F",
"Land_CargoBox_V1_F",
"Land_Cargo20_yellow_F",
"Land_Cargo40_white_F",
"Land_Pod_Heli_Transport_04_medevac_F",
"Land_Pod_Heli_Transport_04_box_black_F"

];

For sure

Only the Huron should be able to lift tanks and planes. How can i make this work?
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2652

Re: R3F Differents helicopters can lift differents objects

« Reply #3 posted: Aug 19, 2015, 06:07 PM »
Unfortunately R3F doesn't have a weight system for towing/lifting, so you can't do it out of the box. I wanted to implement one, but first I would have to implement R3F v3, and I've been quite lazy this year.

Re: R3F Differents helicopters can lift differents objects

« Reply #4 posted: Aug 19, 2015, 06:12 PM »
Unfortunately R3F doesn't have a weight system for towing/lifting, so you can't do it out of the box. I wanted to implement one, but first I would have to implement R3F v3, and I've been quite lazy this year.

Thanks for ur reply. Fare as i see someone get it work. I realy want it work but i dont understand how there are coded it... nothing on english.
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2652

Re: R3F Differents helicopters can lift differents objects

« Reply #5 posted: Aug 19, 2015, 06:34 PM »
Yes, R3F have made the horrible mistake of writing code in French. My main language is French too, but I think that writing code in anything other than English is pure blasphemy. I only code in French if explicitely requested by my boss or teacher, or if I have to edit existing French code.

Re: R3F Differents helicopters can lift differents objects

« Reply #6 posted: Aug 19, 2015, 06:46 PM »
Yes, R3F have made the horrible mistake of writing code in French. My main language is French too, but I think that writing code in anything other than English is pure blasphemy. I only code in French if explicitely requested by my boss or teacher, or if I have to edit existing French code.

Nice to know. I try to unterstand it but ya French. I cant speak French at all. I try to make it happened at my server.

I need to say thanks for ur good work and for ur reply a lot of times.

Can i add somewhere?

Re: R3F Differents helicopters can lift differents objects

« Reply #7 posted: Sep 23, 2015, 11:36 AM »
I agree - the huron would be of some use finally if it could lift everything from quad bikes to tanks. Like you I struggle to translate R3F. If anyone has any other ideas of how to enable the huron to lift all vehiclews, it would be much appreciated.

Re: R3F Differents helicopters can lift differents objects

« Reply #8 posted: Jan 03, 2016, 11:26 PM »
Agentrev - noticed you have updated some of the Altis server files - thank you so much for this. I was wondering if you had time to look into this and enabling the huron to lift any vehicle - the players on my server really want the ability to lift tanks and heavier vehicles.
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2652

Re: R3F Differents helicopters can lift differents objects

« Reply #9 posted: Jan 03, 2016, 11:29 PM »
I've already said it before, R3F doesn't the capability to choose which vehicles can lift / tow which, it's black-or-white "this vehicle can be towed / lifted, or not at all". If you make the tanks liftable, they will be liftable by all helis, not just the Huron. I have nothing else to add on the matter.

Re: R3F Differents helicopters can lift differents objects

« Reply #10 posted: Jan 04, 2016, 05:57 AM »
I did this a while back to make lifting and towing a little more balanced. I just split it into 2 different arrays. One for heavy vehicles and one for light. I have no idea what I'm doing really when it comes to coding, so it took me awhile to do this, especially with the french. Thank you google translate.

https://github.com/Gigatek1/ArmA3_Wasteland.Altis/commit/a34130f2c20de912dc73996566232d6e24713f82
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2652

Re: R3F Differents helicopters can lift differents objects

« Reply #11 posted: Jan 04, 2016, 09:31 AM »
Hmm, indeed that's one way to do it... I guess I was too focused on a full-blown weight system, but this is a great idea.

Re: R3F Differents helicopters can lift differents objects

« Reply #12 posted: Jan 25, 2016, 03:01 AM »
Thanks Gigatek - I will look into setting this up to my servers requirements.

Agentrev - sorry if I got the wrong idea.