Login |  Register |  FAQ
   
Post new topic Reply to topic  [ 1 post ] 

FAQ for myAGen - custom army lists for AGen

 Post subject: FAQ for myAGen - custom army lists for AGen
PostPosted: Fri May 01, 2015 10:41 pm 
Brood Brother
Brood Brother

Joined: Wed Feb 29, 2012 9:49 pm
Posts: 462
Location: Berlin
I've been asked some questions about myAGen, I put the common ones - rephrased - here

Q: What is the difference between army and army list ?
A: I use the term army for that selection of formations and units your fielding on the table, i.e. your 2000 pt Steel Legion army. In contrast the army list is the collection of categories, formations and units that can be chosen to create an army. An army is just one combination of all the combinations possible according to an army list.

Q: Is there any Javascript framework I can use ?
A: myAGen does not use any framework, so there is none to use by default. You could add a framework, by adding it's include(s) in the html files.

Q: How to have multiple army lists, army books etc ?
A: Just add multiple definitions within it's parent's fInit like this game system with two army books.
Code:
(function () {
   AGEN.newGameSystem ("Epik UK", "Brumbaer’s AGen for Epic UK", function () {
     AGEN.newArmyBook ("Space Marines", 1,
        "#C5DFFA", "#223355", "#F0F8FF", "#C5DFFA",
        function () {
      :
      Armylists
      :
        });
     AGEN.newArmyBook ("Orks", 3,
        "#D2E0B4", "#393F2E", "#F2F9E5", "#D2E0B4",
        function () {
      :
      Armylists
      :
        });
});
})();


Q: Ive created armies using my own army lists. I backuped the armies and he restored them, but they do not show up - but it works with AGen built in armies. Is there a way to share my armies ?
A: Your friend will have to use myAGen and you will not only have to share your armies - which you did in the correct way - but also the army lists. See the next question.

Q: How can a friend use my army lists ?
A: He has to use his own copy of myAGen on his computer. Copy your myAGen.js file and give it to him.
If he has no own myAGen.js file, he just can use the copy.
If he has his own myAGen file he has to merge his and your myAGen.js. See the next question

Q: How to merge myAGen.js files ?
A: You have to copy the relevant part of one file into the other.
It's just as if you would the elements again, but instead of entering them manually, you copy and paste them.
You will have to copy all necessary elements. I.e. if you want to give him an army list that, but he does not have the army book it belongs to, you will have to copy the army book definition as well as the army list definition. If he hasn't got the game system they belong to you will have to copy the game system definition as well - often it will be simpler to copy the complete game system and delete the army books and army lists, you do not need.
When merging elements make sure that the keys are different from the keys of the elements already in the file.

Q: Why can't I see armies created with AGen in myAGen and vice versa.
A: AGen and myAGen use so called local storage for saving army lists. The local storage is stored where the website running is hosted. AGen and myAGen are hosted at different places, AGen at brumbaer.de, myAGen at your computer. You can copy armies by using backup and restore, but custom armies will not show up when using AGen, because it does not know the army list.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: Google [Bot] and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB ® Forum Software © phpBB Group
CoDFaction Style by Daniel St. Jules of Gamexe.net