Difference between revisions of "Sandbox"

From Zero-K
Jump to navigation Jump to search
(create page)
 
m (First post-migration edit)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
Zero-K Wiki has been migrated to the new server!
 +
 +
== Header ==
 +
<syntaxhighlight lang="php">
 +
<?php
 +
echo "Done!";
 +
?>
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight>
 +
local function foo()
 +
  print("Hello World")
 +
end
 +
</syntaxhighlight>
 +
 +
=== Subheader ===
 
Sometimes you might want to test things out to see how units and interactions work in-game. Here's how to do this easily:
 
Sometimes you might want to test things out to see how units and interactions work in-game. Here's how to do this easily:
  
Line 7: Line 23:
 
Go ahead and start the game
 
Go ahead and start the game
  
2. Once you are in-game enable cheats by typing /cheat in chat. Open the handy cheat sheet with the button under the minimap. Check "Global spec control" to get full control of both AIs. There are also a few other useful self-explanatory actions on the cheat sheet.
+
2. Once you are in-game enable [[cheats]] by typing /cheat in chat. Open the handy cheat sheet with the button under the minimap. Check "Global spec control" to get full control of both AIs. There are also a few other useful self-explanatory actions on the cheat sheet.
  
 
[[File:Sandbox2.jpg|thumbnail|none]]
 
[[File:Sandbox2.jpg|thumbnail|none]]
  
 
3. Now you can go ahead and test things out as you wish.
 
3. Now you can go ahead and test things out as you wish.

Latest revision as of 03:34, 8 May 2022

Zero-K Wiki has been migrated to the new server!

Header[edit]

<?php
echo "Done!"; 
?>
local function foo()
  print("Hello World")
end

Subheader[edit]

Sometimes you might want to test things out to see how units and interactions work in-game. Here's how to do this easily:

1. Go to make a single player skirmish game. Press advanced and make yourself spectate the game. Put one inactive AI on both teams. Choose a map you want. The setup should look something like this:

Sandbox1.jpg

Go ahead and start the game

2. Once you are in-game enable cheats by typing /cheat in chat. Open the handy cheat sheet with the button under the minimap. Check "Global spec control" to get full control of both AIs. There are also a few other useful self-explanatory actions on the cheat sheet.

Sandbox2.jpg

3. Now you can go ahead and test things out as you wish.