About This Club
Join this if you want more info about my mods and stuff. This is totally not a sinister personality cult or mass brainwashing program.
- What's new in this club
-
bth_egu joined the club
-
Unity joined the club
-
sonil_or_you joined the club
-
Wooodex joined the club
-
wafflestein8 joined the club
-
Kalidos joined the club
-
ioqqio joined the club
-
Kerguelen Mapping joined the club
-
Jojoplaze12.0 joined the club
-
Using a program called PNGOUT, you can optimize the size of PNG files and save storage space. You can use this on any .png that AoH2 uses, whether it's a flag, scenario thumbnail, leader portrait, or even a map background. Normally you run this program in Command Prompt, but you can also just drag your .png onto PNGOUT.exe and it'll do the job. I was able to save roughly 8 MB of space by compressing every graphic in AoH2 using PNGOUT.
-
HacrHehe joined the club
-
strategymappin joined the club
-
Mewster joined the club
-
Anomaly1302 joined the club
-
DaWasp024 joined the club
-
PHZanoniGamer joined the club
-
Drip Franco joined the club
-
leopro joined the club
-
No Surviving joined the club
-
GDKAYKY joined the club
-
Lta joined the club
-
Fearless Okan joined the club
-
Tec joined the club
-
Reza Shah joined the club
-
aleksandr joined the club
-
Budbud joined the club
-
A lot of modders choose to upload their mods to Google Drive. Typically they post two links: one for the PC version of their mod, and one for the Android version. And on some occasions, a modder will share links to past versions as well. But having to constantly replace the download links whenever a new update rolls out can be a hassle. In fact, there's a more automated way to go about updating your mods that nobody appeared to be using until now. So how can you make the process of updating easier? It's so simple that even a no-good, incompetent spam-bot could do it. Simply place your mod downloads in a new folder and share the folder in the same way you would a file. You can see an example of this with The Lost Update. Now whenever you want to upload a new version of your mod, you can just upload it in the new folder and it will automatically appear for everyone to download. You can also keep past versions in there as well, but make sure to mark them as old so people won't get confused trying to find the latest version. Another option is to create another folder inside of the current folder and place your old versions in there.
-
3 Tips for Creating Soundtracks
Chairman Baad replied to Chairman Baad's topic in The Collective's Modding Tips
Additional Info: Deconstructing the yt-dlp Command The command for using yt-dlp may appear a bit intimidating, especially to people who aren't familiar with how youtube-dl (the program yt-dlp is based on) works. But don't fret! I'll deconstruct the command I showed you so you can get a clearer understand of what exactly yt-dlp will do. yt-dlp -U -f ba -o "%(title)s.%(ext)s" --restrict-filenames --no-abort-on-error -x --audio-format "vorbis" --ffmpeg-location ffmpeg\bin [playlist url] Let's see what each part of this command is for, shall we? yt-dlp -U: This part runs yt-dlp and checks for updates. Everything after tells yt-dlp what it's downloading, how to download it, and what to do with the downloaded files afterward. -f ba: This tells yt-dlp to download videos in the best available audio format. "ba" stands for bestaudio. -o "%(title)s.%(ext)s": This tells yt-dlp to name each downloaded file as the title of the video followed by the file extension. Without this, the video IDs would also be added to the file names. It would be a hassle to remove the video IDs from every file name, so this part will take care of it for you. --restrict-filenames: This tells yt-dlp to remove all non-ASCII characters, including spaces. Spaces are replaced with underscores, just like the music files AoH2 uses. --no-abort-on-error: Sometimes when downloading a playlist, an error may occur which will halt the download process for the rest of the playlist. This part of the command tells yt-dlp not to halt the download process after an error has occurred. You won't have the entire playlist downloaded by the end, but at least your download won't be interrupted. -x --audio-format "vorbis": This part tells yt-dlp that after each video has been downloaded, it needs to be converted to the .ogg format. --ffmpeg-location ffmpeg\bin: This part shows yt-dlp where FFmpeg is located. FFmpeg is required in order to convert the downloaded videos to .ogg. [playlist url]: This part is pretty self-explanatory. This is where you put the URL of the playlist you want to download. Just make sure not to include the brackets. -
Soundtracks! They shape the atmosphere of a mod and can control the emotion and tone of the player's game session. With many modders opting to replace the soundtrack of the base game (courtesy of Kevin MacLeod), actually getting new songs for the game can be very tedious. However, I have cracked the code of soundtrack creation and discovered 3 techniques to automate and simplify this otherwise time-consuming process. NOTE: This modding instruction assumes you're using Windows and have Notepad++ installed. If you don't have Notepad++, you can install it here. 1. Using yt-dlp and FFmpeg to Download Playlists Let's begin with downloading songs! You're most likely going to grab songs from YouTube, in which case there are two special tools that can speed this up. My go-to YouTube downloader is yt-dlp because it's feature-rich, open-source, and way faster compared to services like Kapwing or those shady online downloaders. yt-dlp works from the command-line, meaning you can only use it through Command Prompt. And trust me, it's actually way easier than it sounds. One of the most useful features yt-dlp has for creating a soundtrack is the ability to download entire playlists. It also works with a media framework called FFmpeg to convert video and audio into other formats. By using both of these tools together, we can quickly download a set of videos and then convert them to .ogg format without having to process each video one at a time. So now let's learn how to use these tools to download a playlist for use as an AoH2 soundtrack! To get started, create a new folder on your desktop and name it whatever you want. Download the latest version of yt-dlp from here. (scroll down and get the file named yt-dlp.exe) Download the full build of FFmpeg from here. 7-Zip File Manager is required to extract the builds. Once you've downloaded yt-dlp and FFmpeg, place everything in the folder you just created and rename the extracted FFmpeg folder to "ffmpeg". Open Command Prompt and run this command: cd Desktop\[folder name] Replace [folder name] with the name of the folder you created. Now, you need to find a playlist. For an AoH2 mod, I recommend search terms like "epic trailer music" or "strategy game soundtrack" since it's what most modders usually go for. Go back into Command Prompt and run this command: yt-dlp -U -f ba -o "%(title)s.%(ext)s" --restrict-filenames --no-abort-on-error -x --audio-format "vorbis" --ffmpeg-location ffmpeg\bin [playlist-url] Replace [playlist url] with the link to the playlist you've chosen. Once you run the command, all the files from the playlist you chose will be downloaded and converted into a music file you can use in AoH2. 2. Editing an Age_of_Civilizations File This step deals with making your music files play in AoH2 itself. See, Age of History 2 uses files named "Age_of_Civilizations" (a relic of the game's previous identity) to store lists of game elements like civilizations and scenarios. If something doesn't appear in Age_of_Civilizations, it won't show up when you go to play the game. AoH2's music folder contains 3 files of interest: an Age_of_Civilizations file, Impact_Allegretto.ogg, and Scheming_Weasel.ogg. Impact_Allegretto.ogg is the music you hear whenever you start the game, while Scheming_Weasel.ogg is the music you hear while using the console. Here's how to use your downloaded music files in AoH2! Start by deleting all the files in the AoH2 music folder except for the 3 files I just mentioned. Drag all the audio files you got from YouTube into the music folder. Open the Age_of_Civilizations file in Notepad++ and delete everything in it. After that, you'll want to open Command Prompt again. This time, you'll want to run this command: cd C:\Program Files (x86)\Steam\steamapps\common\AoCII\music This is the location for vanilla AoH2. A lot of mods will rename "AoCII" to something different, so just replace "AoCII" to whatever the mod directory is named. Once you've done that, run the dir command. This will list each file in the music folder and allow you to copy all the file names at once. Hold down ALT and drag over each file name until all the file names are selected, then copy them and paste them into Notepad++. In Notepad++, delete Age_of_Civilizations, Impact_Allegretto.ogg, and Scheming_Weasel.ogg from the list. On the very last item in the list, add a semicolon at the end. Hit Ctrl+A to select the list, Ctrl+J to join all the items into one line, and Ctrl+F to bring up the Find and Replace tool. Click on Replace, put a space in the "Find what" box and a semicolon in the "Replace with", hit Replace All, and you're all set to use your new soundtrack in AoH2. Just don't forget to save! 3. The Hidden Power of .obb Files This one is specific to Android, but it can save your players a ton of storage space, which is a big deal for people who have issues installing mods on their phones. Open MT Manager, tap on "Android", and then on "obb". You'll notice a folder named "age.of.civilizations2.jakowski.lukasz". If you have mods installed, you'll see a similarly named folder for each mod you have. If there aren't any folders, you can create one and name it age.of.civilizations2.jakowski.lukasz. If you open the folder, you may see an .obb file which contain the soundtrack for your mod. If not, that's OK! You can download my recreation of HoI4's Sabaton Soundtrack and use that. But if you see an .obb already in the folder, take note of the file name, "main.4.age.of.civilizations2.jakowski.lukasz". You can swap the .obb that gets loaded by renaming it to that string. Now comes the part where you add your soundtrack to an .obb file. Have an .obb file ready. Again, you can use my Sabaton Soundtrack if you haven't already found the one AoH2 actually uses. Open the .obb with "ZIP Viewer", open the "music" folder inside it, and delete everything except Age_of_Civilizations. Download your AoH2 music folder from your PC to your phone. Open your downloaded music folder and select everything inside. Prepare to add everything from your own music folder to the music folder in the .obb. Set the level to "Storage" and keep "Replace all" as the update mode, and then hit OK. Once that's finished, exit the .obb and rename it to main.4.age.of.civilizations2.jakowski.lukasz if needed. Or if you're working with a mod, name the .obb file main.4.[whatever the folder for the mod is called]. And with that, you've successfully ported your soundtrack to Android without touching any ay-pea-kays! If the songs don't play, try setting the level to "AРK mode" instead of "Storage". If you want to use someone else's .obb file in AoH2, simply go to Android/obb/age.of.civilizations2.jakowski.lukasz and overwrite the .obb in there with the one you downloaded.
-
Fireboy joined the club
-
CopenhaguenLink joined the club
-
No one cares about clubs anyway.
-
Meiji joined the club
-
Bob The Leader joined the club
-
Winston Stark joined the club
-
kadir yilmaz joined the club
-
JoJoPlaze joined the club
-
AoH2 typically names a province after its city. But you can actually change the province name to whatever you want. And even without a city in the province, you can still give it a name other than "Fokus". This is done through a map's province_names folder. In the base game, this is how the sea provinces get their names. How to add a unique province name: Find the ID of the province you want to name by going into "Edit Connections And Provinces". In your AoH2 directory, go to map/<map name>/province_names. If you don't have a province_names folder, copy the one from the AoH1 map into your map. Open the names file in a text editor, preferably Notepad++. Add your province name on the line with a value one higher than the province ID. (ex. province ID 1821 = line 1822) Save your changes and reload the map. And now whenever you hover over the province in-game, you'll see the name you gave it regardless of how many cities are in it!
-
Lim10 joined the club
-
Deniz Sahin Akkaya joined the club
-
Mods on Android
Chairman Baad replied to Vice Admiral Nelson's topic in The Collective's Modding Tips
Create your mod on PC, then copy the files from your mod to your phone and use this to extract and edit the AoH2 AРK file. -
When it comes to adding cities to a map, you have two methods for how to do it. The first method is to use the in-game city editor, and while this does work in adding new cities, it doesn't let you change existing cities. It also displays new cities at the incorrect level. The worst part is that it leaves a file for each city, therefore forcing Android modders to add these and bringing their mods closer to the 65,536 resource limit. The second method is by using the cities.json files in the map's cities folder. This method requires you to have the map editor open, but the process for adding cities is still quite easy. It also lets you change existing cities and displays cities correctly while only using 1-5 files. Let's go through the steps for using cities.json in a map. Go into your map's directory and go into the cities folder. If it does not exist, create it. Add a file for each level of city you plan to create: cities.json for capitals, cities_1.json for major cities, cities_2.json for towns, cities_3.json for villages, and cities_4.json for hamlets. For each new file you created, copy the below example into it. Replace City 1 with your city name, and copy the parts in bold for each city you plan to create on the same level. { cities: [ { Name: "City 1", x: 0, y: 0 }, ], name: Earth } 4. This is the part where you need the map editor: click the point on your map where you want each city to appear. For each point, you will get a set of coordinates in the top-right corner. Replace the "zero coordinates" for each city with the corresponding set you got from the map editor. And now you're done! Unless you recreated some cities you made with the in-game city editor, in which case you'll need to delete the city editor versions. But now you can reload your map and see your new cities appear!
-
ToTBruhone joined the club
-
Do you know if someone can create a mod working on Android? If yes can you tell It ti me here? I have a lot of ideas but playing on Android...it's difficoult. Thanks
-
Vice Admiral Nelson joined the club
-
Anglo-Dutch joined the club
-
Lipark Japanese modder joined the club
-
Dolphin General joined the club
-
If you've seen or created an event before, you'd understand the various issues behind the event text. Why can I only see part of the text in the event creator? Why did the description I just wrote get deleted when I added a trigger? Why are all the events in a different language? For many mods, these issues are common in scenarios with events. Luckily, there's a better way to display event text: event localization! Inspired by the system in Hearts of Iron IV, and originally demonstrated in The Reaper's Collection (rest in lack of content and peace) before being used in Norrvägen and The Second Great War, event localization alleviates all of the issues present with the standard way of event writing. So how do you use event localization? Event localization is a process that's simple for even a first-time modder. Go into your AoH2 directory, go to game/languages/, and open Bundle.properties. (the English language file for AoH2) Write your event's title, description (if you plan to add one), and outcomes under a tag for each piece of text. Be careful not to use the same tag for more than one event. Here's an example with the Turkish defensive pact event from TCBC. In this example, _t corresponds to _title, _d is for _description, and _o1 and _o2 are for _outcome1 and _outcome2 respectively. Replace each tag and description with your own, and make sure to save your changes! tur_azeripactexp_t = Defensive Pact with Azerbaijan Expiring tur_azeripactexp_d = Our agreement for mutual security with Azerbaijan is set to expire on the 16th of August. However, we have the option to renew the agreement and extend it until 2030. The only catch: both parties must agree to a renewal. What should we do? tur_azeripactexp_o1 = Appeal for a renewal. tur_azeripactexp_o2 = Let it expire. 3. In the AoH2 event creator, instead of writing your event text like you normally would, write the tags corresponding to the ones you added in Bundle.properties. And that's it! You've just set up an event using event localization! During gameplay, if your event pops up and you see the event tags instead of your text, go into the settings and reselect your game language. This reloads the Bundle files so that your text will appear the next time you see the event. Now how does this solve the issues with normal event text? Let's go over that, shall we? Why can I only see part of the text in the event creator? By writing your event text in Bundle.properties, you are relieving yourself of this issue by using a text editor instead of the event creator. Unlike the event creator which doesn't let you scroll through your text, a text editor will let you see your text in full, allowing for longer descriptions and clear writing. Why did the description I just wrote get deleted when I added a trigger? It is frustrating to spend a few minutes writing an event description only to lose it upon adding a new trigger. But with event localization, you don't have to spend another few minutes retyping your description from the beginning. The next time you lose your description, you can simply retype the description's tag rather than the description itself, saving you some precious time in the event creator. Why are all the events in a different language? Ah yes, the classic "events only support one language" issue. This is probably the biggest advantage of using event localization: events can support multiple languages! Let's say that you want your event to support Turkish and English. By writing your English event text in Bundle.properties and your Turkish text in Bundle_tr.properties, players will see the event text in the correct language whether they're playing in English or Turkish. No more confusion or duplicate scenarios for each language! Now that you know the steps and advantages of using event localization, I hope you consider using it the next time you add events to a mod or scenario!
-
JR Rachidovsky joined the club
-
Lakhal joined the club
-
Friedrich Wilhelm joined the club
-
Otsugua joined the club
-
urdekreiz joined the club
-
RapidestJarl635 joined the club
-
EPIC GAMER joined the club
-
Spartanus joined the club
-
Ecofcu joined the club
-
YeeshBoe joined the club
-
Commie joined the club
-
Things You Should Do When Making a Mod
Chairman Baad posted a topic in The Collective's Modding Tips
Things You Should Do When Making a Mod General Issues Consider the mod you want to make. Are you going for a story-driven mod with diverging paths? Or maybe you want to focus on a certain era of human history? The first thing you should always consider before making a mod is what kind of mod you're going to make. Know your limits. Try to refrain from having too many projects going at the same time. If you have 3 mods in the works and you're trying to focus your attention on one mod at a time, players who were looking forward to the other mods might be disappointed with having to wait longer. Don't steal! Stealing content from another mod is one of the worst things you could do in development. You could get into some serious trouble with the developer of the mod you stole from, or with the players if they recognize whatever got stolen. Consider using The Lost Update. The Lost Update is an unofficial update for AoH2 that includes various fixes and improvements. Scenarios Do your research! If you're making a historical scenario, do some research on the year or era your scenario is set in. What was going on in each continent? Which nations existed? Which cities were capitals? Historical scenarios should be as accurate as possible to ensure high quality. Fill in all the necessary provinces. Sometimes a tiny province like Monaco or Hong Kong gets left unclaimed by any country in some scenarios. Make sure to double-check all the provinces and make sure that they are claimed. Custom Maps After completing a map, check the province settings. Did you set the growth rates up? How about the terrain types? The continents and regions? Details like that can make or break a map, no matter how many provinces it has. Events DO NOT use the "Decision taken" trigger. This mistake killed my #1 mod and effectively puts every event-driven mod at risk of breaking. There is a bug in AoH2 where if you take a decision on an event and then save and reload your game, the game won't remember that you made that decision, thereby disabling any events that were supposed to trigger from the decision. Don't use the "Have army" and "Have a core" triggers. Those are broken and will cause the event to always fire. On the Forums Bump your thread every once in a while. Players might not try your mod if they don't see the thread. Posting something in your mod thread will "bump" your mod to the first page of the mod list, where more people will see it. It will also let players know that you are still active. Watch out for spam-bots! We all know those casino and drug loving spam-bots that flood the forums with nonsense and bury people's threads. If your mod gets buried by spam-bots and Łukasz isn't there to beat them with his shoe, you should wait until the spam-bots stop posting and then bump your thread. Keep your players updated! Don't leave them in the dark for long periods of time! This may make the players think that your mod is stuck somewhere in development, or even dead! Every now and then, try giving them a little update on your mod's development. It doesn't have to be a big teaser. Even a simple "this mod is alive" will work.
-
Posts