More Money

Post your mods for Hired Guns here.
TR Shrum
Posts: 74
Joined: Mon Feb 13, 2006 9:07 pm

More Money

Post by TR Shrum »

I've notice several posts regarding "not enough money" or "I keep running out of money." Open the mission_upgrades.xml and tinker with the Intitial Cost, Dailey Cost, and Dailey Bonus/Income numbers. By lowering the intitial cost and raising the dailey income figures I've managed to give myself just "that little extra something." Be advised, this can be abused: $300,000 dailey income and $5 intitial cost...
User avatar
SlickWilhelm
Posts: 1854
Joined: Sun Jul 22, 2007 1:52 pm
Location: Rochester, MN

RE: More Money

Post by SlickWilhelm »

Nice find. Sounds like this could have the makings of a "Beverly Hills Mercs" mod. [8D]
Beta Tester - Brother Against Brother
Beta Tester - Commander: The Great War
Beta Tester - Desert War 1940-42
CowGod
Posts: 44
Joined: Sun Dec 07, 2008 9:45 pm

RE: More Money

Post by CowGod »

whenever i modify a file - save it - and try to play, the game gives me a tablekeeper error. what am i doing wrong?
User avatar
SeanD
Posts: 1082
Joined: Thu Mar 02, 2006 5:36 am
Contact:

RE: More Money

Post by SeanD »

What are you using to edit these files CowGod?
Sean Drummy

Marketing and Press Relations Manager
Image
CowGod
Posts: 44
Joined: Sun Dec 07, 2008 9:45 pm

RE: More Money

Post by CowGod »

scalc from sun.
Scautura
Posts: 16
Joined: Tue Dec 09, 2008 9:58 am

RE: More Money

Post by Scautura »

I had the same problem using OpenOffice Calc 2.0.4, I'm just installing 3.0 and seeing if I have the same problem.

I don't have MS Office at home, and some of the XML files (Persons.xml and derivatives in particular) cause it to crash on my work laptop, so I can't even use that to edit.
User avatar
SeanD
Posts: 1082
Joined: Thu Mar 02, 2006 5:36 am
Contact:

RE: More Money

Post by SeanD »

Can you try Excel or NotePad? I've not used the program you're using and maybe it's screwing up the formatting which is throwing the error.

Bear in mind that these files are designed to natively run in Mircosoft Excel.
Sean Drummy

Marketing and Press Relations Manager
Image
CowGod
Posts: 44
Joined: Sun Dec 07, 2008 9:45 pm

RE: More Money

Post by CowGod »

I am already using 3.0 and nothing. same tablekeeper error. In addition after the tablekeeper error if you try to reload the same to return the values to the same original content it just won't save. something is not right.
CowGod
Posts: 44
Joined: Sun Dec 07, 2008 9:45 pm

RE: More Money

Post by CowGod »

It becomes unreadable with notepad:)
Scautura
Posts: 16
Joined: Tue Dec 09, 2008 9:58 am

RE: More Money

Post by Scautura »

Notepad is fine, but makes it very hard to read (XML is meant to be semantic, and while semantically good for a spreadsheet, it's next to impossible to read for a "config" or "data" file - you can tell where the rows are, but you have to remember which column is which, kinda hard when you've got many columns of data). As I've mentioned before, Office crashes for me on some of the XML files (which can't be good to start with).

With OO, when saving, it asks if you want to keep it in Office 2003 format - it is obviously making some changes to the format, but Excel still reads it fine.

If I could understand the error message (Russian - actually comes out as gobbledygook for me) then I might be able to track it down further.

More weirdness: The file from OO is larger than the original, but has less whitespace (no carriage returns that I can find), and is missing bits (such as the <DocumentProperties> section)
I'd go into it further, but I'm hitting the sack and I'll come back to it later. I'd attach one of the files, but the only one I have left in OO format is a smidge large (Persons_easy.xml at 711Kb)
CowGod
Posts: 44
Joined: Sun Dec 07, 2008 9:45 pm

RE: More Money

Post by CowGod »

i'm reinstalling on my laptop to see if it works on microsoft work excel. i hope it does and will let you know shortly.
User avatar
ArtVan9000
Posts: 21
Joined: Fri Dec 05, 2008 10:23 pm

RE: More Money

Post by ArtVan9000 »

to get more $$$ at start all you have to edit is global_vars in Hired Guns\basis\campaigns\JAZZ

looks like this:

