Question about Weapon Types and Mines
-
Well, I’m in a bit of a bind. I’m trying to create am EMP mine that damages only shields, which in itself is easy enough, but the issue arises because we have one type of ‘shield’ mounted in the shield hardpoint that is ‘ablative armour’ and as such is non-regenerative.
The issue is that the EMP mine damages both this ‘ablative armour’ and standard shields, which we don’t want to happen. I’ve tried adding in the line “weapon_type = xxxxxxxxx” into the code for the Mine, but no dice. So I’m just wondering what ideas people have to make this work or if it is even possible.
I’ve tried making a ‘mine’ from a modified missile launcher and a modified gun, but neither worked.
So I’m open to suggestions.
Thanks
Avenger -
What you have to do is actually related to weapon_type.
Basically, you have to go in your ablative armor “shields” and change their type to, say, “shield_ablative”. Then, you go in WeaponModDB.ini and make a new weapon type, “weapon_emp”, and list all the shield types in there. Then you make sure “shield_ablative” has a 0 multiplier.
Rinse and repeat for all other types you need!
-
I’ve already done that, and just forgot to mention it in my original post. Sorry.
My question was will it work with mines? I know the weapon_type = works with energy weapons and ?missiles? But I’ve tried putting it in the [mine] entry without any luck. Further, I’ve gone over my code to make sure I haven’t accidentally spelled something wrong, which I haven’t. So I"m going to go and test some more and see for sure either way.
Thanks for the attempted help though,
AvengerEDIT: I’ve tried out the weapon_type line in both the [explosion] and [mine] entries without and luck.