Resources

Modding, Map Editor, IES Scripting and Other Questions
Post Reply
User avatar
GeneralSturnn
Posts: 31
Joined: 07 Feb 2013, 11:23
Location: USA, Florida
Has thanked: 2 times

Resources

Post by GeneralSturnn »

Alright... so, I've been looking and looking... and i still cannot find it...

how do I mod resources again? I even looked in my previous posts and found nothing...

User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Resources

Post by Dr.MonaLisa »

What exactly you want to mod?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
GeneralSturnn
Posts: 31
Joined: 07 Feb 2013, 11:23
Location: USA, Florida
Has thanked: 2 times

Re: Resources

Post by GeneralSturnn »

Resources
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Resources

Post by Dr.MonaLisa »

Leader wrote:What exactly you want to mod?
GeneralSturnn wrote:Resources
Well, okay. You don't have to give any information what you want to change, but then you won't get any answer. I'm not a philosopher nor I don't have time to wonder what you want to do with resources.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
GeneralSturnn
Posts: 31
Joined: 07 Feb 2013, 11:23
Location: USA, Florida
Has thanked: 2 times

Re: Resources

Post by GeneralSturnn »

well... to mod them... change them... you know, resources ingame from territories...

What other kinds of resources are there?... pretty sure there was only the one kind.
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Resources

Post by Dr.MonaLisa »

The default resources are in file: zips\db.zip\db\Units\resources.ddf

If you don't want resources to be endless, you'll have to add: "alwaysExhaustible = 1;" in the UnitType -> Abilities.
For example:

Code: Select all

abilities [
      Resource { type = kResourceType_Food; alwaysExhaustible = 1; amount = 2000; maxNumOfWorkers = 6}
   ]
What other kinds of resources are there?... pretty sure there was only the one kind.
But it's important what you're going to do, because resources are defined in many files, not just "resources.ddf". For example if you want to change starting resources level - it's a totally different file. I'm not going to write the whole encyclopedia about resources in EE2, so it's good when questions are detailed.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
These users thanked the author Dr.MonaLisa for the post:
GeneralSturnn
User avatar
GeneralSturnn
Posts: 31
Joined: 07 Feb 2013, 11:23
Location: USA, Florida
Has thanked: 2 times

Re: Resources

Post by GeneralSturnn »

Thank you, could not find that file again, I already modded them(a long time ago) to not be infinite, but now, I'm trying to decrease what they are(from 10000 Tin to 5000) so it makes them more valuable.

Thank you, sorry, bu I was being as clear as I could..
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: Resources

Post by Dr.MonaLisa »

If you're modding Empire Earth II: The Art of Supremacy, then it's in the: zips_ee2x EE2X_db.zip\EE2X_db\Units\resources.ddf (and resources_ee2x.ddf)
I would recommend to use WinRar, then you will find these files easier. They must be present, either EE2 would not start.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
These users thanked the author Dr.MonaLisa for the post:
GeneralSturnn
Post Reply

Return to “Questions”