About anti-missile ship

Modding, Map Editor, IES Scripting and Other Questions
User avatar
yangc
Posts: 35
Joined: 08 Jul 2020, 15:52

About anti-missile ship

Post by yangc »

HI!Long time no see :D
I met some tough problems recently.
I changed anti-missile ships to be able to attack other units instead of just ballistic missiles,but why it launch many missiles at a time?
Would you please show me how to do it?Thanks!
1.png
1.png (4.7 KiB) Viewed 2428 times
2.png
2.png (13.17 KiB) Viewed 2428 times
EE2_ScreenShot0.jpg
EE2_ScreenShot0.jpg (377.01 KiB) Viewed 2428 times

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

Re: About anti-missile ship

Post by Dr.MonaLisa »

Hi. The "reloadTime" from the .ddf file is skipped when the UnitType is defined in "upgrade_unittype5.csv". So the value is most likely very low there. You must have changed it manually, otherwise it would still be like ~20 seconds reload.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
yangc
Posts: 35
Joined: 08 Jul 2020, 15:52

Re: About anti-missile ship

Post by yangc »

I edit the upgrade_unittype5.csv ,but it still fire many missiles at a time.
It's more confuse that I change the Battleship.ddf(DefaultModel = nb15_Leviathan.nif → nd13_chinaship.NIF)and the Leviathan battleship fire many missiles at a time too.
User avatar
Dr.MonaLisa
High Representative
Posts: 8707
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: About anti-missile ship

Post by Dr.MonaLisa »

Are they firing it all the time? Or just few missiles come at once, then pause?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
yangc
Posts: 35
Joined: 08 Jul 2020, 15:52

Re: About anti-missile ship

Post by yangc »

It's the latter.
User avatar
Dr.MonaLisa
High Representative
Posts: 8707
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: About anti-missile ship

Post by Dr.MonaLisa »

Sorry, what did you mean by "latter"? Did you manage to fix this problem?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
yangc
Posts: 35
Joined: 08 Jul 2020, 15:52

Re: About anti-missile ship

Post by yangc »

It fire few missiles come at once.
No,I don't understand why my modification didn't work..
User avatar
Dr.MonaLisa
High Representative
Posts: 8707
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: About anti-missile ship

Post by Dr.MonaLisa »

So they start few at once, then pause? Or it's like a non-stop firing?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
yangc
Posts: 35
Joined: 08 Jul 2020, 15:52

Re: About anti-missile ship

Post by yangc »

Yes,They start few at once, then pause.
User avatar
Dr.MonaLisa
High Representative
Posts: 8707
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: About anti-missile ship

Post by Dr.MonaLisa »

What if you remove the "turretControllerName" and it's value?

As in turret.ddf:

Code: Select all

TurretControllerData leviathanTurret
{
	patterns = [
		{ bankName = "tag_bank_1"
		  sequence = [
		  	{ tags = [ "tag_muzzle_1_1" ] }
		  	{ tags = [ "tag_muzzle_1_2" ] }
		 		  ]
		}
		{ bankName = "tag_bank_2"
		  sequence = [
		  	{ tags = [ "tag_muzzle_2_1" ] }
		  	{ tags = [ "tag_muzzle_2_2" ] }
		  		  ]
		}
	]  			
}
Maybe the .nif file has too many "tag points"? Or lack of them? So it starts from several at once?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Post Reply

Return to “Questions”