Page MenuHomeFeedback Tracker

Emptied vehicles keep the player's side instead of civilian (video)
Assigned, WishlistPublic

Description

Empty vehicles can change side!
If your side units jump into an empty vehicle (original class side different from yours), this vehicle stays civilian until your first man is inside. Then it becomes of one of your side (OK, it's the driver's one in fact). Make the units dismount, this vehicle returns to civilian side (normal).

Now, order the same thing to your side units, but jumping into a vehicle (supposed to be in your original side. example: Blufor Hunter or Opfor Ifrit).
First difference: the vehicle changes side (from civilian to yours) as soon as you order it. (no delay!)
vehicle will return the name of driver only when he's climbing aboard (no change).
Then, if you order all your units to dismount the vehicle, this vehicle will continue to belong to your side!!! Emptied vehicle is no more civilian!

Details

Legacy ID
565808866
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

open editor

  • spawn your group (Blue or else);
  • place some kinds of empty vehicles: Ifrit, Hunter, Strider,...

even HMG, helicopters, planes if you want

  • run the mission
  • in debug console, you can test it when you want with a simple

0 = [] spawn {while {true} do {hint format ["side: %1",side cursorTarget]; sleep 0.5}}; // this hints the side of the object/unit you point at.

  • Order units of your group (side) to mount into a vehicle and point at this vehicle. Read the hinted side of this vehicle while units are going to vehicle, then when inside, then when disembarked;
  • remark differences between vehicles which the class is supposed to be in your side and all other ones. For example: empty Hunter for Blufor, empty Ifrit for Opfor, empty Strider for independant.
  • emptied (after disembark) vehicle are civilian if the former class side B_.. O_... isn't yours.
Additional Information

More demonstrative in scripting issue:
In the short video below, I display some units data:
name/type of civilian units are in white.
When a unit is friendly, name/type is in green.
Furthermore, if unit belongs to my (player) side, i add data such as ammo, fuel, status are displayed.
Ready? Pay attention for empty Hunter. ;-)
https://www.youtube.com/watch?v=Ch5fiiN-v6k [^]

Event Timeline

PiepMGI edited Steps To Reproduce. (Show Details)Mar 30 2015, 8:39 PM
PiepMGI edited Additional Information. (Show Details)
PiepMGI set Category to Scripting.
PiepMGI set Reproducibility to Always.
PiepMGI set Severity to None.
PiepMGI set Resolution to No Bug.
PiepMGI set Legacy ID to 565808866.May 8 2016, 11:47 AM
PiepMGI edited a custom field.
Adam added a comment.Apr 1 2015, 10:37 AM

Hello and thank you for your ticket.

This is not an issue. When somebody gets into vehicle. The vehicle ownership is transfered to the person / AI that gets into it which results in the vehicle belonging to a faction even though the person / AI already got out of it.

Adam.
Not at all!
The vehicle remains transfered to your faction if an AI belonging to yours gets into it and then out of it, ONLY IF the type of vehicle is from your side.

That's the reason why I place 2 classes with different sides

  • an empty IFRIT (assumed to belong OPFOR side);
  • an empty HUNTER (assumed to belong BLUFOR side);

Embark one of your unit (say bluefor) in empty Hunter. Hunter STAYS BLUE as you said;
embark the same bluefor unit in empty IFRIT, IFRIT passes Blue just for the time the blufor unit is inside. IFRIT passes Civilian as soon as there is no more people inside.

I took time to explain as far as my English allows me, that there is a difference between empty vehicle from your side and empty vehicle from all other sides when units leave them. I even added a video.
Your answer let me think you don't care and you don't want to waste time for this difference.
It's just something to take into account when you script. Some other people could find this useful or weird. For example, I had to manage this issue to avoid displaying 3D icons on emptied vehicle. It's a choice.

Adam added a comment.Apr 1 2015, 12:19 PM

Thank you. This extra information was a big help. The issue has been scheduled for a fix.