Disable Custom Unit Creation

By on September 14, 2010 11:12:58 AM from Elemental Forums Elemental Forums

Malloreon

Join Date 05/2003
+4

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

5 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
September 14, 2010 11:20:38 AM from Elemental Forums Elemental Forums

<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

Reason for Karma (Optional)
Successfully updated karma reason!
September 14, 2010 12:05:36 PM from Elemental Forums Elemental Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
September 14, 2010 1:34:45 PM from Elemental Forums Elemental Forums

Time to try that out

Reason for Karma (Optional)
Successfully updated karma reason!
September 14, 2010 2:05:09 PM from Elemental Forums Elemental Forums

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 .

Reason for Karma (Optional)
Successfully updated karma reason!
September 14, 2010 4:31:12 PM from Elemental Forums Elemental Forums

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.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108434  walnut1   Server Load Time: 00:00:00.0000422   Page Render Time: