Outpost Universe Forums

Projects & Development => Outpost 2 Programming & Development => Topic started by: Savant 231-A on August 14, 2006, 03:10:08 PM

Title: I Can't Change Prices Or Value Of Buildings...
Post by: Savant 231-A on August 14, 2006, 03:10:08 PM
Hey, people i need help. I 've downloaded OP2 for a long time and still, i can't change prices, values or morale ( (thumbsdown) ) (maybe becuse I am Stupid <_< ...

Please Help.
Thanks

Savant 231-A thanks you.
 
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Sirbomber on August 14, 2006, 03:33:52 PM
You can create a new techtree for a custom mission to change things for any mission that uses that techtree, or you can modify the files in sheets.vol to alter them for every mission. But you won't be able to play multiplayer with normal OP2 if you do this.
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Leviathan on August 14, 2006, 03:38:23 PM
You can edit the prices of stuff by editing the files inside the sheets.vol.
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Mcshay on August 14, 2006, 03:42:22 PM
You can change the morale level like so (as seen in the SDK):

Code: [Select]
TethysGame::ForceMoraleGreat(int playerNum); //Highest
TethysGame::ForceMoraleGood(int playerNum);
TethysGame::ForceMoraleOK(int playerNum);
TethysGame::ForceMoralePoor(int playerNum);
TethysGame::ForceMoraleRotten(int playerNum); //Lowest

TethysGame::FreeMoraleLevel(int playerNum); //Normal Morale

playerNum is the Player this will effect -1, for example, Player 1 is 0, Player 2 is 1, etc. In single player games, Player 1 (0) is the human player.
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Leviathan on August 14, 2006, 03:56:20 PM
Some info on sheets editing:

wiki.outpostuniverse.net/Sheets_Editing (http://wiki.outpostuniverse.net/Sheets_Editing)
 
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Savant 231-A on August 15, 2006, 03:03:09 AM
And yet another question: How can I make my own mission and i can play it.

And by the way, I can't change anything in *.vol
When i Change even a 400  for example 0 (zero) i won't start campaign and colony game. :find:  hopeless
Title: I Can't Change Prices Or Value Of Buildings...
Post by: BlackBox on August 15, 2006, 08:10:34 AM
To make your own mission you have to write a .DLL file which specifies mission settings, unit placement, etc. This requires some C++ knowledge.

Make copies of the text files instead of putting them back into the VOL. If there are text files just sitting in the game folder those will be read instead of the VOL ones.

Also, be sure you or your text editor doesn't change any tabs to spaces. (Use a plaintext editor such as notepad, never a word processor like MS Word to edit these files).
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Savant 231-A on August 15, 2006, 02:01:03 PM
Wah, Never mind, :yawn:
I checked text's in Sheet.vol and they are different from anybody else. ( Or it seems)
 :heh:
Just like is said: Cheats don't work my maps don't work, nothing works!!!
 (thumbsdown)  (thumbsdown)  (thumbsdown)  (thumbsdown)  (thumbsdown)  
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Leviathan on August 15, 2006, 02:20:30 PM
We disabled the cheats in our download.

Were here to help, just post your questions and be sure to come on IRC and we can help there also :)
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Sl0vi on August 16, 2006, 11:54:57 AM
You'll need to have a victory condition for your dll to work. I found this out when I couldn't get a test mission of mine to work.
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Savant 231-A on August 16, 2006, 03:04:55 PM
Quote
We disabled the cheats in our download.

Were here to help, just post your questions and be sure to come on IRC and we can help there also :)
OK, wanna Question?

What in the name of the GOD did you Disable Cheats?! :CK9's:  :CK9's:  :CK9's:

And another think.Those links where you can dowload music and video don't work! (thumbsdown)



 
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Freeza-CII on August 16, 2006, 03:19:41 PM
So people cant be Noob in multi and own every one with ease :P.  you want to cheat means you need to play harder
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Leviathan on August 16, 2006, 03:55:06 PM
The cheats worked in multiplayer so we disabled them so people could not use them in multiplayer.
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Chandler on August 16, 2006, 09:34:58 PM
There is a earlier version where the cheats work around on the site somewhere I heard someone mention, but you won't be able to play multi with it.

I don't mind playing with cheats AFTER I've finished the game without them, some cheats are fun.. :D
Title: I Can't Change Prices Or Value Of Buildings...
Post by: Freeza-CII on August 17, 2006, 03:39:44 AM
A early version on the site i dont know about that one.  I am sure some one could put a CD image of the op2 disk if needed.