Disable Custom Unit Creation

I was wondering if anyone knows a way to permanently disable the creation of custom units?

I want to make a mod (preferably in a campaign setting) in which all races come with pre-made units, and a different tech tree. Making the units and related tech trees should be easy (if time-intensive), but the work would be useless if custom unit creation can't be turned off.

 

Now that im thinking about it, if i turn of all techs that provide weapons and armors I might not even have to turn it off .... hmmmm

4,318 views 5 replies
Reply #1 Top

<IsUniqueButBuildable>1</IsUniqueButBuildable>
<!-- This keeps it out of the unit design wnd -->

Admittedly I haven't tested this out, but in theory as long as all your units (as defined by unit types) have that line then, whilst custom units wouldn't be turned off, there would be no base entries for you to design from

Reply #2 Top

Yes you could just change the tech trees so they just provided improvements that could build a certain type of unit, design those units assign them to the building and set the flag  on them as Terraziel describes. I mean if you are doing a total conversion anyway.

Reply #3 Top

Time to try that out :)

Reply #4 Top

Thanks for posting this question. The next step in my mod was going to be trying to disable this ability and adding static units through techs :).

Reply #5 Top

;)

I think I might actually allow a small amount of customization: such as the ability to add certain special attacks/abilities to pre-made units. But we will see.