Difference between revisions of "Manual:Cheats"

From VsWiki
Jump to: navigation, search
(Faction standings)
Line 82: Line 82:
 
=Faction standings=
 
=Faction standings=
 
See forum entry [http://vegastrike.sourceforge.net/forums/viewtopic.php?t=8157 Changing relationships to other factions with cheating?!]
 
See forum entry [http://vegastrike.sourceforge.net/forums/viewtopic.php?t=8157 Changing relationships to other factions with cheating?!]
 +
and the Wiki entry [[HowTo:Edit_faction_relationships]]

Revision as of 12:00, 1 December 2008

Introduction

One stop shop for cheats and spoilers. A collection of cheats from forum threads.

General

Cheats are relatively simple ways to change your game play experience. They are roughly divided into cheats that change the overall game play, cheats that impact a specific saved game, and cheats that change a specific ship that you own.

Game-Play Cheats

Game play cheats change the behavior of the entire game, so even if you start a new game, these cheasts remain after being implemented.

Cargo

This is more of an exploit than a cheat, because you are changing the amount of goods available for sale while paying a fair price for the cargo you buy.

To fill up your cargo hold without editing the units.csv file, do this: 1) Buy the cargo you want 2) Save game 3) Sell the cargo 4) DON'T SAVE! Reload your game 5) Now you will have the cargo you bought and the planet or station will have the same cargo in stock again. Buy it. 6) Repeat 2-5. Each time you do it, your cargo (and the amount of cargo for sale) doubles until you run out of money or cargo space.

It is possible to hack your saved game file to change one cargo item into many, but this can have side effects on your ship's cargo space if you are not careful.

Docking

If you have trouble docking with stations, you can open the vegastrike.config file and set planet_collision_docks to TRUE. This will cause you to automatically dock when you hit a planet or station. It seems to have no effect on collisions with capital ships.

Merchandising

Another exploit you can use takes advantage of your ability to have an unused ship delivered to your new location. Fill up your large cargo ship with cargo, switch to a small fast fighter, go to your destination, and then 'buy' your cargo ship at the ship dealer->my fleet tab. It will transport your ship to where you are with a minimal fee (50k outsystem, regardless of how far it is, and free insystem), along with all the cargo in it. This method allows you to have the massive cargo hold of a capship while having the speed and agility of a fighter. Beware though. Cargo is saved (in memory and in the hard disk) universally for all ships. Therefore if your cargo ship is full, your fighter will be too, but the weight increase will only be for the last bought cargo which can fit into the hold of a fighter.

Saved Game Cheats

These cheat usually require the hacking of a save game file. It is recommended that you make a copy of your original save game file before actually hacking it. Be especially warned, Windows users; The native notepad (as well as Excel and all other Moneysoft tools) changes the line break formatting and thus corrupts the save file. Usage of notepad++ is recommended.

The save game file can be found in your user directory.

  • On Linux: /home/~username/.vegastrike/save/
  • On Windows (XP, Vista): /vegastrikedir/.vegastrike/save/

You can download notepad++ at FIXME

Money

Just change the first number after the sector/system location descriptor of your save game file, that number between the carets (this things "^"). Maximum number is 99 billions, in numbers:

  • 99 000 000 000

Rumor has it that this can, eventually, destabilize your game.

There is a setting called "difficulty" that increases a small amount each time you earn a credit... that determines what upgrades the enemy ships have on them. So if you hack your save game credits up to 10^9 credits that probably just increases the difficulty to the highest value immediately. It is supposed to simulate a time line, but based on the progress you make rather than the amount of time passed...

Location / Sector / System

The first entry of your save game file is your saved location. The letter case for the system name must be the same as your /data/sectors/ entries.

Adding Ships

Just open your save game file and you should see in the first line some ships you have. The first one is the one you actually use, then there are the ships you have parked somewhere followed by the sector they are in. Instead of e.g. "tesla" you can also use the "tesla.blank", then its unequipped (some games crash, when using a standard tesla). Just take care, that every ship in this line is followed by the sector its in, except for the first one. You can't have two ships of the same name, so no two "pacifier.milspec" or two "tesla.blank". Enjoy the ride.

Ship-hacking Cheats

When changing your ship, the following link is required reading: HowTo:Edit_units.csv

Ammunition

Tired of paying for Torpedoes, or running out of Razor ammo? If so, here is the cheat:

  • buy the weapons you want and save your game
  • open the saved game CSV file for your ship
  • in the MOUNTS data field, look at the weapons listed there
  • weapons that don't need ammo (beams for example) will have a -1 as the next field after the weapon name
  • for weapons that do need ammo, change that number to -1
  • save the file then load your game

This cheat will unbalance the game, so don't complain if this makes fights too easy and don't brag about your kill count.

Cloaking Device

There are three approaches to get yourself a cloak.

The first is the most complex, which is to hack the cloak into your ship's saved game CSV file as an installed upgrade, and to remove it from the prohibited_upgrades. You can learn what you need to know about units.csv by studying HowTo:Edit_units.csv and your ship's saved game CSV file.

A temporary solution is changing the "can_cloak" and "cloak_rate" to "1" in the save game CSV file for your ship. Just copy the values from the Schroedinger's entry in UNITS.CSV. However, this cheat only works until you buy Upgrades/Basic_Repair, which will "fix" your ship's stats back to normal, which in this case will remove the cloak. So it is an easy cheat for temporary cloaking ability.

The least cheating and best long-term solution is to increase the probability of finding a cloak for sale. You can do this by adjusting the units.csv (link above) to increase the number of places that sell Upgrades/Experimental and the probability that those places will have one for sale. Everything you need to know is in HowTo:Edit_units.csv. Just find a unit that does sell this upgrade, tweak the probability numbers, and copy the information to those stations you want to sell it.

This is technically a game play cheat, not a ship cheat, in that it affects the entire game.

Faction standings

See forum entry Changing relationships to other factions with cheating?! and the Wiki entry HowTo:Edit_faction_relationships