Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Need help with this mod

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [Modern] >> Hired Guns: The Jagged Edge >> Need help with this mod Page: [1]
Login
Message << Older Topic   Newer Topic >>
Need help with this mod - 12/8/2008 6:54:56 AM   
milkweg


Posts: 546
Joined: 7/23/2007
Status: offline
Can anybody help me with this mod?

"Every single NPC have 100 in stength so it is not so strange that they throw like gods. Just open up "Hired Guns\basis\scripts\logic\persons.xml" and change the strength for the NPCs (I recommend just copying their dexterity value)."

It says change strength value but I can only find one instance of strength and it has no data value.

<Cell ss:StyleID="s27"><Data ss:Type="String">strength</Data></Cell>

Same with dexterity, the above says make strength value the same as dexterity. This is all I find for dexterity.

<Cell ss:StyleID="s27"><Data ss:Type="String">dexterity</Data></Cell>

Search for NPC and there are numerous entries but nothing in the block that refers to strength or dexterity.

Also, there are three different persons.xml files so I would assume one would have to change the file depending on what level of skill you are playing at. There is persons.xml, persons_easy.xml and persons_hard.xml. persons.xml must refer to normal difficulty level.

I am using notepad to edit the xml files and had no trouble modifying the action_cost.xml file so why can't I find what I am supposed to edit in persons.xml? It would be appreciated if someone posted the exact string I have to edit. Thanks.




< Message edited by milkweg -- 12/8/2008 6:57:08 AM >
Post #: 1
RE: Need help with this mod - 12/8/2008 7:33:27 AM   
Highblur

 

Posts: 6
Joined: 12/8/2008
Status: offline
Simply use excel from ms office. worked for me. Also, yes, you only need to modify persons.xml for normal, the other 2 contain diff data, easy mode and hard mode.


< Message edited by Highblur -- 12/8/2008 9:01:45 PM >

(in reply to milkweg)
Post #: 2
RE: Need help with this mod - 12/8/2008 7:34:48 AM   
ShadoWarrior


Posts: 164
Joined: 12/6/2008
From: Florida space coast
Status: offline
Assuming he has MS Office ...

(in reply to Highblur)
Post #: 3
RE: Need help with this mod - 12/8/2008 7:38:39 AM   
Highblur

 

Posts: 6
Joined: 12/8/2008
Status: offline
Or he could use OpenOffice i guess. Thats free and can edit excel spreads no?

(in reply to ShadoWarrior)
Post #: 4
RE: Need help with this mod - 12/8/2008 7:39:45 AM   
NobillyT

 

Posts: 16
Joined: 12/7/2008
Status: offline
Open Office is a good freeware alternative for MS Office for dealing with .xml files.

edit: damn, beat to the punch

< Message edited by NobillyT -- 12/8/2008 7:40:25 AM >

(in reply to ShadoWarrior)
Post #: 5
RE: Need help with this mod - 12/8/2008 7:58:26 AM   
milkweg


Posts: 546
Joined: 7/23/2007
Status: offline
I don't have MS Office but have OPenOffice somewhere on an external HDD. I see there are other free xml editors available but I thought notepad can edit xml files anyway? When I right click an xml file it gives me the option to edit with notepad. Guess not and I need a proper xml editor. Thanks.

< Message edited by milkweg -- 12/8/2008 8:00:34 AM >

(in reply to NobillyT)
Post #: 6
RE: Need help with this mod - 12/8/2008 2:26:55 PM   
Erik Rutins

 

Posts: 37503
Joined: 3/28/2000
From: Vermont, USA
Status: offline
You can edit an XML file just as you would edit any text file, but a proper XML editor makes it a lot easier. I use Oxygen, but there are good free ones too:

http://www.microsoft.com/downloads/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628&displaylang=en

http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml

http://en.wikipedia.org/wiki/XML_editor



_____________________________

Erik Rutins
CEO, Matrix Games LLC




For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.

(in reply to milkweg)
Post #: 7
RE: Need help with this mod - 12/8/2008 2:43:01 PM   
Hard Sarge


Posts: 22741
Joined: 10/1/2000
From: garfield hts ohio usa
Status: offline
for me, I don't like to mod my own files, feels too much like cheating, but if the gang here wants to make a up a simi Off mod, I would be all for using it :)

(I did do the camera one)


_____________________________


(in reply to Erik Rutins)
Post #: 8
RE: Need help with this mod - 12/8/2008 4:02:58 PM   
SlickWilhelm


Posts: 1854
Joined: 7/22/2007
From: Rochester, MN
Status: offline

quote:

ORIGINAL: Highblur

Also, no, you only need to modify persons.xml, the other 2 contain diff data.
.


Huh? Why wouldn't you want to modify persons_easy.xml if you're playing on "easy" difficulty setting?


_____________________________

