project-navigation
Personal tools

Author Topic: see all items in the market for purchase for testing  (Read 5489 times)

Offline mark.hawrylak

  • Rookie
  • ***
  • Posts: 18
    • View Profile
see all items in the market for purchase for testing
« on: January 14, 2010, 05:36:19 am »
I am trying to do some testing and I need a way to see every item in the market.

Is there a console command or a save game that can give me access to every item in the market?  or perhaps a command to give the save game every research item completed?

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: see all items in the market for purchase for testing
« Reply #1 on: January 14, 2010, 05:49:28 am »
Look to the debug_ commands (if you use debug version of game)

Offline mark.hawrylak

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #2 on: January 14, 2010, 07:37:09 am »
I have done a debug_help in the console and i cannot figure out which command will give me all research-able items in the game.
I am using the latest svn and compiling with windows_debug in C::B
help..


Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #3 on: January 14, 2010, 07:53:35 am »
IIRC the auto completion feature in the console should help, I think it is the TAB key, try typing just "debug" then TAB or enter and you might get a list.

I'm on my other computer right now, so I can't check it right this second...

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: see all items in the market for purchase for testing
« Reply #4 on: January 14, 2010, 07:54:29 am »
there was something like debug_itemadd or debug_additem - i don't remember exactly

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #5 on: January 14, 2010, 09:01:48 am »
there was something like debug_itemadd or debug_additem - i don't remember exactly

it doesn't add every item only soldier equipment if I'm right. But I wanted to change this behavior...

-geever

Offline mark.hawrylak

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #6 on: January 14, 2010, 11:59:35 pm »
it sounds like there is no easy way to get *ALL* items in the market or all research done in one sweep.
can someone supply me a save game with this?

remove 'zz'
mzzark.hawrylak@gmail.com

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #7 on: January 15, 2010, 01:08:16 am »
IIRC not all items in the game appear on the market, some have to be recovered from aliens.

Regardless, you can alter the .ufo script files - they are in plain English and no programming experience is really needed to change how the game runs with them - by unzipping the "ufos.pk3" file and changing them with a text editor (hint: on Windows, Wordpad works better than Notepad, simply because of spacing/line ending issues).

The .ufo files also control the market among other things, and have plain English comments to help change them.


Also, what exactly are you testing?  What are you really trying to accomplish as an end result?  If we knew just what you're trying to do - the complete picture - it would make it much easier, and we might also be able to suggest a better way of helping you accomplish it.

Offline mark.hawrylak

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #8 on: January 15, 2010, 02:39:31 am »
in the market there are lots of items that are not showing correctly.
ie if u look at the assult rife magazine,  the image is zoomed in too much.
I want to compile a complete list of all the items that are not showing correctly for a bug report, and in order to do that, I need every market item exposed, or a save game that has all items available so I can investigate this issue further and document it properly.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: see all items in the market for purchase for testing
« Reply #9 on: January 15, 2010, 07:47:57 am »
debug_researchall
debug_additems [baseid]

Offline mark.hawrylak

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #10 on: January 16, 2010, 12:44:02 am »
perfect, that worked,  thanks

Offline mark.hawrylak

  • Rookie
  • ***
  • Posts: 18
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #11 on: February 07, 2010, 08:12:07 am »
debug_additems [baseid]
failed to give me the following items:
Alien Craft Plating
Alien Astrogation
Alien Propulsion
Alien Detection
Alien Materials


Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: see all items in the market for purchase for testing
« Reply #12 on: February 08, 2010, 05:26:13 pm »
debug_additems [baseid]
failed to give me the following items:
Alien Craft Plating
Alien Astrogation
Alien Propulsion
Alien Detection
Alien Materials

it doesn't add every item only soldier equipment if I'm right. But I wanted to change this behavior...
:P

-geever