Jump to content


Photo

Start with the mod


  • Please log in to reply
8 replies to this topic

#1 jumboklik

jumboklik
  • Members
  • 20 posts

Posted 09 August 2009 - 02:28 PM

Hello!

I want to base my mod on changes in 2.02 patch mod. How should I do this?

I tried just to extract files from .big and paste them to folder and make -mod command but this didn'y worked. So how should I try to change it?

Many thanks for any help!

#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 09 August 2009 - 03:13 PM

Are you sure you set up the -mod command correctly? :p There is a tutorial on the3rdage.net on setting up -mod command :thumbsupsmiley: :p
Ridder Geel

#3 Prolong

Prolong
  • Members
  • 133 posts

Posted 09 August 2009 - 10:48 PM

Hello!

I want to base my mod on changes in 2.02 patch mod. How should I do this?

I tried just to extract files from .big and paste them to folder and make -mod command but this didn'y worked. So how should I try to change it?

Many thanks for any help!

You must have set up your folder incorrectly then. When I make changes to the patch, I have a folder on my desktop with the name of the patch version (so for the last patch, "2.0") and all the files in that folder. So for example, the 2.0 folder contains the three folders "Data", "Libraries", and "Maps". I would use a shortcut to start the game with the following target: "C:\Program Files\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king\lotrbfme2ep1.exe" -mod "C:\Users\Michael\Desktop\2.0" where Michael is of course my Windows username. (The path to the Desktop is different in XP.)

Then, using that shortcut, you should be able to change any aspect of the game, with the exception of macros in gamedata.ini. If you need to edit a macro in gamedata.ini, your best bet would instead be to find each instance of the macro in the code, and replace it with the new value you'd like to use. Alternatively you could edit it normally, but remember that your changes to gamedata.ini won't take effect unless you've got it in a .big file in the game directory (C:\Program Files\Electronic Arts\The Lord of the Rings, The Rise of the Witch-king).

Glad you're interested in 2.02 - it's certainly the most balanced version to start your mod on! :good:

Forlong

#4 jumboklik

jumboklik
  • Members
  • 20 posts

Posted 10 August 2009 - 06:13 AM

Hmm I don't understand part about gamedata. Can you tell me step by step how to make it right? Maybe on example changing cost of Aragorn/Haldir ?

Thanks for help!

#5 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 10 August 2009 - 09:04 AM

You dont need to change gamedata.ini :p :good:
Just go to each of the unit's ini's (usually found in: \data\ini\object\good/evilfaction\units\side\)
Change a line of code similar to this:
BuildCost = ARAGORN_BUILDCOST
Change it to some other value than "ARAGORN_BUILDCOST" such as 3000 :p :p
Ridder Geel

#6 jumboklik

jumboklik
  • Members
  • 20 posts

Posted 10 August 2009 - 11:11 AM

OK but what about changes in gamedata.ini? How should I do them? Hmm HP of fortress changing for example

#7 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 10 August 2009 - 11:12 AM

Well if you want to edit the macro's I think you need to use the preconverted ini's with new macro's or something... Look on the3rdage.net, its somewhere on there i think :good:
Ridder Geel

#8 jumboklik

jumboklik
  • Members
  • 20 posts

Posted 10 August 2009 - 02:00 PM

If you talking about converting tool from this forum, hmmm I can't make files for 2.01/2.02 rotwk properly, my tries always finish on crashes :/

Edited by jumboklik, 10 August 2009 - 02:00 PM.


#9 Prolong

Prolong
  • Members
  • 133 posts

Posted 12 August 2009 - 02:56 PM

OK but what about changes in gamedata.ini? How should I do them? Hmm HP of fortress changing for example

I'd really recommend not changing any values in gamedata.ini. Just use Search to find where the macros are used, and replace the macros with the value you want to use. This will work without any issues!

Example: if you want to change the health of, say, a Hearth, you'd want to edit this code in dwarvenhearth.ini:

Body					  = StructureBody ModuleTag_05
	MaxHealth			   = DWARVEN_HEARTH_MAXHEALTH				
	MaxHealthDamaged		= DWARVEN_HEARTH_MAXHEALTHDAMAGED			
	  MaxHealthReallyDamaged  = DWARVEN_HEARTH_MAXHEALTH_REALLYDAMAGED		
  End
Say you want to double the Hearth's health. You can use gamedata.ini to see the values of the macros, but any changes you make to the values will not be read!

#define DWARVEN_HEARTH_MAXHEALTH				1500
#define DWARVEN_HEARTH_MAXHEALTHDAMAGED				1000
#define DWARVEN_HEARTH_MAXHEALTH_REALLYDAMAGED			500
Therefore if you want to edit the health, you have to remove the macros entirely and replace them with normal values:

Body					  = StructureBody ModuleTag_05
	MaxHealth			   = 3000;  DWARVEN_HEARTH_MAXHEALTH				
	MaxHealthDamaged		= 2000; DWARVEN_HEARTH_MAXHEALTHDAMAGED			
	  MaxHealthReallyDamaged  = 1000; DWARVEN_HEARTH_MAXHEALTH_REALLYDAMAGED		
  End
If you had instead chosen to edit the macros, like this:

#define DWARVEN_HEARTH_MAXHEALTH				3000; 1500
#define DWARVEN_HEARTH_MAXHEALTHDAMAGED				2000; 1000
#define DWARVEN_HEARTH_MAXHEALTH_REALLYDAMAGED			1000; 500
^ then the game would not know that you edited the values, as it doesn't recognize changes you make to gamedata.ini, and the Hearth would still have 1500 health.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users