Need help with this mod (Full Version)

All Forums >> [Current Games From Matrix.] >> [Modern] >> Hired Guns: The Jagged Edge



Message


milkweg -> Need help with this mod (12/8/2008 6:54:56 AM)

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.






Highblur -> RE: Need help with this mod (12/8/2008 7:33:27 AM)

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.




ShadoWarrior -> RE: Need help with this mod (12/8/2008 7:34:48 AM)

Assuming he has MS Office ...




Highblur -> RE: Need help with this mod (12/8/2008 7:38:39 AM)

Or he could use OpenOffice i guess. Thats free and can edit excel spreads no?




NobillyT -> RE: Need help with this mod (12/8/2008 7:39:45 AM)

Open Office is a good freeware alternative for MS Office for dealing with .xml files.

edit: damn, beat to the punch




milkweg -> RE: Need help with this mod (12/8/2008 7:58:26 AM)

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.




Erik Rutins -> RE: Need help with this mod (12/8/2008 2:26:55 PM)

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





Hard Sarge -> RE: Need help with this mod (12/8/2008 2:43:01 PM)

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)




SlickWilhelm -> RE: Need help with this mod (12/8/2008 4:02:58 PM)


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?




Hard Sarge -> RE: Need help with this mod (12/8/2008 4:05:02 PM)


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




Shin -> RE: Need help with this mod (12/8/2008 9:03:01 PM)

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.




Hard Sarge -> RE: Need help with this mod (12/8/2008 10:23:19 PM)


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 :)




milkweg -> RE: Need help with this mod (12/9/2008 12:13:34 AM)


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.




Erik Rutins -> RE: Need help with this mod (12/9/2008 12:16:42 AM)

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.




milkweg -> RE: Need help with this mod (12/9/2008 12:21:38 AM)

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.




SlickWilhelm -> RE: Need help with this mod (12/9/2008 12:39:23 AM)

The "Calc" application in the Open Office suite from Sun Microsystems seems to handle the .xml files just fine. 




milkweg -> RE: Need help with this mod (12/9/2008 1:24:57 AM)

OK, thanks, saw you post that info in another thread so will definitely install OPenOfiice.




Scautura -> RE: Need help with this mod (12/9/2008 9:19:35 PM)

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?




milkweg -> RE: Need help with this mod (12/10/2008 3:20:35 PM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.171875