DN308 Posted November 22, 2022 Posted November 22, 2022 Is there somewhere a Rearm and Refuel logic? I want to add one in a mission but I can't find it in the @JimTM guide, nor in the forum. I might be blind though... If someone can guide me with a link to or post here a logic, it would be really kind
JimTM Posted November 22, 2022 Posted November 22, 2022 There is a link to Repair/Rearm/Refuel Explained at the bottom of the "Mission Editor and Multiplayer Server Guides" section in the IL-2 Sturmovik Resources post. 1
DN308 Posted November 22, 2022 Author Posted November 22, 2022 Gorgeous! Many thanks for your outstanding job!
JimTM Posted November 22, 2022 Posted November 22, 2022 (edited) Cheers! Thanks for the refuel/rearm post go to @=KG76=flyus747, and the resources post brings together a lot of great contributions from a lot of generous contributors. Edited November 22, 2022 by JimTM
DN308 Posted November 24, 2022 Author Posted November 24, 2022 I must have done something wrong... It seems so easy but nothing works... Maybe the Maintenance Radius is too small, or is there something like a proxymity MCU to use, or another MCU, in conjonction with the vehicles? It seems that trucks only could work, but mine don't want to.
Sketch Posted November 24, 2022 Posted November 24, 2022 I'm not sure if you can have "zero" as a time modifier and have the MCU work as an RRR. My understanding is, if you have a zero value in any of the repair, rearm, or refuel modifiers; the logic will assume you do not want the vehicle to be a RRR vehicle. That's my first guess anyway. It could also be, as you suggest, the radius of the maintenance area is too small. For our missions on Combat Box, I set the radius at 150m. Here's an image of your radius size versus mine and the scale of an A20 (one of the bigger planes in the game). Here's a topdown view of the radius differences. Your players will need to be very close, and they may not be able to turn their plane around. And here's a perspective view. 1
DN308 Posted November 24, 2022 Author Posted November 24, 2022 10 minutes ago, Sketch said: I'm not sure if you can have "zero" as a time modifier and have the MCU work as an RRR. My understanding is, if you have a zero value in any of the repair, rearm, or refuel modifiers; the logic will assume you do not want the vehicle to be a RRR vehicle. That's my first guess anyway. It could also be, as you suggest, the radius of the maintenance area is too small. For our missions on Combat Box, I set the radius at 150m. Here's an image of your radius size versus mine and the scale of an A20 (one of the bigger planes in the game). Here's a topdown view of the radius differences. Your players will need to be very close, and they may not be able to turn their plane around. And here's a perspective view. My personal logic was that I didn’t want the trucks to serve the other A-20 on a nearby spot (which have its own set of trucks. Also, the truck here is a fuel truck. I also have above a « repair » truck and next a ammo truck. Each of them have their speciality, that’s why they have only a value for what it’s supposed to be. If it doesn’t work , I’ll try your tip. I have put the radius to 35m to try, but I should try your tip too and put it at 100m or so. So you confirm that there’s no need for a specific MCU? Thanks anyway. I will let you know if it works.
DN308 Posted November 24, 2022 Author Posted November 24, 2022 Solved! I used your tips @Sketch: - 50m Radius - No '0' value in all the RRR So, I don't really know which one was an error, but it works now. 1
Habu Posted November 26, 2022 Posted November 26, 2022 It's the 0 value which neutralise the RRR effect.
IckyATLAS Posted December 2, 2022 Posted December 2, 2022 If you want to be selective then you can create a logic with an activate or deactivate MCU on the vehicle that allows for RRR. Use a Vehicle or a Fake Vehicle (invisible) and then you deactivate or activate it only for certain specific objects. To do that you create two identical CheckZone that are centered on your Vehicle and have the same radius as your RRR area. You Object Link the two Check Zone to the objects that are allowed to be serviced. One of the CheckZone is made to fire when the object enters the zone and the other is made to fire when the object leaves the zone. When the object enters the zone if it is a legitimate one to be serviced (it is object linked) then the corresponding CheckZone will fire and Activate the Vehicle and so activate the RRR. When leaving the other CheckZone will fire and deactivate the Vehicle thus deactivating the RRR capability for other objects that may enter into that area but should not be serviced.
DN308 Posted December 2, 2022 Author Posted December 2, 2022 Nice! Thank you so much. I wanted my plane (player) to enter je service area on a parking while my leader is serviced on another. Once serviced I wanted the mission’s ending… However, it cannot be. There’s no possibility to fire an objective with a message or event link
=1stROF=stevie Posted June 6, 2023 Posted June 6, 2023 (edited) On 12/2/2022 at 12:47 PM, IckyATLAS said: ... Use a Vehicle or a Fake Vehicle (invisible) ... It looks like the chosen vehicle requires to have a yellow triangle in the preview, otherwise it won't work to use RRR. Fake Vehicle does not work (anymore?) Edited June 6, 2023 by =1stROF=stevie
Habu Posted June 6, 2023 Posted June 6, 2023 The yellow triangle indicates that when the vehicle is destroyed, the explosion is bigger. There is no link with RRR.
IckyATLAS Posted June 7, 2023 Posted June 7, 2023 On 6/6/2023 at 10:49 AM, =1stROF=stevie said: Fake Vehicle does not work (anymore?) That is possible. I will give it a check. Things do change but we are never informed, like we had the the MCU Set Value that did not work as expected for some time and then worked again.
=1stROF=stevie Posted June 7, 2023 Posted June 7, 2023 20 hours ago, Habu said: The yellow triangle indicates that when the vehicle is destroyed, the explosion is bigger. There is no link with RRR. Funny thing is, that it currently seems to work only with vehicle with the triangle.
JG4_Deciman Posted June 7, 2023 Posted June 7, 2023 Strange thing... It should work with ANY vehicle (or even block???) Place Vehicle of your choice Create entity (IMPORTANT) and set same Nation as 'to be refueled/rearmed/... nation' Make Vehicle active on mission Start (IMPORTANT) Next is only to set the right Advanced Properties for that Vehicle: Multiplier for 'Refuel time', 'Rearm time', ... higher than 0 Maintenance Radius set to the Range you want. And any Plane entering that Radius should be able to Rearm, Refuel, ... (as you've set the vehicle) Deci
Habu Posted June 7, 2023 Posted June 7, 2023 (edited) I checked with my old test mission, and it's fine. I don't think that RRR works with blocks. Maybe there is a problem with one vehicle. Edited June 7, 2023 by Habu
=1stROF=stevie Posted June 8, 2023 Posted June 8, 2023 (edited) I've tried several things, but it doesn't budge. I am using spawner (multiplayer). It just doesn't work with fake_vehicle. It's no biggy, cause i'm hiding the truck in in a hangar now. Just noticed that it increases tick by a quite a margin, so it spawns on range detection too (like the rest off the airfield). Once the airfield is captured by the other country, i change it. Maybe that has to do with it. Thanks though <S> Edited June 8, 2023 by =1stROF=stevie
Habu Posted June 9, 2023 Posted June 9, 2023 I don't think it works with the Fake vehicle. I never tried.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now