Jump to content
Freelancer

Emergency 5 Modding Tutorials From Freelancer & KillerConsti

Recommended Posts

Chapter 1 Introduction

What you will need


Blender 3.3.1 ( avaliable on steam )


OGRE Exporter 
https://github.com/OGRECave/blender2ogre

 

.SVN File System
https://emergency-forum.de/filebase/index.php?entry/2444-svn-hilfsdatei-em5-em2016/

 

I'm Freelancer, one of the developers of the Essex Mod, I've been working on Em5 since April 2022, it's been a great journey so far and I've learnt a lot, I couldn't of leant any of this knowledge without the Bieberfelde Team and there amazing support and patience :P I'm not claiming to know everything about emergency 5 because I don't I'm still learning as I go. However I'd like to share everything I've leant and try and make a complete English guide on how to make a mod for Em5 (Both video and text) Hopefully this will encourage more modders to make the jump to Em5, because in my opinion it is superior to Em4. This Chapter is a brief introduction to modding Em5 and covering what you will need and preparing the workspace.

1.0  Brief understanding of what the difference between Em4/Em5
Em4 is really old forget everything you know about it because it don't apply to Em5. Em5 uses new game techniques and modern standards, which short term can be a pain if your not familiar with them but long term it is a lot better and easier in my opinion.
-Many more textures map are supported in Em5
We need 6 textures to make up a vehicle, Diffuse map ( Colour ) Specular and Gloss maps ( how shiny/metallic something is ) Normal Maps ( adds extra detail without using polygons ) Emissive Maps ( generate light, for example rear headlights,headlights,blinkers) Ambient occlusion map (generates shading on the model)  If your not familiar with some of these maps I suggest you look on google for more info
For scripts out there, I've heard Em5 is a lot easier to write plugins for using the c++ language brining lots of new possibilities Emergency Ludenscheid is a good example of this as they have a lot of gameplaying enhancing scripts.
Em5 models can be more detailed around 13-15K is a good pinpoint for models but some models can be more detailed, there is a max import limit of 27000K per mesh ( we can join mesh's together in the editor to go over that max limit if need )

1.1 Lets take a look at what we need to get started. 
I'm going to assume your using blender, I'm using the latest version 3.3.1 Emergency 4's model format was .v30 if I remember correctly but in Em5 we use .MESH files. To export .MESH Files we need the OGRE Exporter for blender wich can be downloaded here
https://github.com/OGRECave/blender2ogre


Installing OGRE Exporter
There are tutorials on how to install in the link but I'll copy and paste this text here

 

  1. Copy the io_ogre folder into the $BLENDER_DIR/scripts/addons folder.
  2. 2.    Enable the addon in Blender: Edit menu > Preferences > Add-ons. Search for 'ogre' and click the box up the top left.
  3. 3.    Configure the plugin prior to the first run.
  4. 4.    Set the correct path to OGRETOOLS_XML_CONVERTER PLEASE NOTE To Find the XML Converter + Mesh Upgrader you will need the OGRE SDK With can be downloaded here MSVC SDK is the one you will want to download  https://www.ogre3d.org/download/sdk/sdk-ogre
  5. 5.    for Ogre (v1): path should point to OgreXMLConverter.exe. This can be found in the Ogre SDK
  6. 6.    for OgreNext (v2): path should point to OgreMeshTool.exe. This can be found in the OgreNext SDK
  7. 7.    OPTIONAL Set MESH_PREVIEWER to a path pointed to ogre-meshviewer.bat. This can be found in OGRECave/ogre-meshviewer
  8. 8.    Make sure that USER_MATERIALS isn't set to a directory like "C:\". The addon scans this path recursively and will crash when it hits a path it doesn't have permissions for.

If everything is set up correctly go to edit > preferences > Search OGRE it should look something like this.

sLp3AC7.png


That is everything done the regarding OGRE plugin


.SVN File System
Next we are going to create a folder on our desktop or anywhere else you like. Lets call this folder "workfiles" Next you will need to download the .svn file system

https://drive.google.com/drive/folders/1cqa2SHM_-w45a8YKuOmzVBLly2ORNr5x?usp=sharing


once downloaded simply drag the .svn folder into the workfiles folder. You will not see the .svn folder in the workfiles folder once you've copied and pasted it becuase it is an invisible file. 
This essnetially makes our workfiles folder act as a dropbox for our future models and is where we will find most the files that make up our project.
Here is in examlpe of my workfiles folder with the Essex Mod.

Vj8Srww.png

Preparing + Understanding The Basic's Of The World Builder
I strongly recommend you watch this video, I know it's in German but there are English subtitles available he will teach you the very basic's of using the editor and more importantly he will set up hotkeys and config the editor, I've copied there layout + hotkeys so it will make it simpler down the line.


https://www.youtube.com/watch?v=w4MGTixQzUQ

It the Next Chapter we'll take a look at a model in blender and what we need to do to prepare it. If you need support with any of the above please leave a message.

Thanks
Freelancer
 

 

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

Chapter 2 Model Preparation/Export Using The BMW 5 Series As An Example

First lets make a new folder in our workfiles folder called bmw_5_series. now when I come to export the bmw 5 series I'm going to export the model file as bmw_5_series.MESH, but before we do that we need to do some prep work in blender. But we export our 6 textures for our model in .tif format in the workfiles>bmw_5_series we can name them like this

  • bmw_5_series_c.tif (this is our colour map)
  • bmw_5_series_s.tif (this is our spec map)
  • bmw_5_series_g.tif (this is our gloss map)
  • bmw_5_series_n.tif (this is our normal map)
  • bmw_5_series_e.tif (this is our emissive map)
  • bmw_5_series_ao.tif (this is our ambinent occlusion map)

PLEAE NOTE: It's important to use all LOWERCASE and _ for spaces as the Emergency game dosen't like it otherwise and won't work.

Let's go back into blender ( see video ) 

 

  • Like 2
Link to comment
Share on other sites

6 hours ago, EmC-Unit said:

This looks like whole new game development, rather than modding, and large pain in the ass. Gud tutorial 🤌

I would have to disagree, yes it looks confusing at first just like any new software. But just like anything it takes a little time and practice. Emergency 4 is really old and uses outdated techniques 

Where as Em5 bring everything to modern standards with PBR textures and a much more modern/powerful and in fact an easier to use editor.

There will be more tutorials on the way, I hope I can persuade some of you guys to make the jump. If you have any questions please leave me a message here or join the Essex mod discord

and message me personally on there. We do all we can to support newcomers 

Link to comment
Share on other sites

Hey guys myself and KillerConsti are going to merge all of our tutorials on this topic

KillerConsti has just released a new video covering a much asked question how to make a unit playable? Well here is your answer

https://www.youtube.com/watch?v=FkiCQLjRUUU

https://www.youtube.com/watch?v=az5fTNfH5NA

https://www.youtube.com/watch?v=qyV5Sfosjqc

We will continue adding more tutorials as soon as we can

If you have any questions about modding Emergengency 5 please ask here :)

 

  • Like 1
Link to comment
Share on other sites

36 minutes ago, EmC-Unit said:

@Freelancer are you going to continiune to mod, after the german forum clsoed down?

It was quite a shock for myself and the team to read that the German forum has closed down today, it is a first for the community and we are saddened by the news

The only good bit of news from that post is that their discord will still remain open. That said Myself and the team have put an huge amount of effort into building the Essex mod for Emergency 5 since that time over a year ago now I've managed to assemble a really talented team and have made some great friendships from people across various countries, this to me is what modding should be about, it is an enjoyable experience for us and a hobby we pour endless hours into. We have no plans on giving up what we started and shall continue to update the page on emp and on our own discord channel 

 

  • Like 2
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...