Page 1 of 2

About anti-missile ship

Posted: 23 Jul 2020, 09:18
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 2448 times
2.png
2.png (13.17 KiB) Viewed 2448 times
EE2_ScreenShot0.jpg
EE2_ScreenShot0.jpg (377.01 KiB) Viewed 2448 times

Re: About anti-missile ship

Posted: 23 Jul 2020, 21:03
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.

Re: About anti-missile ship

Posted: 24 Jul 2020, 04:51
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.

Re: About anti-missile ship

Posted: 24 Jul 2020, 04:59
by Dr.MonaLisa
Are they firing it all the time? Or just few missiles come at once, then pause?

Re: About anti-missile ship

Posted: 24 Jul 2020, 06:22
by yangc
It's the latter.

Re: About anti-missile ship

Posted: 26 Jul 2020, 03:24
by Dr.MonaLisa
Sorry, what did you mean by "latter"? Did you manage to fix this problem?

Re: About anti-missile ship

Posted: 26 Jul 2020, 03:29
by yangc
It fire few missiles come at once.
No,I don't understand why my modification didn't work..

Re: About anti-missile ship

Posted: 26 Jul 2020, 05:03
by Dr.MonaLisa
So they start few at once, then pause? Or it's like a non-stop firing?

Re: About anti-missile ship

Posted: 26 Jul 2020, 05:13
by yangc
Yes,They start few at once, then pause.

Re: About anti-missile ship

Posted: 26 Jul 2020, 06:03
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?