.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old March 29th, 2011, 09:18 PM
SirMu's Avatar

SirMu SirMu is offline
Corporal
 
Join Date: Feb 2011
Posts: 121
Thanks: 12
Thanked 6 Times in 4 Posts
SirMu is on a distinguished road
Default Single Player Cheating

How do you cheat in single player? I assume they're not in code form.
I'm asking because I'm trying to do some testing and it'd really speed things along if I could just cheat myself the supplies instead of hitting end turn...again...and again...and again.
Reply With Quote
  #2  
Old March 29th, 2011, 11:21 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Single Player Cheating

There are 4 ways to effect changes to the game.
1) command line switches
2) map commands
3) mod commands
4) directly editing the files

To add supplies you can use the command switch of
--supplies X Supply multiple 50-300 (default 100)

You can use map commands to design a pretender with lots more nature magic than would normally be allowed. Have all your starting commanders start with supply boosting equipment. Or add a supply boosting magic site to your capital.

You can use mod commands to boost your pretender or make your units require less supplies, or give your nation early access to supply-boosting spells.

Direct editing I wont cover.
Reply With Quote
  #3  
Old March 30th, 2011, 12:02 AM
SirMu's Avatar

SirMu SirMu is offline
Corporal
 
Join Date: Feb 2011
Posts: 121
Thanks: 12
Thanked 6 Times in 4 Posts
SirMu is on a distinguished road
Default Re: Single Player Cheating

And how do I do these things?
Reply With Quote
  #4  
Old March 30th, 2011, 06:07 AM

earcaraxe earcaraxe is offline
Captain
 
Join Date: Mar 2010
Location: Budapest
Posts: 831
Thanks: 115
Thanked 8 Times in 8 Posts
earcaraxe is on a distinguished road
Default Re: Single Player Cheating

im trying to set up SP games where the AI play much like a player would (altho a very dumb one). I find it a much better solution of giving good scales to the other players then setting them into AI on the first turn then turning up the difficulty of the AIs (it would lead to very unrealistic hordes of slingers and such)

I'm quite satisfied with the results because with high production scales these AIs tend to make lots of national units and archers. There reamins one area where these AIs would use some help: research. They will slack behind unless i restrict my own research in some way. (but then it becomes too different than MP and cannot be used for testing)

Is there a way to have them have say an awake pretender with good scales and 100 RP?
Reply With Quote
  #5  
Old March 30th, 2011, 07:48 AM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Single Player Cheating

For testing purposes, the most useful thing I've found is the Debug Mod. All research is done (all spells are level 0) and there is a summonable Debug Sensei with 9 in all paths who generates gems and 1S versions of Wish and GoR. You can set pretty much anything up quickly with that.
Reply With Quote
The Following User Says Thank You to thejeff For This Useful Post:
  #6  
Old March 30th, 2011, 09:05 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Single Player Cheating

Quote:
Originally Posted by SirMu View Post
And how do I do these things?
Those are each extensive subjects. It would be easier to give a specific answer to a specific question.

Command switches are listed by calling dom3 with the help switch (dom3 -h).
Or if you are on a difficult OS such as Windows, you can look here...
http://www.dom3minions.com/docs/CommandLine.txt
Using those is pretty well covered here....
http://forum.shrapnelgames.com/showthread.php?t=44262

Modding, and Map commands, both have documentation in your docs directory. Again, if you have something like WinXP that would probably be in something like..
C:\program files\dominions3\doc\
both of those involve editing plain text files using whatever editor you like (such as NotePad for Windows)
Reply With Quote
  #7  
Old March 30th, 2011, 10:06 AM
SirMu's Avatar

SirMu SirMu is offline
Corporal
 
Join Date: Feb 2011
Posts: 121
Thanks: 12
Thanked 6 Times in 4 Posts
SirMu is on a distinguished road
Default Re: Single Player Cheating

Quote:
Originally Posted by thejeff View Post
For testing purposes, the most useful thing I've found is the Debug Mod. All research is done (all spells are level 0) and there is a summonable Debug Sensei with 9 in all paths who generates gems and 1S versions of Wish and GoR. You can set pretty much anything up quickly with that.
Thank you, this is essentially what I was looking for.
Reply With Quote
  #8  
Old March 30th, 2011, 01:43 PM

earcaraxe earcaraxe is offline
Captain
 
Join Date: Mar 2010
Location: Budapest
Posts: 831
Thanks: 115
Thanked 8 Times in 8 Posts
earcaraxe is on a distinguished road
Default Re: Single Player Cheating

Dear Gandalf! Could u help me out with some hints in "giving the AI a unreal-badass pretender" project?
Reply With Quote
  #9  
Old March 31st, 2011, 05:45 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: Single Player Cheating

Quote:
Originally Posted by earcaraxe View Post
Dear Gandalf! Could u help me out with some hints in "giving the AI a unreal-badass pretender" project?
Use map edit commands... there's a couple threads where Gandalf and I have posted some detailed advice for a super challenging AI.
__________________
There can be only one.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.