Possible to restrict mounts to a range of kT? |

I'm fiddling around with a mod right now that has three ship sizes that are all available at the start and each gets bigger as its level is increased. Is there a way to specify that a mount can only be used on a ship between, say, 400 and 950 kT? Also, are there other ways to restrict mount usage, perhaps by the name of the vehicle type?
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Possible to restrict mounts to a range of kT?
Soumis par Captain Kwok le Mar, 2007-05-15 06:34
Look at the existing entries in CompEnhancement.txt. To make a range, just add another requirement for the size... ie:
Requirement 1 Description := The vehicle size must be at least 400kT and less than 950kT.
Requirement 1 Formula := Get_Vehicle_Size_Tonnage() >= 400 and Get_Vehicle_Size_Tonnage() <= 950
The field "Can Be Place On Vehicle Types" is where you can construct a comma separated list of valid vehicle types for a mount.
» Vous devez vous identifier ou créer un compte pour écrire des commentaires




Re: Possible to restrict mounts to a range of kT?
ehm. would not that specificly limit a players strategic options and thus take a bite at his or her playing experience?
~Myrath