project-navigation
Personal tools

Author Topic: How do I increase starting money?  (Read 20937 times)

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: How do I increase starting money?
« Reply #15 on: October 06, 2013, 12:31:34 am »
Yes, I mean making a new folder.

As for the permissions, I don't know which version of windows you are using, but I think you need to login as an administrator or run windows explorer with admin rights, alternatively you can try going to ufoai's appdata folder (check the location for your version here) and create the 'ufos' folder in the 'base' folder there and put the modded file in it

Offline Moon_Dew

  • Rookie
  • ***
  • Posts: 36
    • View Profile
Re: How do I increase starting money?
« Reply #16 on: October 06, 2013, 01:38:56 am »
I've tried editing the ufoai's appdata folder...didn't work.  Will editing the campaign file affect all game modes, or just simple campaign?  Because I've been trying to give myself more startup money in the full campaign...the only thing I've got so far is a headache.

EDIT

Okay, managed to change the PK3 file to a ZIP file...still can't extract the thing.

For future reference, I'm using Windows 7.
« Last Edit: October 06, 2013, 03:03:23 am by Moon_Dew »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: How do I increase starting money?
« Reply #17 on: October 06, 2013, 08:49:45 pm »
Well, if you were unable to create a new folder in the game's folder I'd guess winzip would be unable to add the extracted files to it, did you try to run it with admin rights?

If you can't get admin rights, then the only option is to put the mod in the appdata folder, it should work, where exactly did you put the file?

Also, can you find the file called ufoconsole.log (see the FAQ I linked above), and may I have a look at it?
« Last Edit: October 07, 2013, 12:54:45 am by DarkRain »

Offline Moon_Dew

  • Rookie
  • ***
  • Posts: 36
    • View Profile
Re: How do I increase starting money?
« Reply #18 on: October 07, 2013, 12:11:25 am »
I put the file here: C:\Users\Owner\AppData\Roaming\UFOAI\2.4\base\ufos  (ufos is the directory name I named in order to get it to work...or so I hoped.)

The log is attached to the post.

As to the admin rights thing, I may have been, but I'm not sure.  How do I get admin rights?

Man, I can't believe one tiny little change is causing so much trouble.
« Last Edit: October 07, 2013, 12:22:08 am by Moon_Dew »

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: How do I increase starting money?
« Reply #19 on: October 07, 2013, 12:54:13 am »
Found these errors in your log:
Code: [Select]
2013/10/06 08:34:47 Com_ParseBlock: unknown token 'robot_base' ignored (robot_base)
2013/10/06 08:34:47 Com_ParseBlock: unknown token '7500;' ignored (7500;)
2013/10/06 08:34:47 Com_ParseBlock: unknown token 'robot_rankbonus' ignored (robot_rankbonus)
2013/10/06 08:34:47 Com_ParseBlock: unknown token '0;' ignored (0;)
2013/10/06 08:34:47 Com_ParseBlock: unknown token 'admin_robot' ignored (admin_robot)
2013/10/06 08:34:47 Com_ParseBlock: unknown token '150;' ignored (150;)
2013/10/06 08:34:47 Com_ParseBlock: unknown token 'robot_base' ignored (robot_base)
2013/10/06 08:34:47 Com_ParseBlock: unknown token '7500;' ignored (7500;)
2013/10/06 08:34:47 Com_ParseBlock: unknown token 'robot_rankbonus' ignored (robot_rankbonus)
2013/10/06 08:34:47 Com_ParseBlock: unknown token '0;' ignored (0;)
2013/10/06 08:34:47 Com_ParseBlock: unknown token 'admin_robot' ignored (admin_robot)
2013/10/06 08:34:47 Com_ParseBlock: unknown token '150;' ignored (150;)
There seems to be a typo in your campaign.ufo -- probably the moded version in the appdata folder (i'd double check it, that might be the reason it doesn't work)

As for how to run a program with admin rights: link to microsoft

Offline Moon_Dew

  • Rookie
  • ***
  • Posts: 36
    • View Profile
Re: How do I increase starting money?
« Reply #20 on: October 07, 2013, 02:29:07 pm »
Think you could fix those while I re-install the game?

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: How do I increase starting money?
« Reply #21 on: October 07, 2013, 05:31:09 pm »
May I have a look at your moded campaign.ufo? I might be able to tell what went wrong.

Incidentally, if you are planning to reinstall the game, you might want to install it in some place you have full access, that would get rid of all those permission problems.

Offline Moon_Dew

  • Rookie
  • ***
  • Posts: 36
    • View Profile
Re: How do I increase starting money?
« Reply #22 on: October 07, 2013, 07:04:27 pm »
I know that there's a debug command that gives me money?  Is that command available in the development version (2.5 and the nightly builds)?

Offline lycanreaver

  • Cannon Fodder
  • **
  • Posts: 8
    • View Profile
Re: How do I increase starting money?
« Reply #23 on: October 07, 2013, 11:27:05 pm »
yes, go into console and type debug_fullcredits     youll get max amount of credits

Offline Moon_Dew

  • Rookie
  • ***
  • Posts: 36
    • View Profile
Re: How do I increase starting money?
« Reply #24 on: October 07, 2013, 11:33:00 pm »
yes, go into console and type debug_fullcredits     youll get max amount of credits

That's it?  I don't have to modify anything?

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: How do I increase starting money?
« Reply #25 on: October 08, 2013, 12:23:51 am »
Of course debug commands are only available in debug builds (dev version nightly) Note that the new UI in 2.6-dev --which is under heavy development-- is currently in an unplayable state, and the 2.5 nightly builds (which aren't currently available, but that will be fixed ASAP) are compiled in release mode

Offline Moon_Dew

  • Rookie
  • ***
  • Posts: 36
    • View Profile
Re: How do I increase starting money?
« Reply #26 on: October 08, 2013, 12:32:34 am »
Of course debug commands are only available in debug builds (dev version nightly) Note that the new UI in 2.6-dev --which is under heavy development-- is currently in an unplayable state, and the 2.5 nightly builds (which aren't currently available, but that will be fixed ASAP) are compiled in release mode

Where can I get a debug version of the latest release of 2.5?

Offline Gnombane

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: How do I increase starting money?
« Reply #27 on: October 08, 2013, 10:31:24 am »
Hello,
i will use this topic so i don't have to open new one :)
I was wondering the same: Where i can get playable version of 2.5, latest release possible?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: How do I increase starting money?
« Reply #29 on: October 08, 2013, 10:36:18 pm »
Found these errors in your log:

...

It is not an error, he probably have the 2.4 stable release where the UGVs are disabled / partially removed but some script entries were left behind. It is nothing more that noise.

-geever