Creating Mod Package
#1
Posted 12 April 2006 - 11:20 PM
#2
Posted 12 April 2006 - 11:30 PM
Edited by J-a-Y, 12 April 2006 - 11:30 PM.
#3
Posted 13 April 2006 - 01:43 AM
#4
Posted 13 April 2006 - 02:44 AM
#5
Posted 13 April 2006 - 06:59 AM
Firstly, put all your modded files in a single directory (for example, C:\Mod)which mirrors the BFME2 file structure (INI files in data/ini, etc.). Then, make a new shortcut to the game, and add this to the end of the "Target" field of the shortcut:
-mod "C:\Mod"
Done! Launch your game with that shortcut to play the mod, or use a regular shortcut to launch the unmodded game.
#6
Posted 13 April 2006 - 10:38 PM
#8
Posted 16 April 2006 - 11:54 PM
#9
Posted 17 April 2006 - 12:04 AM
#10
Posted 17 April 2006 - 12:17 AM
A screenshot would be helpfull.Ok, I did everything said here, but got a large list of errors, resulting in a crash. All of the errors were game.dat. Help please.
Solinx
"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr
#12
Posted 17 April 2006 - 11:17 AM
Retired
#14
Posted 18 April 2006 - 01:40 AM
#15
Posted 18 April 2006 - 10:02 AM
There are two things you could try, starting with copying Createaherogamedata.inc into the right folder.Here you go. I was going to put it in my last post, but didn't have time.
If you look at the second path you see that the include is expected to be in the Object folder too.
In the event that doesn't work:
The game sees the .inc files as a part of the .ini file that includes them and reads them as if it where in the .ini itself. If you put all the values from the .inc file in the .ini it is bound to and remove the "#include yourinclude.inc" line, then the game won't read the .inc file, but still has all the data it needs.
Solinx
"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr
#16
Posted 18 April 2006 - 01:00 PM
never worked with HTML or something?
Einstein: "We can’t solve problems by using the same kind of thinking we used when we created them."
#18
Posted 18 April 2006 - 03:31 PM
File.inc like in #include "CreateAHeroGameData.inc" ?since you're including from a file that's in data\ini\object, you should unclude it as file.inc, not data\ini\object\file.inc
never worked with HTML or something?
That is the standard line in gamedata.ini... There is little reason to believe he changed the path of this line, while he didn't moved the .inc file to the path he set it. Add to that he wasn't able to make anything out from the error and it is even more unlikely.
The error states that CreateAHeroGameData.inc could not be found in data\ini\object. That means that the game is directed to that folder. Either move it there, change the path in gamedata.ini or copy everything from CAHgamedata.inc to gamedata.ini.
Solinx
That's why I added it, everyone tries print screen.Print Screen eh? I thought I tired that. If it simply copies it to your image clipboard then I didnt try that.
EDIT: Ya it works
And although it makes sense, I had to be told to use paint too.
Solinx
"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr
#19
Posted 18 April 2006 - 07:09 PM
And I have worked with HTML, but that seemed different.
#20
Posted 18 April 2006 - 07:29 PM
I moved Createaherogamedata.inc into the objects folder, and that fixed that problem. Now I have this.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users