Beta Tester - Brother Against Brother
Beta Tester - Commander: The Great War
Beta Tester - Desert War 1940-42

(in reply to Highblur)
Post #: 9
RE: Need help with this mod - 12/8/2008 4:05:02 PM   
Hard Sarge


Posts: 22741
Joined: 10/1/2000
From: garfield hts ohio usa
Status: offline

quote:

ORIGINAL: Slick Wilhelm


quote:

ORIGINAL: Highblur

Also, no, you only need to modify persons.xml, the other 2 contain diff data.
.


Huh? Why wouldn't you want to modify persons_easy.xml if you're playing on "easy" difficulty setting?



i think he means there is different info on the different data files, so a base data file, and then a data for for each of the levels

_____________________________


(in reply to SlickWilhelm)
Post #: 10
RE: Need help with this mod - 12/8/2008 9:03:01 PM   
Shin

 

Posts: 15
Joined: 12/6/2008
Status: offline
Hmm, I'd appreciate and I bet others would to if this NPC strength fix got posted as a download. It's something that should be patched anyway.

(in reply to Hard Sarge)
Post #: 11
RE: Need help with this mod - 12/8/2008 10:23:19 PM   
Hard Sarge


Posts: 22741
Joined: 10/1/2000
From: garfield hts ohio usa
Status: offline

quote:

ORIGINAL: Shin

Hmm, I'd appreciate and I bet others would to if this NPC strength fix got posted as a download. It's something that should be patched anyway.


look in the Mod section, it is already there :)

_____________________________


(in reply to Shin)
Post #: 12
RE: Need help with this mod - 12/9/2008 12:13:34 AM   
milkweg


Posts: 546
Joined: 7/23/2007
Status: offline

quote:

ORIGINAL: Erik Rutins

You can edit an XML file just as you would edit any text file, but a proper XML editor makes it a lot easier. I use Oxygen, but there are good free ones too:

http://www.microsoft.com/downloads/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628&displaylang=en

http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml

http://en.wikipedia.org/wiki/XML_editor




Thanks, I'll look into those. But why couldn't I find the data needed to modify in persons.xml with notepad anyway? Like I said, I did that mod for action_cost.xml and found and edited the data easy enough using just notepad. In persons.xml I couldn't find what I was supposed to edit at all.

(in reply to Erik Rutins)
Post #: 13
RE: Need help with this mod - 12/9/2008 12:16:42 AM   
Erik Rutins

 

Posts: 37503
Joined: 3/28/2000
From: Vermont, USA
Status: offline
These files are really designed to be opened with Excel, as Sean reminded me today. So scratch what I said earlier, which does apply to XML files in general. These XML files _really_ like being opened in Excel.

_____________________________

Erik Rutins
CEO, Matrix Games LLC




For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.

(in reply to milkweg)
Post #: 14
RE: Need help with this mod - 12/9/2008 12:21:38 AM   
milkweg


Posts: 546
Joined: 7/23/2007
Status: offline
OK, guess I am SOL then because I don't have Excel and am not going to buy MS Offiice just for Excel. I will install OPen Office and see how it handles the xml files.

(in reply to Erik Rutins)
Post #: 15
RE: Need help with this mod - 12/9/2008 12:39:23 AM   
SlickWilhelm


Posts: 1854
Joined: 7/22/2007
From: Rochester, MN
Status: offline
The "Calc" application in the Open Office suite from Sun Microsystems seems to handle the .xml files just fine. 

_____________________________

Beta Tester - Brother Against Brother
Beta Tester - Commander: The Great War
Beta Tester - Desert War 1940-42

(in reply to milkweg)
Post #: 16
RE: Need help with this mod - 12/9/2008 1:24:57 AM   
milkweg


Posts: 546
Joined: 7/23/2007
Status: offline
OK, thanks, saw you post that info in another thread so will definitely install OPenOfiice.

(in reply to SlickWilhelm)
Post #: 17
RE: Need help with this mod - 12/9/2008 9:19:35 PM   
Scautura

 

Posts: 16
Joined: 12/9/2008
Status: offline
I've just tried using OpenOffice Portable (2.0.4) and every file I've edited gives me errors when I try to start the game (in Russian no less). I don't have MS Office at home, and certain files actually cause Excel 2003 to crash at work (Persons.xml and versions thereof)

I'm currently reinstalling and giving it another go (I stupidly didn't take backups of the XML files). Any other suggestions?

(in reply to milkweg)
Post #: 18
RE: Need help with this mod - 12/10/2008 3:20:35 PM   
milkweg


Posts: 546
Joined: 7/23/2007
Status: offline
Try some of the free xml editors out there. Microsoft has a special notepad version that is for editing xml files. I posted links to that and a couple of others in the mod forum.

(in reply to Scautura)
Post #: 19
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [Modern] >> Hired Guns: The Jagged Edge >> Need help with this mod Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.984