hidden resource woes

Discuss and learn how to personally mod LOTR-TW

Moderators: falcons1988, Bardo, Rhythalion, Kaoru

hidden resource woes

Postby The Yogi » Mon Feb 08, 2010 9:21 am

Hi,

I'm trying my hand at some minor modding of the game and have run into trouble with resources. I first tried addding one of my own, to no effect, then tried adding existing ones to settlements that didn't have them just to see if anything happened (for example pigs to be able to build a stable where I normally could not, or tried to give Osgiliath the same resources any other Gondor city to be able to build it up).

To make a long story short, it seems absolutely nothing happens. I've tried modding both the desc_regions.txt in maps/base and maps/campaign/alexander (copies in both places).

Still, no effect.

Are the resources declared somewhere else?
The Yogi
Bystander
 
Posts: 3
Joined: Mon Feb 08, 2010 9:06 am

Postby Bardo » Mon Feb 08, 2010 9:59 am

You are changing the right file:
maps/campaign/alexander/desc_regions.txt

In order to see the resource icons in the map, you need to change also the campaign file: descr_strat.txt
User avatar
Bardo
Master Scripter
Master Scripter
 
Posts: 2862
Joined: Tue Aug 01, 2006 1:59 am
Location: Madrid, España

Postby The Yogi » Mon Feb 08, 2010 2:12 pm

Yes, I'm editing the correct file. No icons are necessary because I want to add a hidden resource. Also I have added it to the list in export_descr_buildings.txt.

My problem is that editing the desc_regions.txt doesn't seem to have any effect in game, for example, removing the hidden resource gondor from Minas Tirith does NOT prevent the recruiting of the armoured gondor infantry (as it should, judging from the EDB file).

EDIT: Never mind, I discovered what the problem was - I need to delete the map.rvm file so that the changes made could be included in a freshly generated map.
The Yogi
Bystander
 
Posts: 3
Joined: Mon Feb 08, 2010 9:06 am


Return to Personal Modding Discussion

Who is online

Users browsing this forum: No registered users and 0 guests