You must be logged in to post messages.
Please login or register

Mod Design and Discussion
Moderated by Sebastien, John the Late

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: The AOKH Modders Guild
« Previous Page  1 ··· 10 ··· 16 17 18  Next Page »
posted 06-21-14 03:43 AM CT (US)   





Welcome to the AOKH Modders Guild.

You can ask questions here, use it as a discussion board or simply use it as a reference when you need help; for both Steam and Userpatch versions of the game.

However, please note, the majority of this topic is written for the Userpatch 1.5 edition of AOK.


If you don't already have Userpatch, I would recommend you download it now.


Userpatch is a fan made patch which adds a ton of new features to the vanilla game and is indispensable to the both the scenario design and the online community.
It also opens many new doors to the modding capabilities of the game; these are just a few of the additional options Userpatch can offer:

- Add new civilizations
- Add the 5th resource to your mod
- Use hidden resources for creating new effects or stats for units, creating limited buildings and more.
- Creating many new tech effects, opening up a wide array of options, including techs which effect allies and enemies.
- Add in HD style additions, such as revealing relics on map, creating Feitoria type buildings, add siege towers which send units over walls, garrison villagers and sheep into ships...and much much more.












First of all you need to understand the different file types of AOK and how we can edit them accordingly. Everything you will be editing is stored in your Age of Conquerors directory and might look something like this:

C:\Games\Age of Empires 2\Data

Within the data folder, you will see a list of files, including:

Terrain.drs - contains all graphics for terrains.
Interfac.drs - contains all graphics for the interface and menu items and images. Also contains sounds for menu clicks, town center bells, battle started sounds etc.
Graphics.drs - all unit, building and objects graphics.
Sounds.drs - sounds for all the units (music & terrain sounds are stored in the /Sound directory).
Empires2_x1.dat - Vanilla data for original game.
Empires2_x1_p1.dat - C patch Conquerors version data. This is the main data file you should be editing.
gamedata_x1_p1.drs - This file (and variations of it), contain the RMS scripting portions of the base game, along with any additional files which are added to the game. AOK will always treat the gamedata_x1_p1.drs as the final edition of anything. So for example, if you add an edited terrain SLP named 15001.slp into the gamedata_x1_p1.drs file, then the game will load this file instead of the original one in terrains.drs.

This is incredibly important to note when creating new mods. It is much better to ADD files into the gamedata_x1_p1.drs rather than the original files. This makes it easier to keep track of new SLP's and also keep the file size when sharing your mod smaller. I'll go into more details on this later on.

Drs files contain all the graphics and sounds etc you see and hear in game. Think of it like a zip folder and inside it is lots of other files.

Inside each drs file are files called slp’s. These are the individual graphic files; each slp contains the graphics for a particular unit or terrain or menu.

The empires2_x1.dat file is what stores all of the stats data in the game, i.e. it tells your archer how many hitpoints he has, it tells your building it can collect food, and tells your town centre it can research castle age at a certain point.

Language Files

Language files are editable .dll files which contain all of the text you see in game. For example, hints, expanded information, dialogue, menu names, unit names etc*.

Language files are named; language.dll, language_x1.dll and language_x1_p1.dll. These are located in the main AOK directory.




For editing data the only file you need is Advanced Genie Editor (or AGE, for short).

Download it here!

This is the most up to date data editing software. You can use AGE to edit research, techs, units stats, buildings, gaia objects, add graphics, create new units, give abilities to other units/building (for example making a house garrison able) and so much more.

University Tutorials

-Introduction to creating units using AGE (this is AGE 2 but the concepts are the same).
- How to create a maximum build, limited number unit/building



This is the way of changing the labels in AoK, such as the name of a unit or building, the main menu text and even the text of many of the scenarios. In order to change them, you need to edit the language.dll files. To do this, you need an editor (listed below). There is also an excellent language editing tutorial over at the SWGB forum here.

NOTE: Before editing your current language files, I recommend downloading the most recent language files from the Blacksmith. The download combines all of the language files together into one, so it makes it a lot easier and quicker to edit the file.

Download it here!

Pebble32
This file is used for editing any .dll and works slightly better than reshacker as you can view what the strings say before scrolling through them all (unlike reshacker) and it contains a search function. The only problem is you can't add new strings.

Resource Hacker
An easy and straightforward program for editing .dll files. With this you can add new strings.




Graphics editing is my favorite part of modding. It opens up a whole new world of creativity. Anything you can imagine, you can make. Best of all, now you can put it into AOK and play it.

For inserting new slp's, editing current slp's, editing drs files and so on, you only need one program. This program is called SLX Studio.

Download it here!

University Tutorials

- Poser tutorial for making units
- Sketchup Building Tutorial
- 2D Photoshop Tutorial

So how do I actually create new graphics?

Well first of all we need the right software to make the graphics. Good for us that it doesn't have to be that complicated and can be done to a good enough standard without using really expensive software.

