Stupid Q concerning usage of selfmade troop designs

By on January 11, 2013 6:53:09 AM from Elemental Forums Elemental Forums

Star Adder

Join Date 04/2006
+6

I have a question that most might conseider stupid. But be aware of the fact that I haven't played much with custom races yet.

If I create a new race, play that race and design new troops during that game, will those designs also be used by the AI if I start another game with a different race and amongst the selected opponent races is the one I created before and designed troops for?

I think it would be fun playing against your own creations but only as long as they also use the new troop designs...

Locked Post 10 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 7:12:48 AM from Elemental Forums Elemental Forums

Yes, the AI can and will use AI designs that you make for specific factions.

Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 7:49:49 AM from Elemental Forums Elemental Forums

Cool! Thanks for the info!

Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 1:01:55 PM from Elemental Forums Elemental Forums

Related question, is it possible to edit a file somewhere so that a troop you designed is 'hide-able' and not just deletable? Perhaps moving their definition to the file where the vanilla troops are defined?

Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 1:33:28 PM from Elemental Forums Elemental Forums

What is the difference between deleting it and hiding it?

Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 1:49:36 PM from Elemental Forums Elemental Forums

First off, this is not a stupid question, this is a rather good question for people who haven't spent tons of time figuring out themselves!

for Nibelung44: I am trying to figure it out by just looking at the XML by hand, I have happily forgotten all the XML codes and modding stuff I spent some days learning to just be disappointed, anyways

Quoting Nibelung44,
Related question, is it possible to edit a file somewhere so that a troop you designed is 'hide-able' and not just deletable? Perhaps moving their definition to the file where the vanilla troops are defined?

If you go into "Documents/My Games/FallenEnchantress/Units" you will find all your custom units in each separate file named by the unit name.

Both custom Sovereign's and custom units will be placed in here, and if you want to change it open it in a text editor program, like notepad.

I found a few lines when looking at the CoreUnits file, I will highlight them and you can guess and try to see what you want exactly.

now the lines I will propose I think can be put in almost anywhere, but be catious not to put it too much outside the original structure (the structure of the coreunits are different from custom units).

The commands are:

<HideInSetupLists>1</HideInSetupLists>
<IsAIOnlyUnit>1<IsAIOnlyUnit>

I think the first one is the one you were looking for, found the second and wanted to add it anyhoo I think you can also merge the files into 1 big file (Copy the text inside one file into a major file with all of the text), but I was too lasy to test this out myself , sides my graphic cards cooler have stopped working so I practically don't open games these days.

Also found a line you might want to change around if you're looking to create something more specific
<CanBeDesigned>1</CanBeDesigned>

This is switched off for pioneers, so you cannot change the design, in case you use some specific items not supposed to be on the common trained unit.

As I said, haven't tried it, but hope it helps.
(But I did know where to look )

Sincerely
~ Kongdej

Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 1:54:25 PM from Elemental Forums Elemental Forums

Quoting Heavenfall,
What is the difference between deleting it and hiding it?

Heavenfall is right though, if you delete the units, you keep them in your documents folder for future games, the only advantage of hiding the units is you can retrace them from "show hidden units".

If you want to be completely rid of a custom units in a game, you will have to locate it in your documents folder and delete it by hand.... (this have always bothered me)

Sincerely
~ Kongdej

Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 2:49:07 PM from Elemental Forums Elemental Forums

Quoting Kongdej,
If you want to be completely rid of a custom units in a game, you will have to locate it in your documents folder and delete it by hand.... (this have always bothered me)

 

Agree with this, a lot of my enjoyment comes from creating, and playing with and against, customised factions and units. Streamlining the process for the player would be a good thing, imo.

Reason for Karma (Optional)
Successfully updated karma reason!
January 11, 2013 4:01:31 PM from Elemental Forums Elemental Forums

Quoting Kongdej,

Quoting Heavenfall, reply 5What is the difference between deleting it and hiding it?

Heavenfall is right though, if you delete the units, you keep them in your documents folder for future games, the only advantage of hiding the units is you can retrace them from "show hidden units".

If you want to be completely rid of a custom units in a game, you will have to locate it in your documents folder and delete it by hand.... (this have always bothered me)

Sincerely
~ Kongdej

 

I did not knew the deleting was just 'deleting for current game'. Thanks.

Reason for Karma (Optional)
Successfully updated karma reason!
January 12, 2013 8:19:25 AM from Elemental Forums Elemental Forums

Quoting Heavenfall,
What is the difference between deleting it and hiding it?

Deleting implies that the design will not be available to you in future games.  Hiding does not carry that implication.  If they are actually equivalent, SD should change the button to read "Hide" for both stock and player-designed units.

Personally, I like to keep my unit list clean by hiding anything that I'm unlikely to want to build again, so it's good to know that I can hide custom units for the current game without preventing the AI from using them in future games.  (For myself, I'm perfectly happy to repeat the design, but that doesn't help the AI any.)  It would also be nice to have the option of hiding non-designable units...

Reason for Karma (Optional)
Successfully updated karma reason!
January 12, 2013 12:06:34 PM from Elemental Forums Elemental Forums

Quoting nDervish,
Deleting implies that the design will not be available to you in future games. Hiding does not carry that implication. If they are actually equivalent, SD should change the button to read "Hide" for both stock and player-designed units.

Personally, I like to keep my unit list clean by hiding anything that I'm unlikely to want to build again, so it's good to know that I can hide custom units for the current game without preventing the AI from using them in future games. (For myself, I'm perfectly happy to repeat the design, but that doesn't help the AI any.) It would also be nice to have the option of hiding non-designable units...

I really think the delete button should just use the Hide feature anyways, its nice to be able to pull out an older design sometimes.
This would also help clear up confusion...

Sincerely
~ Kongdej

 

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