Add-on Help.
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
-
- Posts: 35
- Joined: November 9th, 2016, 11:04 am
Add-on Help.
I can not get my faction addon to show up in the multiplayer window! I have read and done the section on making new factions in the Create area. What could the problem be?
Oh, and how do you remove a previous topic that you started but are not discussing anymore?
Oh, and how do you remove a previous topic that you started but are not discussing anymore?
Last edited by FG_Prince2000 on November 21st, 2016, 11:53 am, edited 1 time in total.
Re: I can't get my add-on to work!
There's an endless amount of possibilities. Post the whole add-on as an attachment and someone can look at it and say what's wrong.FG_Prince2000 wrote:I can not get my faction addon to show up in the multiplayer window! I have read and done the section on making new factions in the Create area. What could the problem be?
There's no need. We don't delete old threads, they'll slowly sink into oblivion simply by no one posting in them.FG_Prince2000 wrote:Oh, and how do you remove a previous topic that you started but are not discussing anymore?
Re: I can't get my add-on to work!
In order to solve your problem it would be helpful if you gave more specifics because there are many reasons a add-on can not load!
If you post what type of add-on you are creating (era,map pack,campaign), and also post what you want it to do and what it is not doing then the moderators or developers can help you!
If you post what type of add-on you are creating (era,map pack,campaign), and also post what you want it to do and what it is not doing then the moderators or developers can help you!

Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
-
- Posts: 35
- Joined: November 9th, 2016, 11:04 am
Re: I can't get my add-on to work!
I am trying to make a new faction. I only have three units and a movement type so far, but I thought I'd test it to make sure what I have is working before continuing. I followed the instructions on the website, and this is what I've got so far... I cant get the whole folder to get attached so here are the individual files, I have the units in the unit folder, and the neanderfoot in the movetypes folder, and the rest loose in the era folder. ... I also cant get it to attach more than one file, so I'l post each individually.
-
- Posts: 35
- Joined: November 9th, 2016, 11:04 am
Re: I can't get my add-on to work!
Ha! Never mind the attachment thing, I got that to work.
I have no idea what the problem could be, other than I should have another file that makes the faction appear in multiplayer.
I have no idea what the problem could be, other than I should have another file that makes the faction appear in multiplayer.
- Attachments
-
_main.cfg
- (170 Bytes) Downloaded 266 times
-
Neanderthal_Trapper.cfg
- (1.39 KiB) Downloaded 250 times
-
Neanderthal_Stalker.cfg
- (1.6 KiB) Downloaded 274 times
-
Neanderthal_Hunter.cfg
- (1.22 KiB) Downloaded 244 times
-
_units.cfg
- this was also in the units folder.
- (31 Bytes) Downloaded 267 times
Re: I can't get my add-on to work!
Code: Select all
{~add-ons/Neanderthal_MP_Era/units}
Also, don't attach individual files because no one can know where you have them and location matters. Use one of these.
Re: I can't get my add-on to work!
Hi FG_prince2000,
EDIT:
Also when you load your units use
Also like zookeeper said use a file archiver (i recommend 7zip) to upload your entire add-on.
Also to clarify are you expecting another era option to appear under default, default+khalifate,aoh,aoh+khalifate, or are your units description files not loading?
EDIT:
if you have custom images
{~add-ons/YOUR_ADDON_PATH/units/}
rather then {~add-ons/YOUR_ADDON_PATH/units}
without a ending /Also like zookeeper said use a file archiver (i recommend 7zip) to upload your entire add-on.
Also to clarify are you expecting another era option to appear under default, default+khalifate,aoh,aoh+khalifate, or are your units description files not loading?
Last edited by The_Gnat on November 15th, 2016, 8:36 pm, edited 1 time in total.
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.
Re: I can't get my add-on to work!
But that only has relevance for custom images, sounds or music that you might have. If you have none, you don't need a [binary_path].The_Gnat wrote:I usually include a binary_path location in my _main.cfg file under #ifdef MULTIPLAYER:Code: Select all
[binary_path] path=data/add-ons/YOUR_ADDON_PATH/ [/binary_path]
-
- Posts: 35
- Joined: November 9th, 2016, 11:04 am
Re: I can't get my add-on to work!
OK, what should I have in this line, or should I have it at all?zookeeper wrote:That line only tells the game to: 1) if there is a _main.cfg file in that directory, load it 2) if there isn't, then load every .cfg file in that directory (subdirectories not included). And "loading a file" in this context always just means the same as copypasting the files's content into the current location.Code: Select all
{~add-ons/Neanderthal_MP_Era/units}
Also, don't attach individual files because no one can know where you have them and location matters. Use one of these.
Thanks for the tip, I'l use 7zip like the Gnat suggested.
-
- Posts: 35
- Joined: November 9th, 2016, 11:04 am
Re: I can't get my add-on to work!
Should I "clarify" if I want to have another era option? if so, where in what file do I do that?The_Gnat wrote:Hi FG_prince2000,
EDIT:Also when you load your units useif you have custom images{~add-ons/YOUR_ADDON_PATH/units/}
rather then{~add-ons/YOUR_ADDON_PATH/units}
without a ending /
Also like zookeeper said use a file archiver (i recommend 7zip) to upload your entire add-on.
Also to clarify are you expecting another era option to appear under default, default+khalifate,aoh,aoh+khalifate, or are your units description files not loading?
And could I just add this era to the standard list?
And what are the " unit description files". Are they files in which I have specific descriptions for each unit? If so, I don't have any. Should I, and in what folder would I put them if I should.
Re: I can't get my add-on to work!
Depends on what's inside that directory.FG_Prince2000 wrote:OK, what should I have in this line, or should I have it at all?
-
- Posts: 35
- Joined: November 9th, 2016, 11:04 am
Re: I can't get my add-on to work!
I just have unit's cfg files and the _unit.cfg file.
-
- Posts: 35
- Joined: November 9th, 2016, 11:04 am
Re: I can't get my add-on to work!
Another thing, in the Neanderthal_MP_Era.cfg, what do I put in the "type=" slot?
Also, what is a nested quoted string?
Also, what is a nested quoted string?
Re: I can't get my add-on to work!
The "nested quoted string" error, from my experience, usually means that you have forgotten to close a quotation somewhere.
Re: I can't get my add-on to work!
Hi FG_Prince2000,
You probably want to do this:
create a new era that has your units, under the default eras
That is the best way to add your units, if this is what you want to do i can give easy you steps!
Hopefully this helps!!
You probably want to do this:
create a new era that has your units, under the default eras
For Example

Other questions
Creator of: The Reign of The Lords Era,The Gnats Franken Dungeon.