Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » 1.13 Xml Editing
Re: 1.13 Xml Editing[message #198118] Sun, 05 October 2008 05:28 Go to previous messageGo to next message
psykeres is currently offline psykeres
Messages:1
Registered:August 2008
Hi there. I want to modify the sniper scope so it is compatible with assault rifles, but attachment.xml is full of unnotated numbers that I can't decipher. Can anybody walk me through this?

Report message to a moderator

Civilian
Re: 1.13 Xml Editing[message #198125] Sun, 05 October 2008 11:10 Go to previous messageGo to next message
Kermi is currently offline Kermi

 
Messages:81
Registered:October 2002
the xml-editor will help you here.

Report message to a moderator

Corporal 1st Class
Re: 1.13 Xml Editing[message #198352] Tue, 07 October 2008 15:26 Go to previous messageGo to next message
Reijen

 
Messages:23
Registered:July 2007
Hey I got a problem, I installed version 2296 and my xml editor inst' working, it says: one or more of your files contain invalid data. Please fix the data and restart the editor". Then, another window shows up with " details: file: pockets.xml ForeignKeyConstraint2 requires the existence of subordinated key values (24 and 25) on the main board", something like this, I had to translate from portuguese OS.
What's the solution for this?

[Updated on: Tue, 07 October 2008 15:27] by Moderator

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #198384] Tue, 07 October 2008 18:25 Go to previous messageGo to next message
Panpiper is currently offline Panpiper

 
Messages:41
Registered:February 2007
Location: Montreal, Canada
Reijen
Hey I got a problem, I installed version 2296 and my xml editor inst' working, it says: one or more of your files contain invalid data. Please fix the data and restart the editor". Then, another window shows up with " details: file: pockets.xml ForeignKeyConstraint2 requires the existence of subordinated key values (24 and 25) on the main board", something like this, I had to translate from portuguese OS.
What's the solution for this?


Install the .NET Framework.

http://msdn.microsoft.com/en-us/netframework/aa569263.aspx

Report message to a moderator

Corporal
Re: 1.13 Xml Editing[message #198395] Tue, 07 October 2008 20:07 Go to previous messageGo to next message
Reijen

 
Messages:23
Registered:July 2007
I already have 3.0 installed, do I need 3.5 or other for xml editor to work?

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #198397] Tue, 07 October 2008 20:22 Go to previous messageGo to next message
cougar

 
Messages:254
Registered:March 2000
There's a file that should be removed from the folder if you experience problems (the xml editor will create a new one), I THINK it is the JA2Data.XSD but I am not 100% sure. Make a backup of and delete it. This has fixed all (haven't been too many) my problems in the past.

Report message to a moderator

Master Sergeant
Re: 1.13 Xml Editing[message #198497] Wed, 08 October 2008 12:44 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
It is a bit more tricky now, especially with that "24 and 25" error mesage.

After an SVN-update, delete the XSD-file.
Make sure the latest version of silhouettes.xml is in the Lookup-folder.
Start the XML-editor. It will crash with the message about child/parent key problems, but should still make a new XSD-file that supports silhouettes.xml.
Replace the silhouettes.xml in the Lookup-folder with the latest version again.

The XML-editor sometimes (always?) mangles/truncates the silhouettes.xml the first time after an update, so it has to be put in again.

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #198567] Wed, 08 October 2008 19:12 Go to previous messageGo to next message
KEN C

 
Messages:244
Registered:May 2007
Location: Aberdeen Washington USA
The "24-25 "error problem has been around for at least 6 months. I wonder why no one has taken the 5 minutes necessary to fix this frustrating bug. it seems that everyone with the knowhow simply fixes the problem for thier own game and doen'nt consider it a general problem for the rest of us dummies who dont have a clue. Would someone please fix this?

Report message to a moderator

Sergeant 1st Class
Re: 1.13 Xml Editing[message #198637] Thu, 09 October 2008 10:12 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
OLDNOOOB
The "24-25 "error problem has been around for at least 6 months. I wonder why no one has taken the 5 minutes necessary to fix this frustrating bug. it seems that everyone with the knowhow simply fixes the problem for thier own game and doen'nt consider it a general problem for the rest of us dummies who dont have a clue. Would someone please fix this?

The one in the know about the XML-editor is the one who coded it: Madd Mugsy.
And he does not have much time these days, because of these strange things called 'work' and 'family' Wink

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #199101] Tue, 14 October 2008 11:44 Go to previous messageGo to next message
protosaber is currently offline protosaber

 
Messages:11
Registered:October 2004
Location: New York
I got a some issues and questions regarding to editing starting gear for my IMP character. How can I edit the XML impitemchoices file? I want my character to be sniper and camouflage with my own choice of items and weapons. What process and numbers could I followr.

Report message to a moderator

Private
Re: 1.13 Xml Editing[message #199105] Tue, 14 October 2008 13:10 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
KC
I got a some issues and questions regarding to editing starting gear for my IMP character. How can I edit the XML impitemchoices file? I want my character to be sniper and camouflage with my own choice of items and weapons. What process and numbers could I followr.

For the sniper and camouflage skills you should go through the normal character creation process, but the IMPItemChoices.xml should be edited before that.

You can either use the XML-Editor that is provided with 1.13 (it needs a NET 2.0 or 3.0 environment), your you can use an editor like Notepad++ (do /not/ use WordPad) to work on that file manually.
With the XML-Editor it should be quite easy to edit the file, but for editing manually I'd say you should have a look here http://ja2v113.pbwiki.com/XML+-+IMPItemChoices first, to know what is what in that file.

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #200498] Sat, 01 November 2008 15:01 Go to previous messageGo to next message
jaggy is currently offline jaggy

 
Messages:13
Registered:May 2007
Hi, Starwalker

I'm having the same problem as Panpiper when I try to run the XML Editor using with .Net Framework 2.0 installed.

Error: Failed to enable constraints. One or more rows contain values violating non-null, unique or foreign-key constraints.

File: Pockets.xml

ForeignKeyConstraint Constraint2 requires the child key values (25) to exist in the parent table

ForeignKeyConstraint Constraint2 requires the child key values (24) to exist in the parent table

I'm running JA2 Ver 1.13 (EDB-0.3_2088). I don't understand the part where you say make sure the latest version of "silhouettes.xml" is in the "Lookup-folder". I have looked through the Ja2 game folder but can't find either of the above. Could you tell me where the xml and look-up folder resides? Also, if I do an SVN-update, will it affect my current game saves? That is, will I still be able to play the game when I update svn? Will svn updates create incompatibilities with game saves?

Thanks in advance

Report message to a moderator

Private
Re: 1.13 Xml Editing[message #200545] Sun, 02 November 2008 13:22 Go to previous messageGo to next message
Kermi is currently offline Kermi

 
Messages:81
Registered:October 2002
the silhouettes.xml is in \data-1.13\tabledata\lookup folder

SVN update shouldn't break your savegames, if you are running a game version with multiplayer capabilities. Pre-MP saves don't work with the newer versions.

Report message to a moderator

Corporal 1st Class
Re: 1.13 Xml Editing[message #200564] Sun, 02 November 2008 17:54 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
If anyone has problems with that "24/25"-foreign key constraint message, try to add this at the end of silhouette.xml (if it is not already there, but if it is, you should not experience an error anyway):


24
Large Medical Cross


25
Small Medical Cross


EDIT: I hate that I cannot use TABs or multiple spaces Sad

This goes directly before the -line.

Perhaps this easier than copying files...

Just don't use WordPad to do it.

[Updated on: Sun, 02 November 2008 17:55] by Moderator

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #200568] Sun, 02 November 2008 18:02 Go to previous messageGo to next message
Headrock

 
Messages:1760
Registered:March 2006
Location: Jerusalem
@ Starwalker:

If you want tabs or multiple spaces, copy your post to notepad, add them, and paste it back. Then put it in "code" "/code" brackets.

BTW has the fix to the silhouettes file been added to SVN?

[Updated on: Sun, 02 November 2008 18:03] by Moderator

Report message to a moderator

Sergeant Major

Re: 1.13 Xml Editing[message #200571] Sun, 02 November 2008 18:10 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
The correct silhouette.xml was always on the SVN-server, but the XML-Editor tends to cut it short by itself. Don't ask me why.

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #200618] Mon, 03 November 2008 05:14 Go to previous messageGo to next message
jaggy is currently offline jaggy

 
Messages:13
Registered:May 2007
Kermi, Starwalker ... guys, thanks a bunch! I had wanted to see all the weapon types available to-date and their data, so I needed the XML Editor.

@Starwalker - Thanks! I prefer the method you had outlined, just editing via Notepad the silhouette xml. Did it, saved it and immediately tried it out. I'm looking at it now as I write and still drooling at all the stats!

@Kermi - Thanks for pointing out the location of the file. Didn't occur to me to check the sub-directories for the silhouette file.


@Kermi & @Starwalker - I had installed Ja2 Ver 1.13 via SVN. I then subsequently installed Headrock's "2124_Enhanced_Description_Box_0.3b" so I just need to click on Headrock's "ja2_With_EDB-0.3_2088" to activate the game. It works great, but my concern is, after editing the silhouette file to access the XML Editor (which works now), will I have problems with my current save games?

When I start this game up, I don't see any Multiplayer option. Would just like to know, as I don't want to lose my game saves. I have been playing for approximately 2 months and I would like see this current game through to the end. Thanks again for all your help and advice.

Report message to a moderator

Private
Re: 1.13 Xml Editing[message #200621] Mon, 03 November 2008 09:42 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
jaggy
@Kermi & @Starwalker - I had installed Ja2 Ver 1.13 via SVN. I then subsequently installed Headrock's "2124_Enhanced_Description_Box_0.3b" so I just need to click on Headrock's "ja2_With_EDB-0.3_2088" to activate the game. It works great, but my concern is, after editing the silhouette file to access the XML Editor (which works now), will I have problems with my current save games?

The XML-files in the Lookup-folder are only for use with the XML-editor, they should not have any impact on the game itself, and thus changing them should have no impact on your saves.

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #200754] Tue, 04 November 2008 21:06 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
jaggy
Hi, Starwalker

I'm having the same problem as Panpiper when I try to run the XML Editor using with .Net Framework 2.0 installed.

Error: Failed to enable constraints. One or more rows contain values violating non-null, unique or foreign-key constraints.

File: Pockets.xml

ForeignKeyConstraint Constraint2 requires the child key values (25) to exist in the parent table

ForeignKeyConstraint Constraint2 requires the child key values (24) to exist in the parent table

I'm running JA2 Ver 1.13 (EDB-0.3_2088). I don't understand the part where you say make sure the latest version of "silhouettes.xml" is in the "Lookup-folder". I have looked through the Ja2 game folder but can't find either of the above. Could you tell me where the xml and look-up folder resides? Also, if I do an SVN-update, will it affect my current game saves? That is, will I still be able to play the game when I update svn? Will svn updates create incompatibilities with game saves?

Thanks in advance


This bug is already fixed in the new version of the XML Editor, but not yet uploaded to the SVN GameDir.
It will be uploaded together with a new EXE (including EDB and 100 AP). This should be in the next few days...

Report message to a moderator

Sergeant Major

Re: 1.13 Xml Editing[message #200763] Tue, 04 November 2008 22:39 Go to previous messageGo to next message
Marlboro Man

 
Messages:1156
Registered:October 2005
Location: USA
Quote:
This bug is already fixed in the new version of the XML Editor, but not yet uploaded to the SVN GameDir.
It will be uploaded together with a new EXE (including EDB and 100 AP). This should be in the next few days...


:ok:

Report message to a moderator

Sergeant Major

Re: 1.13 Xml Editing[message #200846] Wed, 05 November 2008 14:38 Go to previous messageGo to next message
jaggy is currently offline jaggy

 
Messages:13
Registered:May 2007
Starwalker, thanks, that was a load off my mind! RoWa21, that's good to hear, especially for the newbies playing the game and even the veterans coming back. I didn't think 100 APs would be implemented so quickly! Looking forward to it, when it becomes available. Thanks, all!

Report message to a moderator

Private
Re: 1.13 Xml Editing[message #203574] Mon, 08 December 2008 14:54 Go to previous messageGo to next message
Bizarre Reverend
Messages:2
Registered:December 2008
I've got a question about ammo drop rates, what exactly does the percentage mean? Is it the probability of dropping said ammo and if so what about the amount dropped?

Report message to a moderator

Civilian
Re: 1.13 Xml Editing[message #205799] Wed, 07 January 2009 23:42 Go to previous messageGo to next message
Gloaming is currently offline Gloaming
Messages:1
Registered:February 2008
Hello,

I have a quick question too. I don't have a lot of skill modding xml-data etc but I will try my best. I am trying to change the Spas-12 data because ingame it shows up as a one-handed shotgun (liked a sawed-off). I want to make it to a normal two-handed shotgun if possible. I couldn't find anything in the Items.xml or Weapons.xml that would've changed this particular aspect of the weapon so if anyone knows how to do this please let me know Very Happy

Also, aren't there any premade Enemygunchoice.xml 's available? I enjoy the WWII-weapons but i'd love to try something else without having to change a whole list of numbers (lazy, don't judge me Sad )

Thank you in advance folks Very Happy

Report message to a moderator

Civilian
Re: 1.13 Xml Editing[message #205818] Thu, 08 January 2009 04:55 Go to previous messageGo to next message
cooldeadjim is currently offline cooldeadjim

 
Messages:33
Registered:February 2008
Location: N.Y., USA
When there is a fix for the XML editor where will the FIX be posted other than the:


"This bug is already fixed in the new version of the XML Editor, but not yet uploaded to the SVN GameDir.
It will be uploaded together with a new EXE (including EDB and 100 AP). This should be in the next few days..."

will there be a separate download?

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #205836] Thu, 08 January 2009 12:35 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@honestgun: Any new versions are always available via SVN GameDir.

EDIT: Changes for the new versions are posted in the "Release Note" thread.

[Updated on: Thu, 08 January 2009 12:37] by Moderator

Report message to a moderator

Sergeant Major

Re: 1.13 Xml Editing[message #205837] Thu, 08 January 2009 12:39 Go to previous messageGo to next message
okashii is currently offline okashii

 
Messages:24
Registered:January 2009
Hey there =] Im new to moding but I find it very fun (I did some small changes to Raven and Raider to make their starting equipment more swat like)

Here are some questions :

- is there any easy way to mod the game so that no A.I.M mercenaries are on assignment at the start of the game? (in other words all are available at the beginning) I just find it annoying to start ne game again and again when I cant hire the ones I like the most

- is there a way to change the colours of your I.M.P mercenary? (without using camouflage Razz)
white shirt and green pants are not my style Razz (for example in 1.13 wildfire mod the I.M.P clothes were nicely grey)

- how can I change the photos of mercenaries with custom image files?

- and a similar question about changing the laptop wallpaper Wink

thanks in advance for any helpful info =]

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #205885] Thu, 08 January 2009 19:01 Go to previous messageGo to next message
cooldeadjim is currently offline cooldeadjim

 
Messages:33
Registered:February 2008
Location: N.Y., USA
Ok, I have another Question, can you change the amount of items bobby ray can ship at once, if so where is it located? thanks

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #205895] Thu, 08 January 2009 22:47 Go to previous messageGo to next message
okashii is currently offline okashii

 
Messages:24
Registered:January 2009
Hmm I think I found a bug or at least a problem with moding :

I wanted to modify the weapons list of Normal Guns mode (not Tons of Guns) and move a few that I like from one mode to another, it all seemed to work well and easy - I edited the weapons I wanted to move from Tons of Guns to Normal Guns just by going to

ITEMS=>TONS OF GUNS=>M21sniper(example)=>EDIT=>ATTRIBUTES=>FLAGS=> and simply "tick out" where it says Tons of Guns so that it appears in Normal Guns mode

after I chose new game and got to D13 Drassen airport to unlock Bobby Ray's website I placed an order for the M21sniper but the package never arrives!

am I doing something wrong?

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #205896] Thu, 08 January 2009 22:56 Go to previous messageGo to next message
cougar

 
Messages:254
Registered:March 2000
Did you have Drassen town loyalty at 20%? If you only captured D13 you did not.

Report message to a moderator

Master Sergeant
Re: 1.13 Xml Editing[message #205897] Thu, 08 January 2009 23:10 Go to previous messageGo to next message
okashii is currently offline okashii

 
Messages:24
Registered:January 2009
I just tested it again with 32% of Drassen loyality (instead of 17%) and you were right Very Happy got my weapon from Tons of Guns

thank you soooo much =]

now I can finally mod the weapons list to my liking

[Updated on: Fri, 09 January 2009 00:30] by Moderator

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #205945] Fri, 09 January 2009 15:47 Go to previous messageGo to next message
okashii is currently offline okashii

 
Messages:24
Registered:January 2009
New question : How can I edit the game so that I dont fire more bullets than intended while using automatic weapons? (note: I dont mean the psycho personality)

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #205949] Fri, 09 January 2009 16:47 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@okashii: You cannot change that. It is hard-coded in the ja2.exe

Report message to a moderator

Sergeant Major

Re: 1.13 Xml Editing[message #205950] Fri, 09 January 2009 16:50 Go to previous messageGo to next message
okashii is currently offline okashii

 
Messages:24
Registered:January 2009
ok thanks for the info =]

New question:

- how can I modify the special skills of A.I.M mercenaries? I want to give Scope sniper skill instead of teaching because it suits her better IMO. I know there is Proedit in 1.13 Binary Data but that didnt change anything

[Updated on: Fri, 09 January 2009 20:07] by Moderator

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #205957] Fri, 09 January 2009 20:17 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
You have to change the name of the prof.dat version that suits your style of play (difficulty) to "prof.dat", edit it, and then change its name back to what it was before. Keep the original prof.dat somewhere safe, so that you can put it back.
Changes in prof.dat show up only when you start a new game (the same goes for changes in MercStartingGear.xml for items, if using NIV).

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #205958] Fri, 09 January 2009 20:25 Go to previous messageGo to next message
okashii is currently offline okashii

 
Messages:24
Registered:January 2009
Thanks a lot it worked =]

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #206049] Sat, 10 January 2009 20:48 Go to previous messageGo to next message
cooldeadjim is currently offline cooldeadjim

 
Messages:33
Registered:February 2008
Location: N.Y., USA
I think i read this somewhere in a post, but I don't remember where. I know in order for some items to show up to have to set the game to Sci-Fi,example Burst attachment, My Question is, is there a way to have the Sci-Fi items show up under the reality setting? if this Question was already answered, please point me to the answer. also can't wait for the Xml Editor fix.

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #206052] Sat, 10 January 2009 20:51 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
You can set the SciFi-tag in Items.xml to 0 for the items you want to appear under the standard setting.

Report message to a moderator

First Sergeant

Re: 1.13 Xml Editing[message #206059] Sat, 10 January 2009 21:32 Go to previous messageGo to next message
okashii is currently offline okashii

 
Messages:24
Registered:January 2009
Or if you prefer you can start the .xml editor go items > show > by other filters > sci-fi

find the item you want, select it, right click, view details and in the attribute - flags section "un-tick" it where it says sci-fi, that should move it to the realistic mode also

hope that helps

question : does dexterity help to aim and/or use burst/auto fire? or is it a myth?

Report message to a moderator

Private 1st Class
Re: 1.13 Xml Editing[message #206063] Sat, 10 January 2009 21:59 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
It is not a myth. Someone displayed where in the code this was written a while ago. Maybe a coder could elaborate?

Report message to a moderator

Sergeant Major
Re: 1.13 Xml Editing[message #206066] Sun, 11 January 2009 00:52 Go to previous messageGo to previous message
cooldeadjim is currently offline cooldeadjim

 
Messages:33
Registered:February 2008
Location: N.Y., USA
Thanks you for the info. too bad the Xml editor value bug thing fix hasnt been posted yet, so no xml editing.

Report message to a moderator

Private 1st Class
Previous Topic: MercStartingGear editor
Goto Forum:
  


Current Time: Mon Jan 20 07:53:15 GMT+2 2025

Total time taken to generate the page: 0.02706 seconds