There are two ways of modifying graphics for AOK.

3D- You will make model the object, add the textures, render it into an isometric format, use a photo editing software to modify its palette and touch it up and then insert into the game.


Here are two rendering presets for AOK style camera angles and lighting.
I will try to add more of these for different software over time.

Poser
3ds Max

2D- You don't have to be experienced in modelling to create new units. You can use methods such as copy and paste (look at Age of Chivalry - fantastic copy and paste methods there). Copying and pasting is great, as you can design graphics that automatically match with everything else in AOK and you don't have to worry about perspective. You can use different tools as well like color alterations to give a different look to your buildings.

What software will I need?

Over the course of modding I have come across many different pieces of software but to be honest a lot of them are useless or outdated so here is my version of what you should use.

Free Software - Picture Editing

GIMP. This allows you to pretty much do most the things Photoshop can do. It is easy to use and is great for copy and pasting work for AOK.

Free Software - 3D Modelling

Sketchup. This is an amazing tool used by many professionals. You can make anything you want using this program. Matt Li Vecchi wrote a good tutorial on this here. You can also go to Sketchucation, for some more in depth tutorials and plugins.
-Kerkythea Renderer – A free renderer for Sketchup. Gives you some good results.
-POV RAY – Another Renderer that can be used with sketchup. POV RAY is really useful for many other applications too like Arboro(another tree generator).

G Max. Gmax is a 3D modeling application based on 3ds Max. It is good for modeling, texturing, and basic animation rigging and keyframing capabilities. Was widely used in the development of Sim City 4, including its mods.

Daz Studio 3D. Daz Studio works a lot like Poser, and even supports a lot of Poser models. This program tends to concentrate on developing humanoid models, so use this for your unit creation.

Blender. Completely free and a great 3d tool used by many professionals and amateurs alike.

Paid Software - Picture Editing

Adobe. Adobe Photoshop would be the main piece of software you need and can do pretty much anything you want it to. Probably by far the best photo editing software out there.

Coral Painter. Personally I really, really like this piece of software. If you can paint, or draw or anything like that then this is the software you need. As for use with AOK? You can use it for interface, menu/civ pictures, touching up buildings and units or even making new objects from scratch (tho you'd have to be pretty good at painting).

Paint Shop Pro. This is another good editing tool, though isn't in the same league as PhotoShop and it's better than GIMP. That also explains the much cheaper price.

Paid Software - 3D Modelling

Pretty much anything by Autodesk. This company is like the Optimus Prime of the 3D graphics world. I would recommend starting on 3D Studio Max, but Maya is also good. Expect to pay $1000’s of dollars. HOWEVER - if you are a student and use it for none commercial purposes you can get the entire Autodesk suite completely FREE, here!

Poser
A tool for creating 3D characters. Great for unit design. Tutorial.

Again, you can use whatever you want to model. There are loads of programs you can use like Maya, Zbrush, Lightwave, Vue (great for terrain creation and mountains and the like).

There are also loads of fantastic plugins, tutorials and pre-made objects out there online you can download and use (ensuring they are free for non commercial use).

Websites

Turboquid is a good website for downloading or buying 3d models.

3dstudio is another good website.

For a good source of free textures I highly recommend CG Textures. Again a search engine will help a lot here, eg. free textures.



When making anything for use in AOK you will need to convert it to a 2d image and also render it to an isometric view with correct lighting (lighting in AOK comes from the East).

You will then need to change the palette of the image to the AOK palette.

I decided to upload them to the blacksmith, the download link is here.

To use with GIMP. View this image for some guidance .
Load your image. Go to the menu bar, windows, dockable dialogues, palettes.
Now in that box click on the back arrow looking thing and then go to Palettes menu, import palette. Then in the import palette box, go to palette file, search for where you unzipped the .act file and click import. This will add this palette to the palette box.




I will add a very short section to this to be updated with in depth data editing on the matter very shortly. Basically for now adding terrains works the same way as adding graphics. You can add NEW terrains to your terrain.drs file (for replacing none editor terrains) aswell as replacing the normal ones you see in game. Here is a link to a modpack which changes the hidden terrains you find in game. Open the genie file in genie 1 and then read the terrain.text to view in detail. For normal terrain editing you will be better off running mod pack studio 3. You can find it here. I dont recommend using mod pack studio 3 for anything else other than saving the terrains. That will create the slp. Once you've done that open the project in mod pack studio 2 to write an install script and run the modpack. Modpack studio 3 tends to crash a lot, and I mean, I have to reinstall it every time I close it. It has though an excellent import image function which automatically cuts your terrain into nice aok sized squares. So find an image of terrain you like or which you made. Import image and viola. You terrain image must be set at 970x490. This is the simplest way ever. (Will update soon with in depth detail)




Righto. Just a quick update. All sounds can be edited in the game whether it is a unit sound or a building sound, or even the in game sound like main menu music or win screen music. To edit sounds you'll need mod pack studio. Go into modpack studio, you will find the sounds.drs in the location tabs. In here every single sound for every unit and every nation is there. You will find the sounds list in the mod pack guild zip. You can import sounds using the import button and click save. There are also sounds in the interface.drs. These will be your sounds for things like the 'your being attacked' sounds or the menu button hover sounds and so on.




(coming soon)

[This message has been edited by Sebastien (edited 10-22-2018 @ 11:44 AM).]

Replies:
posted 07-25-20 06:08 AM CT (US)     596 / 605  
Whats the best way to make an animated object (such as a flag) that units can't walk over.
posted 07-25-20 01:53 PM CT (US)     597 / 605  
I'm having some weird bug with my Mod that occasionally when I send a unit to attack another unit (both new units I've added) then the game crashes. It only seems to happen when I right click to attack. If they attack automatically then it doens't crash
posted 11-05-20 02:24 PM CT (US)     598 / 605  
I want to add a civ.
I have AOE HD from steam. I also bought all DLCs from steam. I have installed voobly patches and following voobly mods. I play regularly on voobly.

