Script name for Tank Destroyer

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
User avatar
Bogdan
Posts: 149
Joined: 25 Feb 2017, 17:26
Location: Kyiv, Ukraine
Been thanked: 3 times

Script name for Tank Destroyer

Post by Bogdan »

Hello, folks! Please help with 12 epoch scripting. I can't find the proper script name for Tank Destroyer.
Spoiler
Tank Destroyer.png
Tank Destroyer.png (1.29 MiB) Viewed 1083 times
It is not "LightTank", not "LightMounted1/2/3", "Destroyer", etc. I just tried everything. Does someone remember?
Thanks!

User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Script name for Tank Destroyer

Post by Dr.MonaLisa »

Sorry for late reply. I seen the topic on my phone but forgot to reply later when I was on laptop.

Which function are you exactly trying to use?

That's how I usually find it (option Find Files [F3] -> String To Find, in WinRar):

Tank Destroyer:

Code: Select all

tx_utn_LightMnt1_e12_name,"""Tank Destroyer"""
tx_utn_LightMnt1_e12_name:

Code: Select all

LightMounted1UpgradeEpoch12,Tank,"""Unit""",12,250,11,25,10,3.5,65,0,48,0,48,0,0,0,48,0,tx_utn_LightMnt1_e12_name,tx_utn_LightMnt1_e12_pname,LightMounted1_12,,icon_unit_TankDestroyer,[0 0 0 0],0,0,vtt_unit_TankDestroyer,[v_LightMounted1_12_sel01],[v_LightMounted1_12_com01 v_LightMounted1_12_com02],[v_LightMounted1_12_com01 v_LightMounted1_12_com02 v_LightMounted1_12_spe01],[],[LightMounted_Improve_Reset LightMounted1Epoch12Attack],All

My guess would be to try the following:
- Tank (because HeavyTank also exists in upgrade_unittypes.csv)
- LightMounted1_12
- LightMounted1UpgradeEpoch12
- LightMounted1Epoch12Attack

But I suppose the simple "Tank" will work for it.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Bogdan
Posts: 149
Joined: 25 Feb 2017, 17:26
Location: Kyiv, Ukraine
Been thanked: 3 times

Re: Script name for Tank Destroyer

Post by Bogdan »

It's funny, but simple "Tank" works! Thank you!
Post Reply

Return to “Questions”