|
 |
| Author |
Message |
|
liveordie
|
Posted: 17 Jun, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 17 Jun, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16425 Location: camping near the biggest power-up
|
|
Nope.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
|
liveordie
|
Posted: 17 Jun, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
|
| Top |
|
 |
|
Domino
|
Posted: 17 Jun, 2012
|
|
Joined: 26 Feb, 2009 Posts: 2996
|
|
you can easly add one though.
_________________ Domino. ______________
|
|
| Top |
|
 |
|
BulletMagnet
|
Posted: 17 Jun, 2012
|
|
Joined: 05 Oct, 2007 Posts: 16425 Location: camping near the biggest power-up
|
|
You would want to hook Mods.lua and have it read off the command line. This won't be multiplayer safe at all.
_________________
Nephylim wrote: But, an FA army in an FA environment just looks... right. Does anyone know how to use air transports? I cant get them to pick up troops.
|
|
| Top |
|
 |
|
liveordie
|
Posted: 17 Jun, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
I only want it for testing a debugging i just want a shortcut to send me into a map  . I found this in GameSessionManager.lua any idea how i can add it? thanks Code: local function GetCommandLineOptions(isPerfTest) local options = table.copy(defaultOptions)
if isPerfTest then options.FogOfWar = 'none' elseif HasCommandLineArg("/nofog") then options.FogOfWar = 'none' end
local norush = GetCommandLineArg("/norush", 1) if norush then options.NoRushOption = norush[1] end
if HasCommandLineArg("/predeployed") then options.PrebuiltUnits = 'On' end
local victory = GetCommandLineArg("/victory", 1) if victory then options.Victory = victory[1] end
local diff = GetCommandLineArg("/diff", 1) if diff then options.Difficulty = tonumber(diff[1]) end
return options end
_________________ Creator of SupCom2 Revamp Expansion Mod


|
|
| Top |
|
 |
|
liveordie
|
Posted: 29 Jun, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
|
| Top |
|
 |
|
liveordie
|
Posted: 30 Jun, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
By default cheats should be turned on am i right? looking at this below but for some reason when i start a match using the command line switch cheats are turned off and i've tried adding another line to turn them on but im having no luck. Code: local defaultOptions = { FogOfWar = 'explored', NoRushOption = 'Off', PrebuiltUnits = 'Off', Difficulty = 2, DoNotShareUnitCap = true, Timeouts = -1, GameSpeed = 'normal', UnitCap = '500', Victory = 'sandbox', CheatsEnabled = 'true', CivilianAlliance = 'enemy', }
_________________ Creator of SupCom2 Revamp Expansion Mod


|
|
| Top |
|
 |
|
Domino
|
Posted: 30 Jun, 2012
|
|
Joined: 26 Feb, 2009 Posts: 2996
|
|
Hi,
Something else is setting it false dependant on the game type And it's setting a pref look for that.
_________________ Domino. ______________
|
|
| Top |
|
 |
|
liveordie
|
Posted: 30 Jun, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
I'm thinking the command line is starting a Multiplayer game instead of a skirmish even know skirmish is what its ment to start that's the only thing i can think of, even changing it in lobbyOptions.lua to 2 doesn't work all i get is the message saying trying to cheat not is cheating Code: { default = 1, label = "<LOC lobui_0208>Cheating", help = "<LOC lobui_0209>Enable cheat codes", key = 'CheatsEnabled', pref = 'Lobby_Gen_CheatsEnabled', ui_index = 7, values = { { text = "<LOC _Off>Off", help = "<LOC lobui_0210>Cheats disabled", key = 'false', }, { text = "<LOC _On>On", help = "<LOC lobui_0211>Cheats enabled", key = 'true', }, }, },
_________________ Creator of SupCom2 Revamp Expansion Mod


|
|
| Top |
|
 |
|
Domino
|
Posted: 01 Jul, 2012
|
|
Joined: 26 Feb, 2009 Posts: 2996
|
|
it could well be angine code to stop cheating in x gametype.
_________________ Domino. ______________
|
|
| Top |
|
 |
|
liveordie
|
Posted: 01 Jul, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
Domino wrote: it could well be angine code to stop cheating in x gametype. I launched a game using the command line in FA it also has the same problem but i cant even get the create unit window to show at all for it.
_________________ Creator of SupCom2 Revamp Expansion Mod


Last edited by liveordie on 04 Jul, 2012, edited 1 time in total.
|
|
| Top |
|
 |
|
DeadMG
|
Posted: 01 Jul, 2012
|
|
Joined: 15 Feb, 2007 Posts: 20036 Location: Presumably, at the time of posting, his computer.
|
|
You lurched the game?
_________________ I'm watchin you!
|
|
| Top |
|
 |
|
liveordie
|
Posted: 04 Jul, 2012
|
|
Joined: 02 Jul, 2010 Posts: 1261
|
|
| Top |
|
 |
 |
 |
|