Untitled

I want to add two civs as a mod. I would like to create a mod that attaches to DE mod. I downloaded genie editor. Can you please tell me what should I select as
1)language file location
2)language x1 file location
3)language p1 file location
4) Path for drs files.
While opening advanced genie editor?

[This message has been edited by amonicane (edited 11-05-2020 @ 02:27 PM).]

posted 12-20-20 11:52 PM CT (US)     599 / 605  
Last month, I installed the "Crucified Man" mod onto my AOK:TC (HD 2013) Steam program using Genie Converter and then used it to add crosses into the Jesus in Gethsemane Scenario, to make a Steam version of that scenario that uses crosses. I uploaded it here:
http://aok.heavengames.com/blacksmith/showfile.php?fileid=13649

Today I used the Genie Converter to successfully install the same "Crucified Man" Mod onto my AOK:TC 1.0C (original CD version). Then I downloaded the original "Jesus in Gethsemane" scenario. My goal is to do the same thing as I did with my Steam version of the Scenario, except that I want to do it using AOK:TC 1.0c with Userpatch 1.5.

So I first load the Scenario in my Editor in AOK:TC 1.0C (Userpatch 1.5). Then, before even making any changes to the scenario, which is set to use only 6 Players, I resave the scenario in the Editor under a new name that adds "AOKTC10C" to the end of the title. Then I go to "Standard Game" and then "Scenario". Next, I pick the scenario that I've just saved, and I notice a strange flaw: instead of the scenario's startup screen having 6 Players total, each with their preselected Civilizations, I see 8 Players total, each with "Random" chosen as its civilization. Next, when I click to start to play the scenario, a box shows up saying "Invalid Scenario."

I am not sure that there is anything that I can do to make it work correctly. It didn't matter whether I was running it as an Administrator.
posted 09-09-22 09:35 AM CT (US)     600 / 605  
Hi, I was looking inside the aoe2_x2.exe and I don't know how to activate more Id's for civilization. Like everybody knows the game only allow to have 44 civilization at once, so I think someone who knows more about of binaries files can change(or activate/add) more Id's. If someone edit the .exe the game will allow to have more civs. I thought to make a dll but I don't understand to much about binaries files or how to inject to exe.
posted 09-11-22 01:41 AM CT (US)     601 / 605  
48 is the maximum civi count that can be added to the game.
posted 09-11-22 07:06 AM CT (US)     602 / 605  
Is 48 civs a hardcoded limit? In AoERoR you can add up to 255 civs, I see no reason why this should not be possible in AoK.
posted 09-12-22 02:20 PM CT (US)     603 / 605  
48 is the max count? I can΄t start the 45th civ, It works like Random. Do you have any other .exe Mahazona?(AoE II Conquerors). Or the problem is in the .dat file?(mine). I'm using Conquerors 1.5 . If anyone have other .exe that support 48 civ and can give it to me I would apreciate so much.
posted 09-16-22 09:48 PM CT (US)     604 / 605  
You need to install userpatch to get all the 48 civis working.Mods like PCM Realms Chivalry all use UP to ge the civis working.

@PhatFish UP only gives up to 48 slots beyond that are random team random etc so its doubtful slots beyond 48 will work for aoe2
posted 11-16-22 06:00 PM CT (US)     605 / 605  
Chivalry has 38 civs, I couldn't add more playable civs(44) and I have not time to work on .exe . If someone know about programs to edit this kind of .exe please tell me.
« Previous Page  1 ··· 10 ··· 16 17 18  Next Page »
Age of Kings Heaven » Forums » Mod Design and Discussion » The AOKH Modders Guild
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Kings Heaven | HeavenGames