Problem with GlobalDefines.xml

FexFX

Prince
Joined
Nov 26, 2005
Messages
402
:mad:
Why am I unable to modify this file properly?
I am trying to replace a value in this file, however if I do so within the mod folder it does not properly override the value in the original!
What am I doing wrong?
I also tried using FlobalDefinesAlt.xml but this did not work either!!
:mad:
 
What value are you trying to overwrite? The ones I've tried have all worked. BTW you should only use GlobalDefinesAlt.
 
I am trying to remove all references to GAMESPEED_NORMAL
And that is where I am bombing out.
If I make a copy of either GlobalDefines or GlobalDefinesAlt and drop them into the XML folder of my mod and change
HTML:
	<Define>
		<DefineName>STANDARD_GAMESPEED</DefineName>
		<DefineTextVal>GAMESPEED_NORMAL</DefineTextVal>
	</Define>
to read:
HTML:
	<Define>
		<DefineName>STANDARD_GAMESPEED</DefineName>
		<DefineTextVal>GAMESPEED_WHATEVER</DefineTextVal>
	</Define>
And have removed NORMAL from all other files in the game I get an error that Normal is a bad tag...
The source of the problem is GlobalDefines because I can change it in the original global defines and the problem is solved...

I have also tried this by adding:
HTML:
	<Define>
		<DefineName>STANDARD_GAMESPEED</DefineName>
		<DefineTextVal>GAMESPEED_WHATEVER</DefineTextVal>
	</Define>
to a copy of GlobalDefinesAlt in my MOD's XML folder but this produced identical results.
Further The Copies of those files will not evern override the value of this line. I cannot change the default speed to something other than NORMAL even if I do nto mind the reference to NORMAL.
For now I have decided to allow the Tag for one of my replacement speeds to call itself NORMAL...even tho this lacks elegance.

Perhaps you could help me figure out why its doing this.
 
What´s your problem? And what the hell are you trying to do? Why would somebody change the default selected gamespeed? And why change it to gamespeedwahtsever? I doubt you have the whatsever gamespeed in your mod, so why change the default gamespeed to whatsever? This tag is simply needeed, the game needs to know what gamespeed it should have selected. Or do you want that a questions pops up, asking to press 1,2 or 3 for gamespeed selection?
 
Master Lexx said:
What&#180;s your problem? And what the hell are you trying to do? Why would somebody change the default selected gamespeed? And why change it to gamespeedwahtsever? I doubt you have the whatsever gamespeed in your mod, so why change the default gamespeed to whatsever? This tag is simply needeed, the game needs to know what gamespeed it should have selected. Or do you want that a questions pops up, asking to press 1,2 or 3 for gamespeed selection?

Whatever is just a stand-in name used in this post. The Real Text should read: GAMESPEED_FXEXTENDED

I am working on a mod where all the speeds are non-standard speeds, eliminating the original speeds completely in favor of four longer speeds. Since none of these speeds match the original speed lengths, I obviously do not want to use the original speed names since NORMAL is no longer NORMAL or anything like it.

What irks me here is that I am seemingly forced to use an internal tag of NORMAL because of this single instance in Globaldefines. Every other instance of Normal or any other speed tag can easily be removed without incident. Just this single instance cannot be removed. Which means that internally one of my speeds MUST be named normal even if its display name is different. I find this highly annoying.

Also the manner of your questioning was rather abrasive and rude. Please realize that I found something which appears un-MOD-able, and I am looking for a solution. We were promised that EVERYTHING would be MOD-able.
 
LittleRedPoint said:
What is your purpose to change this? To create new game speed make copy of one speed and rename it to whatever. Then modifi it' options.
Just to rename this, use description tag-s

This is the solution I am using currently, but its not a good solution really. It is merely a working solution. This forces me to use a dual naming system on at least one of my speed settings. Further, if I decide (after testing) that FXEXTENDED is not the speed I want to default to, rather than just changing the default line in GlobalDefines to read FXENDURANCE, I would have to go in and rename FXENDURANCE to NORMAL in eight different places in two files in order to make one change. Further I would then have to unname FXEXTENDED from NORMAL to something else in those eight locations in two files.

All because ONE and only ONE refernce to GAMESPEED_NORMAL (and no other speed by the way) appears impossible to remove in a mod.
 
Back
Top Bottom