Jump to content

Rptd: Custom unit with "include" line in blk causes user mission to return to hangar when starting with "Mission Failed" screen


Game Version:

2.9.0.108

Platform:

PC

Description  of Issue:

Any custom/user air (armada) unit that has "include" in its blk will cause the user mission to instantly return to hangar with "Mission Failed" screen. This is not intended behavior as the wiki article for the CDK for creating custom units says this :

Spoiler

It is possible to make a custom unit based on any other unit in game and modify it a bit. To do that you have to:

  1. Create a new BLK file and give it unique name
  2. Place the BLK in the correct folder depending on what kind of unit you want to edit
    • WarThunder\content\pkg_local\gamedata\flightModels - planes
    • WarThunder\content\pkg_local\gamedata\objectGroups - static objects
    • WarThunder\content\pkg_local\gamedata\units\air_defence - stationary AAA units
    • WarThunder\content\pkg_local\gamedata\units\structures - bridges, artillery units and other stationary objects that can be destroyed
    • WarThunder\content\pkg_local\gamedata\units\tankmodels - tanks
    • WarThunder\content\pkg_local\gamedata\units\tracked_vehicles - AI low quality tracked vehicles
    • WarThunder\content\pkg_local\gamedata\units\wheeled_vehicles - AI low quality wheeled vehicles
    • WarThunder\content\pkg_local\gamedata\units\ships - boats and ships
    • WarThunder\content\pkg_local\gamedata\weapons - weapons
  3. Open the BLK file
  4. Paste the code below and use it as a template


		
  • include: Imports all the code from an existing unit in-game
include "[path and .blk name of the weapon or unit as it is written in your weapon preset]"

You should be able to modify an existing air unit, but trying to do so will cause the bug shown in the attached video.

 

Steps to reproduce:

1. Create custom unit .blk with unique name in 

War Thunder\content\pkg_local\gameData\flightModels

2. Put "include" line in like shown

include "#/develop/gameBase/gameData/flightModels/tiger_uht.blk"

(or any other plane/heli blk name listed here )

3. Assign unit to user mission and launch WT

4. Start user mission and witness it going back to hangar instantly and with the "Mission Failed" screen.

 

Additional information:

YouTube video: 

 

2021_10_27_11_56_48__15068.clog DxDiag.txt

medal medal medal

Share this post


Link to post
Share on other sites

  • 1 month later...
  • Senior Technical Moderator


Hi,

Thanks for the report.

We will investigate, test and get back to you shortly,

Cheers,

Technical Moderation Team
 

Share this post


Link to post
Share on other sites

  • 2 weeks later...
  • Senior Technical Moderator
On 17/12/2021 at 02:09, Jackaroo0505 said:

I forgot to mention that it not only happens with helis, but also planes.

Thanks for that information.

Share this post


Link to post
Share on other sites

  • 2 months later...
  • Senior Technical Moderator

Do you still have this issue?

 

There is never a time where we can say an issue will be resolved.  Or even if it will be for that matter.

 

Issues are triaged in the Tech section.  Time of report etc means very little.  Those issues that stop folks playing or impact a larger group of players are addressed first.

 

Bespoke issues like this one are a low priority.

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

  • Senior Technical Moderator

Thank you for the report. The information provided has been passed on to the Developers for review.
 

  • Thanks 1

Share this post


Link to post
Share on other sites

  • KnightoftheAbyss changed the title to Rptd: Custom unit with "include" line in blk causes user mission to return to hangar when starting with "Mission Failed" screen
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...