| Author |
Message |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 10/31/09 3:53:52 PM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
Hello again
Well, I wanted to change delay between infiltrations (mostly regarding money stealing), so I've found Includes/InfiltratorContainEconomic.xml
By default, it looks like this:
I've just changed:
BlockedDuration="10s">
However, it gives me following error:
[00:00:21.7031250] Critical: XML validation error encountered in 'z:\ra3 mod sdk\mods\mymod\includes\infiltratorcontaineconomic.xml':
XML validation error encountered in file:///z:/ra3 mod sdk/mods/mymod/includes/infiltratorcontaineconomic.xml (line 0, position 0):
The 'uri:ea.com:eala:asset:InfiltratorContain' element is not declared.
How to fix it?
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 10/31/09 5:50:46 PM
|
GoS_Ultima
Commando
Joined: 12/8/08 11:22:01 AM
Messages: 5704
Location: The Nod Temple
Offline
|
those files cant be edited, ive tried a lot.
I couldnt edit, capture effects, mass production amount, terror drone percentage chance, robotic assembly rate
|
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 10/31/09 6:01:36 PM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
Great SDK :-/
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/1/09 12:31:25 AM
|
TX1138
Fanatic
Joined: 11/3/08 11:30:28 PM
Messages: 1639
Location: As far away as possible.
Offline
|
Don't listen to Gos, he hasn't got a clue when it comes to these things These files are editable, but there's trick to getting them to work.
The easiest way to get your example to work would be to copy this:
And paste it into the code for each refinery. Also, you'll have to remove this line of code:
From each refinery.
|
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/1/09 2:00:58 PM
|
Bibber
Peacekeeper
Joined: 11/4/08 12:29:28 PM
Messages: 444
Location: Germany
Online
|
Just change the path of the XInclude in your refinery code to your edited file:
and remove this Include from your mod.xml or wherever you have it. All files in the SageXml\Include folder have to be included via XInclude, not the normal Include.
|
RA3 Mod SDK Extra Files
C&C3 Mod SDK Extra Files
www.bibber.bplaced.net |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/1/09 3:33:04 PM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
Still getting errors whatever method I use.
Can anyone just upload those fixed files somewhere and that's all? This starts to really piss me off :-/
UPD: Got it without errors, however:
* No effect in-game (e.g. no 10 sec delay, 30 like default).
* Some other changes seems to be blocked or whatever, for example Shinobi costs 1000, but I've changed him to 800 long time ago.
This message was edited 1 time. Last update was at 11/1/09 3:47:28 PM
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/6/09 3:04:19 PM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
Found my own way:
Dont change anything anywhere, just copy refinery files to your mod folder, then just go to the SageXML, find that infiltratorcontaineconomic.xml or whatever it's called, dont copy it anywhere and just change those values for whatever you want. Do not copy it to the mod folder. And add modded refineries to the end of mod.xml, else they for some reason are blocking some other changes for your mod.
That's all, everything works.
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/6/09 3:47:30 PM
|
Bibber
Peacekeeper
Joined: 11/4/08 12:29:28 PM
Messages: 444
Location: Germany
Online
|
Never edit the original files in the SageXml folder!
Do it the way I explained. That means you should copy infiltratorcontaineconomic.xml to your mod folder, change it there and adjust the xi:include path in your refinery file.
This message was edited 1 time. Last update was at 11/6/09 3:49:30 PM
|
RA3 Mod SDK Extra Files
C&C3 Mod SDK Extra Files
www.bibber.bplaced.net |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/7/09 7:27:47 AM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
I tried and it never worked.
At least now everything works, no errors, I can see effect and so on.
I know that I shouldnt edit original sagexml, but all other suggested methods failed.
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/7/09 1:19:54 PM
|
Bibber
Peacekeeper
Joined: 11/4/08 12:29:28 PM
Messages: 444
Location: Germany
Online
|
Shall I make you a sample mod to prove or what?
|
RA3 Mod SDK Extra Files
C&C3 Mod SDK Extra Files
www.bibber.bplaced.net |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/8/09 10:37:18 PM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
Previously, when I tried A LOT, I asked if somebody could just upload already modded files
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/10/09 12:18:36 AM
|
Bibber
Peacekeeper
Joined: 11/4/08 12:29:28 PM
Messages: 444
Location: Germany
Online
|
Here you go:
http://bibber.bplaced.net/downloads/misc/ra3sdk_stealmoneymodsource.zip
This message was edited 1 time. Last update was at 11/10/09 12:19:04 AM
|
RA3 Mod SDK Extra Files
C&C3 Mod SDK Extra Files
www.bibber.bplaced.net |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/10/09 6:48:12 AM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
Well, I can see you made an extra file refinery.xml
Nevermind, I'm new to this, you're not That's the difference.
Thanks for the lesson
|
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/10/09 2:26:32 PM
|
Bibber
Peacekeeper
Joined: 11/4/08 12:29:28 PM
Messages: 444
Location: Germany
Online
|
The filename doesn't matter. Only the content counts. I could also make 3 files called AlliedRefinery.xml, JapanRefinery.xml and SovietRefinery.xml. That makes no difference.
|
RA3 Mod SDK Extra Files
C&C3 Mod SDK Extra Files
www.bibber.bplaced.net |
|
|
 |
![[Post New]](/jforum/templates/cnc/images/icon_minipost_new.gif) 11/11/09 6:20:10 PM
|
salamanderz
Joined: 10/23/09 6:40:51 PM
Messages: 50
Offline
|
Thanks for the lesson
|
|
|
 |
|
|