Keeping weapons off a ship??? |
I was looking for a way to keep someone from putting weapons on a specific ship size. And also preventing a component from being placed on any but a single or set of ship sizes.

Re: Keeping weapons off a ship???
Add an unused AI tag ability to the components you want to restrict. Then add a requirement to the restricted hulls to prevent components with that ability from being added to it. I forget what the appropriate function's called but it's something like Get_Ability_Component_Count or something.
~~~
The power of the ancients is now yours to command. You are truly the Master... of the obvious 
Re: Keeping weapons off a ship???
Look at Weapon Mounts, they require a certain hull size, should be able to transfer that code.
Re: Keeping weapons off a ship???
Last I checked, Get_Vehicle_Size_Tonnage() does not work in the Components.txt file. Has this has changed?
"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
GidMod
Re: Keeping weapons off a ship???
For a detailed explanation on how to do what ekolis referred to, read this thread:
Gideon:
Sadly, it has not. 130+ versions, and still our mountless-scale mounts are not possible. 
Re: Keeping weapons off a ship???
There's no time like the present to learn! Python is inherently easy to pick up, by design.




Re: Keeping weapons off a ship???
I think you can make this possible by modify Vehiclestypes.txt