My very first try that didn't work. Please, any help?

Wirapuru

a happy dog
Joined
Nov 27, 2006
Messages
122
Through the help of Dale's and others posts I tried to make a mini-tweak (more for training) to see if I could change the behaviour of ruins results. My first attempt is to leave only one type of result, in this case when you gain a free technology. To achieve that I tried to delete every other type of result, like that:

Spoiler :
Code:
<GameData>
	<Concepts>
		<Delete Type="CONCEPT_ANCIENT_RUINS_BENEFITS_SURVIVORS" />
		<Delete Type="CONCEPT_ANCIENT_RUINS_BENEFITS_SETTLERS_AND_WORKERS" />
		<Delete Type="CONCEPT_ANCIENT_RUINS_BENEFITS_MAP" />
		<Delete Type="CONCEPT_ANCIENT_RUINS_BENEFITS_WEAPONS" />
		<Delete Type="CONCEPT_ANCIENT_RUINS_BENEFITS_TREASURE" />
		<Delete Type="CONCEPT_ANCIENT_RUINS_BENEFITS_CULTURE" />
	</Concepts>
	<Concepts_RelatedConcept>
		
		<Delete RelatedConcept="CONCEPT_ANCIENT_RUINS_BENEFITS_SETTLERS_AND_WORKERS" />
		<Delete RelatedConcept="CONCEPT_ANCIENT_RUINS_BENEFITS_SURVIVORS" />
		<Delete RelatedConcept="CONCEPT_ANCIENT_RUINS_BENEFITS_CULTURE" />
		<Delete RelatedConcept="CONCEPT_ANCIENT_RUINS_BENEFITS_MAP" />
		<Delete RelatedConcept="CONCEPT_ANCIENT_RUINS_BENEFITS_WEAPONS" />
		<Delete RelatedConcept="CONCEPT_ANCIENT_RUINS_BENEFITS_TREASURE" />
		<Delete RelatedConcept="CONCEPT_ANCIENT_RUINS_BENEFITS_CULTURE" />
		
		<Delete ConceptType="CONCEPT_ANCIENT_RUINS_BENEFITS_SETTLERS_AND_WORKERS" />
		<Delete ConceptType="CONCEPT_ANCIENT_RUINS_BENEFITS_SURVIVORS" />
		<Delete ConceptType="CONCEPT_ANCIENT_RUINS_BENEFITS_MAP" />
		<Delete ConceptType="CONCEPT_ANCIENT_RUINS_BENEFITS_WEAPONS" />
		<Delete ConceptType="CONCEPT_ANCIENT_RUINS_BENEFITS_TREASURE" />
		<Delete ConceptType="CONCEPT_ANCIENT_RUINS_BENEFITS_TREASURE" />
		<Delete ConceptType="CONCEPT_ANCIENT_RUINS_BENEFITS_CULTURE" />
		
	</Concepts_RelatedConcept>
	<Delete >
</GameData>

The .modinfo:

Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="d3c52083-a889-44db-caca-68c5499f7a1f" version="1">
  <Properties>
    <Name>Remove Ruins Concepts</Name>
    <Stability>Alpha</Stability>
    <Description>Remove some ruins concepts.</Description>
    <Authors>"Wirapuru"</Authors>
    <SpecialThanks>Firaxis Games</SpecialThanks>
    <Homepage></Homepage>
    <AffectsSavedGames>1</AffectsSavedGames>
    <MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
    <SupportsSinglePlayer>1</SupportsSinglePlayer>
    <SupportsMultiplayer>1</SupportsMultiplayer>
    <SupportsMac>1</SupportsMac>
    <ReloadLandmarkSystem>0</ReloadLandmarkSystem>
    <ReloadUnitSystem>0</ReloadUnitSystem>
  </Properties>
  <Dependencies />
  <References />
  <Blocks />
  <Files>
    <File md5="706FA6035A06755C1F4ABB9A6ACBC52C">xml/GlobalDefines.xml</File>
  </Files>
  <Actions>
    <OnModActivated>
      <UpdateDatabase>xml/GlobalDefines.xml</UpdateDatabase>
    </OnModActivated>
  </Actions>
</Mod>

But it didn't work. Now I can't tell if the problem is with the XML or with the .modinfo, they seem fine as far as I think how to do it, are they ok? I can enable the mod ingame and play, but I still get all the ruins results I tried to delete.

Does someone see what's wrong with it?

the files if you want to test it: http://www.zilefile.com/files/12541_aofw2/Remove Ruins Concepts v0.1.7z

Thanks for any help.
 
Maybe I tried something that looked simple but isn't? Does anyone know if this is, at least, the right approach for doing it?

Anyways.. I guess I'll try something less unusual first then.
 
Hm, I hope there's really something more we have to do, and not some restriction, it would be a bummer..

I guess I'll try to find any log since civ 5 seems to have a lot to debug. I did search the sqlite db for any change but no luck. Maybe those debuggers help too, any news I post here - thanks for replying :)
 
I've noticed something: in my .modinfo my files are Folder/file.xml and my Actions are Folder\file.xml, while on yours both are Folder/file.xml.

Since it's not working for both of us that's probably not the core of the issue, but still one of us has to wrong :D I'm guessing it's me.
 
That's weird, I didn't remember writing forward slashes on there xD I maybe 'm spending too much time on linux, but I saw some examples and all them use forward too, unexpected since it's a windows game eh =]

Unfortunately I don't have good news so far.. since this first version I had to do without the SDK I thought on doing the same mod with ModBuddy and... same thing, nothing changes - not ingame neither on sqlite. :( bad feelings
 
Thanks for your help Szpilman, I'll try that as soon as I get to my desktop ;) I'll let you know how things'll go
 
Back
Top Bottom