New cheat commands, restore and reload map, etc.

New cheat commands, restore and reload map, etc.

Requests for features in the spring code.

Moderator: Moderators

User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

New cheat commands, restore and reload map, etc.

Post by TradeMark »

Would be nice for testing. Now i need to relaunch the game every time i blow up the whole map...

I suggest these commands:
/restore (restores map ground)
/reload (reloads map, includes ground restoring, unit/corpse removing, removed features add, etc. so it looks as good as new.)
/clearunits (removes all units)
/clearcorpses (removes all corpses)
/clearboth (removes all units and corpses)
/clearall (removes every unit and feature, including map own features)
/clearfeatures (removes only map own features, some maps are full of trees, you might not want to reclaim them all to test stuff)

+ along with those it shouldnt show the game end form when you are playing alone without any bots than the default "Gaia" bot.

+ make the max speed into 100 when playing alone
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: New cheat commands, restore and reload map, etc.

Post by Pendrokar »

TradeMark wrote: + make the max speed into 100 when playing alone
/setmaxspeed 100
+
+
+
+
...
Or was it that Spring didnt go over 10?
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: New cheat commands, restore and reload map, etc.

Post by [Krogoth86] »

When talking about additional cheat commands I'd also like an option to revert the /nocost cheat...
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: New cheat commands, restore and reload map, etc.

Post by ZellSF »

There is a lua gadget that is a reversible nocost, no clue if that's working now though...
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: New cheat commands, restore and reload map, etc.

Post by TradeMark »

Pendrokar wrote:
TradeMark wrote: + make the max speed into 100 when playing alone
/setmaxspeed 100
+
+
+
+
...
Or was it that Spring didnt go over 10?
idk, last time i checked it didnt go over 25 or something.

But still, its fucking stupid to make limits for single playing...

IMFHO /cheat command should be on by default if you play alone
AND minspeed 0 and maxspeed 100.. then its good for testing and video recording...
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: New cheat commands, restore and reload map, etc.

Post by Auswaschbar »

TradeMark wrote:
Pendrokar wrote:
TradeMark wrote: + make the max speed into 100 when playing alone
/setmaxspeed 100
+
+
+
+
...
Or was it that Spring didnt go over 10?
idk, last time i checked it didnt go over 25 or something.

But still, its fucking stupid to make limits for single playing...

IMFHO /cheat command should be on by default if you play alone
AND minspeed 0 and maxspeed 100.. then its good for testing and video recording...
Lua
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: New cheat commands, restore and reload map, etc.

Post by lurker »

TradeMark wrote:IMFHO
You are aware of what the H stands for, right?
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: New cheat commands, restore and reload map, etc.

Post by TradeMark »

idk i just write random letters and wish they mean something
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: New cheat commands, restore and reload map, etc.

Post by Gota »

What i want to request is a mod where i choose everything like mod and map and it all startswith speed of 5 and max of 10 with cheats and nocost on already.
If possible a way to give a command to reload everything from statr(cause u changed something in your dds directory and wanna tets it right away without having to manually exit than enter spring and gothorugh all the choosing porcess.
It should just reload everything with the same map and mod and should be a single command.
User avatar
Zoy64
Posts: 454
Joined: 12 Nov 2006, 00:30

Re: New cheat commands, restore and reload map, etc.

Post by Zoy64 »

/cheatall
User avatar
panzeriv2
Posts: 208
Joined: 12 Aug 2008, 12:02

Re: New cheat commands, restore and reload map, etc.

Post by panzeriv2 »

/cheatall
Die.

IMFHO= In my f***ing humble opinion

Really, I don't think that your opinion is really humble.
+ make the max speed into 100 when playing alone
Are you kidding?
/restore (restores map ground)
/reload (reloads map, includes ground restoring, unit/corpse removing, removed features add, etc. so it looks as good as new.)
/clearunits (removes all units)
/clearcorpses (removes all corpses)
/clearboth (removes all units and corpses)
/clearall (removes every unit and feature, including map own features)
/clearfeatures (removes only map own features, some maps are full of trees, you might not want to reclaim them all to test stuff)
Win.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: New cheat commands, restore and reload map, etc.

Post by TradeMark »

panzeriv2 wrote:
+ make the max speed into 100 when playing alone
Are you kidding?
No im not kidding, i constantly need to fasten stuff over +5 speed when i test.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: New cheat commands, restore and reload map, etc.

Post by CarRepairer »

1) Just lua it.

2) Or bind your own hotkeys.

3) You are an angry person.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: New cheat commands, restore and reload map, etc.

Post by Hoi »

4) and lazy
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: New cheat commands, restore and reload map, etc.

Post by TradeMark »

i can lua these cheat commands? how?
User avatar
Evil4Zerggin
Posts: 557
Joined: 16 May 2007, 06:34

Re: New cheat commands, restore and reload map, etc.

Post by Evil4Zerggin »

Code: Select all

Spring.SendCommands{".say cheat 1"}
Spring.SendCommands{".say setmaxspeed 100"}
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: New cheat commands, restore and reload map, etc.

Post by Auswaschbar »

Evil4Zerggin wrote:

Code: Select all

Spring.SendCommands{"cheat 1"}
Spring.SendCommands{"setmaxspeed 100"}
Fixed. They are regular commands now, no need to say them
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: New cheat commands, restore and reload map, etc.

Post by TradeMark »

where do i put that code?
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: New cheat commands, restore and reload map, etc.

Post by Hoi »

in a widget
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: New cheat commands, restore and reload map, etc.

Post by CarRepairer »

I have hotkeys that I use for testing purposes, no widget needed. I bind cheat, godmode, setmaxspeed etc to a bunch of keys with modifiers alt+ctrl+shift so I'll never accidentically hit them in a real game (which would not likely do anything if I'm not host anyway).

Example:
bind alt+ctrl+shift 9 cheat
bind alt+ctrl+shift 0 nocost

I can hit whatever cheatcodes I want before the countdown is even finished.

Another handy hotkey is "luaui reload" for when widgets crash. Since a widget can't send commands for you if luaui crashes. :-)
Post Reply

Return to “Feature Requests”