How to update technologies?

I don't think he wants it as a "FreeTech" if you look at the Thumbnail that he's shown us, he just wants it free from any other Tech and in the same X0 column as AGRICULTURE.

Starting techs came up a couple times, so I figured it was worth pointing out where that data lives.
 
Damn guys, it is so hard for me to explain what i want because english is not my native.

But i'll try.

Again
 

Attachments

  • Wanted.jpg
    Wanted.jpg
    291 KB · Views: 60
I already told you 10 hours ago you should try this, apparantly you don't read at all what we say to you, or you are completely incapable of making us understand what it is you want-
Then you just do this:

Code:
<Technology_PrereqTechs>
	<Delete TechType="TECH_MINING"/>
</Technology_PrereqTechs>
 
But please tell us if it actually works to achieve the aim you wanted - we are interested in hearing the result.
 
Greensiberia,

1) do you clear your 'cache' before trying your mod?

2) See Post #55 above. Step3 I gave you is wrong. I just tested it.

Do it exactly as Kaspergm said see below

Code:
<Technology_PrereqTechs>
	<Delete TechType="TECH_MINING"/>
</Technology_PrereqTechs>

But first do Steps 1 & 2 in post #55, to get MINING in the position you show in the picture you showed us.

Can you actually mod, with modbudy?

Please answer all questions here, otherwise we cannot help you.

We really understand what you're trying to do, it seems you don't understand what we're telling you.

So If you understand then you can answer the above questions, then we'll see what you don't know and try to help further. Ok?

If you can Mod then this is the whole code you need to put into the XML file of your mod. Copy it and paste it.

Code:
<GameData>
	<Update> <!-- Moves AGRICULTURE to the Y3 position @ X0 to make space for your MINING to come -->
		<Where TechType="TECH_AGRICULTURE" />					
		<Set GridY="3"/>
	</Update>
	<Update> <!-- Moves MINING to the X0 horizontal position/column -->
		<Where TechType="TECH_MINING" />					
		<Set GridX="0"/>
	</Update>
	<Update> <!-- Moves MINING to the Y5 vertical position within the column X0 ( -->
		<Where TechType="TECH_MINING" />					
		<Set GridY="5"/>
	</Update>
	<Technology_PrereqTechs>
	       <Delete TechType="TECH_MINING"/>
        </Technology_PrereqTechs>			
<GameData>

From <GameData> to </GameData?

Kaspergm, you were right setting a Tech to prereq itself, goes into circular logic, and if you press it to research, CTDs.

At this early stage, having no PrereqTechs seems to work normally and one can research without Crashes. Later in the game I don't know.
 
And one more question. How to do this?
I would do the following code:
Code:
<Technology_PrereqTechs>
	<Delete TechType="TECH_THE_WHEEL"/>
	<Row>
		<TechType>TECH_THE_WHEEL</TechType>
		<PrereqTech>TECH_ARCHERY</PrereqTech>
	</Row>
</Technology_PrereqTechs>

This should work because the first line (delete) will delete any Prereq tech for The Wheel but then subsequently we re-install Archery as Prereq for the The Wheel, giving the final result that we want, namely that only Archery is required to learn The Wheel.

(Thanx to JA_Lamb for fixing the code.)
 
Hi, Kaspergm,

A small oversight, you need a closing </Row> in the above? like this:


Code:
<Technology_PrereqTechs>
	<Delete TechType="TECH_THE_WHEEL"/>
	<Row>
		<TechType>TECH_THE_WHEEL</TechType>
		<PrereqTech>TECH_ARCHERY</PrereqTech>
         [COLOR="Blue"]</Row>[/COLOR]
</Technology_PrereqTechs>

Otherwise, should work.

No answer to our questions?
 
Back
Top Bottom