|
Re: 1.13 Xml Editing[message #259748]
|
Wed, 18 August 2010 02:13
|
|
Villa |
|
Messages:17
Registered:November 2009 |
|
|
VillaIs it possible to edit more than one merc's starting gear at the same time?
For example, if I want to to give every merc identical helmets and vests, I can do that via the XML editor by editing one merc after another, but this is rather tedious. I'm thinking about editing one merc, then opening MercStartingGear.xml to copy/paste the corresponding entries to the other mercs, but before I do that I would like to make sure there is no easier way that I may have missed.
Because I don't have Excel and couldn't figure out how do it with OpenOffice Calc, I found a method to change multiple entries with the help of the free text editor PSPad (www.pspad.org):
- Run PSPad, open MercStartingGear.xml
- Choose "Search - Replace" from the menu
- In the "Find" field, enter "([^<]*)"
- In the "Replace" field, enter "803"
- Enable "Regular Expressions" (can be found under "Options")
(This will change all ballistic vests to "Dyneema Vest".)
Report message to a moderator
|
Private
|
|
|
|
Re: 1.13 Xml Editing[message #261237]
|
Wed, 01 September 2010 13:12
|
|
Starwalker |
|
Messages:759
Registered:October 2005 Location: Hannover, Germany |
|
|
TheHandlerSorry to be a pain, but this seems like the best place to ask this.
For some reason, my XML editor has started giving me a fatal error whenever I try to run it.
I haven't edited anything yet, so I'm fairly certain it's nothing I've done, to my knowledge at least.
[...]
I've located two files with that name, but where can I locate the parent table?
At least then I can root around in it and perhaps locate and rectify the error.
Try deleting the XSD-file (the editor should make a new one when started again).
If that does not help, delete backend.dll and get it again from the SVN-Server.
The parent table is the file that refers to the two indices the error message shows (24 and 25). Most probable it is pockets.xml, which refers to silhouette.xml (24 and 25 are the indices of the medical cross silhouettes).
Silhouette.xml is a file that is not needed by the game, only by the XML-Editor (to give names to the silhouettes).
[Updated on: Wed, 01 September 2010 13:19] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: 1.13 Xml Editing[message #288048]
|
Mon, 01 August 2011 00:07
|
|
Morbo |
|
Messages:31
Registered:May 2008 |
|
|
-
200
Binoculars
% Quality Binoculars
7x50 High-Quality Binoculars.
% 7x50 Binoculars
Rugged binoculars for the serious hunter or soldier. Multi-coated lenses, nitrogen-filled, and rubber-armored. Usable under bad light conditions.
2
1
200
1
547
7
1
17
300
5
-4
1
1
1
1
1
1
1
1
1
1
40
40
160
60
20
Trying to change an item from 2 handed to one handed.
If i remove this line:
1
from the items.xml, the game errors on load. It basically says its unable to load the items.xml file.
What am i doing wrong? (this is a items.xml for AIMNAS, but xml is xml, so not sure what i'm doing wrong).
Does word pad do something weird to the file on save? Should i use notepad to edit it instead?
[Updated on: Mon, 01 August 2011 00:08] by Moderator Report message to a moderator
|
Private 1st Class
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: 1.13 Xml Editing[message #300457]
|
Tue, 28 February 2012 01:57
|
|
Foxd1e |
|
Messages:32
Registered:February 2012 Location: US |
|
|
Hey guys I am having a problem. I am playing JA2 1.13 rev4945 w/AIMNAS 21, with the new items of AIMNAS v26. The problem I am running it in the .xml editor only is when I am browsing the items tab-show-by class and lets say armour for this example and I go to the new entries let's say ID 1123 the Guardian vest urban and I right click it to view details I get an unhandled exception error that says value 417 is not a valid value, a value should be between the min and max setting. 417 refers to the corresponding graphic sti in Big Items. The xml editor does this for any new items I added from v26. I can use the items fine ingame and I can edit them fine in the item.xml with notepad++. My question is how do I get the .xml editor to acknowledge the new items graphics. Like if I want to change an items current graphic I go to show details, then general tab and under type I select the proper catergories, but the current indexs stop at AIMNAS v21 values. For example in p2items I can't go above index 409 even tho it goes well beyond 417 thanks to the new items.
The indepth error is this:
Toggle SpoilerSee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '417' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at GUI.ItemDataForm.Initialize()
at GUI.ItemDataForm.Open(Int32 id, String name)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
XML Editor
Assembly Version: 0.60.0.0
Win32 Version: 0.60.0.0
CodeBase: file:///C:/Jagged%20Alliance2/XML%20Editor.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
BackEnd
Assembly Version: 0.0.0.32
Win32 Version: 0.0.0.32
CodeBase: file:///C:/Jagged%20Alliance2/BackEnd.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I may have posted too much, but I just want someone who can help to have as much information as possible. Thanks in advance
[Updated on: Tue, 28 February 2012 02:09] by Moderator Report message to a moderator
|
Private 1st Class
|
|
|
|
|
|
Re: 1.13 Xml Editing[message #300698]
|
Thu, 01 March 2012 19:11
|
|
DepressivesBrot |
|
Messages:3651
Registered:July 2009 |
|
|
On request, i changed the 'combo' to use a binary system to give more flexibility to what can be worn together. If you want only 'pure' sets, just use powers of 2 (1,2,4,8,16,32,64,128, ...)
Report message to a moderator
|
|
|
|
|
Re: 1.13 Xml Editing[message #301047]
|
Mon, 05 March 2012 23:17
|
|
AnotherSlayer |
Messages:1
Registered:March 2012 |
|
|
Foxd1eHey guys I am having a problem. I am playing JA2 1.13 rev4945 w/AIMNAS 21, with the new items of AIMNAS v26. The problem I am running it in the .xml editor only is when I am browsing the items tab-show-by class and lets say armour for this example and I go to the new entries let's say ID 1123 the Guardian vest urban and I right click it to view details I get an unhandled exception error that says value 417 is not a valid value, a value should be between the min and max setting. 417 refers to the corresponding graphic sti in Big Items. The xml editor does this for any new items I added from v26. I can use the items fine ingame and I can edit them fine in the item.xml with notepad++. My question is how do I get the .xml editor to acknowledge the new items graphics. Like if I want to change an items current graphic I go to show details, then general tab and under type I select the proper catergories, but the current indexs stop at AIMNAS v21 values. For example in p2items I can't go above index 409 even tho it goes well beyond 417 thanks to the new items.
The indepth error is this:
Toggle SpoilerSee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '417' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at GUI.ItemDataForm.Initialize()
at GUI.ItemDataForm.Open(Int32 id, String name)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
XML Editor
Assembly Version: 0.60.0.0
Win32 Version: 0.60.0.0
CodeBase: file:///C:/Jagged%20Alliance2/XML%20Editor.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
BackEnd
Assembly Version: 0.0.0.32
Win32 Version: 0.0.0.32
CodeBase: file:///C:/Jagged%20Alliance2/BackEnd.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I may have posted too much, but I just want someone who can help to have as much information as possible. Thanks in advance
Hello Foxd1e! I use same hybrid except that i combine v21 with v25 for HAM features, and i had same problem. Suggestion is copy files with the beginning "md" from "interface" folder, and files with the beginning "sm" from "tilesets/0" folder in AIMNAS v 26, to your hybrid same folders.
Sorry for my English :crazy:
Hope it will be useful :/
Report message to a moderator
|
Civilian
|
|
|
|
|
|
|
|
Re: 1.13 Xml Editing[message #312795]
|
Wed, 05 December 2012 11:09
|
|
krux |
|
Messages:62
Registered:June 2011 |
|
|
question: I notice that a lot of integrated attachments has been added by just copying the stats from the attachment to the gun itself. This makes it really time consuming to edit.
Is it not possible to just add a tag that the gun has a bipod/folding stock so if the stats of the attachment is altered all guns would be affected automatically?
How would one do this? I tried adding the defaultAttachment tag but no effect. Reason I ask is that I do a lot of weapon/attachment tweaks atm.
[Updated on: Wed, 05 December 2012 11:09] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
Re: 1.13 Xml Editing[message #312869]
|
Fri, 07 December 2012 23:31
|
|
krux |
|
Messages:62
Registered:June 2011 |
|
|
Ok thanks, so the attachment has to have the inseparable tag to be used as a default attachment? I see a few weapons that uses defaultAttachment in Items.xml that isn't inseparable though.
[Updated on: Fri, 07 December 2012 23:31] by Moderator Report message to a moderator
|
Corporal
|
|
|
|
|
|
|