ForestDragon's WML questions
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.
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
ForestDragon's WML questions
hello, am kinda curious if it's possible to add more things into [sound][/sound] or [music][/music] other than just the sound itself, like speed, pitch, ect? just curious
Last edited by ForestDragon on May 23rd, 2016, 6:11 am, edited 1 time in total.
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re: ForestDragon's WML questions
ok, so i am making a new MP mod, and i might need a bit of help (btw, i is called XP bank):
1.i need to make a variable, that has different amount for each side (aka 'stored_exp', but different for each side, like side.stored_exp, or something, help pls)
2.i need to check the units exp, so it turns into a variable, or just simply check it, so that it cant turn it into stored_exp foreverfigured out
1.i need to make a variable, that has different amount for each side (aka 'stored_exp', but different for each side, like side.stored_exp, or something, help pls)
2.i need to check the units exp, so it turns into a variable, or just simply check it, so that it cant turn it into stored_exp foreverfigured out
Last edited by ForestDragon on May 24th, 2016, 12:08 pm, edited 1 time in total.
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Re: ForestDragon's WML questions
1. I tend to use names like a_1 to a_9.
2. Not sure what you ask.
2. Not sure what you ask.
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re: ForestDragon's WML questions
1.i also might need something to check whose turn it is, and the interacted unit's side too, to make sure that the exp will be deposited to, and withdrawn from that side's XP bank
2.i guess this.unit.experience will do
2.i guess this.unit.experience will do
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re:Need Help making a MP mod
help, i cant get my mod to display in the modification selection (plus, it didn't even give me an error message or anyhing ), here are all the files:
EDIT:changed the filenames, still not working
xpbank_mod.cfg:
xpbank_event.cfg , very incomplete:
Last edited by ForestDragon on May 26th, 2016, 5:24 am, edited 3 times in total.
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Re: ForestDragon's WML questions
Better check those filenames.
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re: ForestDragon's WML questions
changed the filenames, still not working, i think it may be something else
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Re: ForestDragon's WML questions
Even main.cfg?ForestDragon wrote:changed the filenames
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re: ForestDragon's WML questions
no, just the ones mentioned in main to what they are
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Re: ForestDragon's WML questions
Well there you go then. Naturally a file called main.cfg does nothing by itself.
Re: ForestDragon's WML questions
What zookeeper is actually trying to say is that it should named
_main.cfg
(note the leading underscore), not main.cfg
.Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re: ForestDragon's WML questions
umm it is actually in the files _main.cfg sorry for confusing you. the only suspects i have is the mod file itself, and the event
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
- ForestDragon
- Posts: 1769
- Joined: March 6th, 2014, 1:32 pm
- Location: Ukraine
Re: ForestDragon's WML questions
ok, new state of files (i removed mods, and macros folder, and put the files into main folder)i don't even know what to do:i checked other mods that worked, and found nothing wrong with mine, yet it still doesn't show up (well, it shows up in addon menu) (btw, i am on a different computer, where it's still 1.11.5):
_main.cfg:
xpbank_mod.cfg:
xpbank_event.cfg:
My active add-ons: The Great Steppe Era,XP Bank,Alliances Mod,Pestilence,GSE+EoMa,Ogre Crusaders,Battle Royale,EoMaifier,Steppeifier,Hardcoreifier
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
My inactive add-ons (1.12): Tale of Alan, The Golden Age
Co-creator of Era of Magic
Re: ForestDragon's WML questions
Works perfectly fine for me. That is, the game reads the files until it chokes on the syntax errors.
Most likely you have the files in the wrong place or their extension isn't actually .cfg.
Most likely you have the files in the wrong place or their extension isn't actually .cfg.