GVARS =
{
&nbsp;&nbsp;&nbsp; Money&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0,
&nbsp;&nbsp;&nbsp; Start_Money_Easy&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 50000,&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; -- Í&#341;÷&#341;ëüí&#369;é &#281;&#341;&#271;&#269;&#328;&#341;ë í&#341; ë&#314;&#259;&#281;î&#283; ó&#273;îâí&#314; &#324;ëî&#263;íî&#324;&#328;&#269;
&nbsp;&nbsp;&nbsp; Start_Money_Normal&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 40000,&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; -- Í&#341;÷&#341;ëüí&#369;é &#281;&#341;&#271;&#269;&#328;&#341;ë í&#341; íî&#273;&#283;&#341;ëüíî&#283; ó&#273;îâí&#314; &#324;ëî&#263;íî&#324;&#328;&#269;
&nbsp;&nbsp;&nbsp; Start_Money_Hard&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 30000,&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; -- Í&#341;÷&#341;ëüí&#369;é &#281;&#341;&#271;&#269;&#328;&#341;ë í&#341; &#283;îç&#341;&#337;&#269;&#324;&#328;&#324;&#281;î&#283; ó&#273;îâí&#314; &#324;ëî&#263;íî&#324;&#328;&#269;
&nbsp;&nbsp;&nbsp; Cheats&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0,&nbsp;&nbsp;&nbsp;
[center] ALL GLORY TO THE HYPNOTOAD !!![/center]
Dryb
Posts: 2
Joined: Tue Dec 09, 2008 8:53 pm

RE: More Money

Post by Dryb »

I just downloaded OpenOffice to mess with some numbers, and now the game won't load. I also noticed that, for some reason, whenever I save the files after editing them they seem to double in size. The grenade file starts at 14k, then when I go in and change a damage number and save it, it's all of a sudden 29k.

Any ideas?

User avatar
SeanD
Posts: 1082
Joined: Thu Mar 02, 2006 5:36 am
Contact:

RE: More Money

Post by SeanD »

Wow that's strange. I've been editing XML files like crazy in Excel 2003 and haven't encountered any of these problems.

Can you send me the files you're trying to mod so I can take a look?
Sean Drummy

Marketing and Press Relations Manager
Image
Scautura
Posts: 16
Joined: Tue Dec 09, 2008 9:58 am

RE: More Money

Post by Scautura »

Here's a couple of the files (Persons_easy.xml and action_cost.xml) so you can see what's happening with OO.

I have a feeling they're being saved in Unicode, where the originals aren't, because of the way that they're doubling (or almost doubling) in size, despite having less formatting data and some of the data is missing from the file in the first place.
Attachments
logic.zip
(24.36 KiB) Downloaded 21 times
CowGod
Posts: 44
Joined: Sun Dec 07, 2008 9:45 pm

RE: More Money

Post by CowGod »

I tried with microsoft works and it works fine.
User avatar
Erik Rutins
Posts: 39650
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: More Money

Post by Erik Rutins »

I've worked with those files in both Office 2007 and Office 2002 without problems. I'm not sure why they would be causing problems for you?
Erik Rutins
CEO, Matrix Games LLC


Image

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

Freedom is not Free.
Scautura
Posts: 16
Joined: Tue Dec 09, 2008 9:58 am

RE: More Money

Post by Scautura »

Working with the files is not a problem - try substituting them into your game folder (take a backup, of course!) and try running the game, start a new game, then watch it crash out with an unintelligible message.

Office can deal with them (they're well formed XML) and fill in the blanks, but HG discards them out of hand (I'm assuming it either can't deal with unicode, or it can't deal with specific missing data - or both)

I've just edited a file (that was already edited with OO) in Excel 2003 and I'll give it a try when I get home (also attached here).
Attachments
Persons_easy.zip
(21.17 KiB) Downloaded 11 times
User avatar
milkweg
Posts: 568
Joined: Mon Jul 23, 2007 10:06 am

RE: More Money

Post by milkweg »

ORIGINAL: Erik Rutins

I've worked with those files in both Office 2007 and Office 2002 without problems. I'm not sure why they would be causing problems for you?

Because he is trying to use Sun OPenOffice and not Microsoft Office.

Try this, it is a version of notepad from Microsoft designed for handling xml files.

http://www.microsoft.com/downloads/deta ... laylang=en
User avatar
milkweg
Posts: 568
Joined: Mon Jul 23, 2007 10:06 am

RE: More Money

Post by milkweg »

Post Reply

Return to “Mods”