Ingame commands to disable fog, markers, etc.
Moderator: Moderators
Ingame commands to disable fog, markers, etc.
I want to make some "dotwars" videos of the battles.
I dont want to record it from the minimap, because:
1) i cant see explosions there
2) the UI comes on the way
3) doesnt render most of the stuff, like shields, nanotowers, features, corpses, etc.
So all we need is:
1) /markers 0 (edit: already implemented! "/mapmarks 0" woot!)
2) /fog 0
3) /icons 1 (edit: already implemented! "/disticons *distance*" woot! though this saves the settings too...)
So i can disable the fog from the map, would render it about the same as the minimap is.
And markers/drawing off.
And force it to draw always uniticons, no matter what distance they are from camera.
I dont want to record it from the minimap, because:
1) i cant see explosions there
2) the UI comes on the way
3) doesnt render most of the stuff, like shields, nanotowers, features, corpses, etc.
So all we need is:
1) /markers 0 (edit: already implemented! "/mapmarks 0" woot!)
2) /fog 0
3) /icons 1 (edit: already implemented! "/disticons *distance*" woot! though this saves the settings too...)
So i can disable the fog from the map, would render it about the same as the minimap is.
And markers/drawing off.
And force it to draw always uniticons, no matter what distance they are from camera.
Last edited by TradeMark on 06 Aug 2009, 20:45, edited 1 time in total.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Ingame commands to disable fog, markers, etc.
uniticondistance
Re: Ingame commands to disable fog, markers, etc.
yeah i know, but _ingame_, so i dont need to change the settings from that springsettings.exe every time and then change them back to normal later
Re: Ingame commands to disable fog, markers, etc.
Code: Select all
else if (cmd == "disticon") {
if (!action.extra.empty()) {
const int iconDist = atoi(action.extra.c_str());
unitDrawer->SetUnitIconDist((float)iconDist);
configHandler->Set("UnitIconDist", iconDist);
logOutput.Print("Set UnitIconDist to %i", iconDist);
}
}
else if (cmd == "distdraw") {
if (!action.extra.empty()) {
const int drawDist = atoi(action.extra.c_str());
unitDrawer->SetUnitDrawDist((float)drawDist);
configHandler->Set("UnitLodDist", drawDist);
logOutput.Print("Set UnitLodDist to %i", drawDist);
}
}
Re: Ingame commands to disable fog, markers, etc.
what does that code mean? shows icons with /disticon command? thanks anyways if you implemented any of my ideas
could we also fix this pause button? when i speed up the replay, it sometimes starts lagging so much i cant pause it anymore, or change the speed back to normal enough fast. Because: holding pause will make it unpause/pause, so it just spams pause/unpause and i have 50% chance to make it paused and set game speed normal again. sometimes the game ended before my key presses were even recognized by the engine x/

could we also fix this pause button? when i speed up the replay, it sometimes starts lagging so much i cant pause it anymore, or change the speed back to normal enough fast. Because: holding pause will make it unpause/pause, so it just spams pause/unpause and i have 50% chance to make it paused and set game speed normal again. sometimes the game ended before my key presses were even recognized by the engine x/
Re: Ingame commands to disable fog, markers, etc.
it is CURRENT code, no one implemented anything cuz of your ideas -_-
Re: Ingame commands to disable fog, markers, etc.
omg no! awesome!
too bad that command saves the settings too, so i cant just trigger it on/off...
we need a list for all commands you can use, nobody can remember these :/
now all we need is /fog 0
too bad that command saves the settings too, so i cant just trigger it on/off...
we need a list for all commands you can use, nobody can remember these :/
now all we need is /fog 0

-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Ingame commands to disable fog, markers, etc.
Everyone can take a look at the source file.TradeMark wrote:we need a list for all commands you can use, nobody can remember these :/
Lua.TradeMark wrote:too bad that command saves the settings too, so i cant just trigger it on/off...
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Ingame commands to disable fog, markers, etc.
See CA's ingame menu.TradeMark wrote:we need a list for all commands you can use, nobody can remember these :/
Re: Ingame commands to disable fog, markers, etc.
Not a valid alternative to proper documentation.Auswaschbar wrote:Everyone can take a look at the source file.TradeMark wrote:we need a list for all commands you can use, nobody can remember these :/
Re: Ingame commands to disable fog, markers, etc.
cmds.txt
http://github.com/spring/spring/blob/75 ... n/cmds.txt
you might want to wikify it if it hasn't already been done.
P.S. looks like it hasn't been kept up to date.
http://github.com/spring/spring/blob/75 ... n/cmds.txt
you might want to wikify it if it hasn't already been done.
P.S. looks like it hasn't been kept up to date.
Re: Ingame commands to disable fog, markers, etc.
rofl at you guys answers "everyone can read the source" - "play CA!" sheesh.
just include the commands list in every release of spring and use some F-keys to show the list ingame and ability to click a command you want, + show the command parameters & info what it does.
just include the commands list in every release of spring and use some F-keys to show the list ingame and ability to click a command you want, + show the command parameters & info what it does.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Ingame commands to disable fog, markers, etc.
-1, most commands are not relevant to players.TradeMark wrote:rofl at you guys answers "everyone can read the source" - "play CA!" sheesh.
just include the commands list in every release of spring and use some F-keys to show the list ingame and ability to click a command you want, + show the command parameters & info what it does.
Re: Ingame commands to disable fog, markers, etc.
so why does CA has this option then?
you are right, most of them arent relevant, but still theres no reason to hide them, it could have some button to expand the list of commands into "pro" mode, like springsettings.exe has already.
for example "/minimap simplecolors" is really useful when you are speccing, and 99% of players dont even know that command exists :/
you are right, most of them arent relevant, but still theres no reason to hide them, it could have some button to expand the list of commands into "pro" mode, like springsettings.exe has already.
for example "/minimap simplecolors" is really useful when you are speccing, and 99% of players dont even know that command exists :/
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Ingame commands to disable fog, markers, etc.
This is the widget song..
widge widge widge,
widge widge widge.
This is the widget song,
I widge-it all day long!

widge widge widge,
widge widge widge.
This is the widget song,
I widge-it all day long!




Re: Ingame commands to disable fog, markers, etc.
Yay finished my video now! this is first HD quality dot wars video of spring ever on youtube
http://www.youtube.com/watch?v=CDZpUOLqL_Q&fmt=22
more to come ^^

http://www.youtube.com/watch?v=CDZpUOLqL_Q&fmt=22
more to come ^^
Re: Ingame commands to disable fog, markers, etc.
in-game:
known as tab completion
Code: Select all
<enter>, "/", <Tab>
-
- Posts: 916
- Joined: 27 Jun 2009, 01:32
Re: Ingame commands to disable fog, markers, etc.
Use Spring's recorder for no low framerates in you video. That way you also won't tape the annoying sound effects which made my ears bleed. Add music or something...
Apart from that I found it nowhere interesting to watch since BA simply just has like 3 radar icons...
Apart from that I found it nowhere interesting to watch since BA simply just has like 3 radar icons...
Re: Ingame commands to disable fog, markers, etc.
haha whiners, at least you can see the uniticons in my video :D other dot wars videos on youtube are so shit quality you barely even see any shapes on the icons xdMaster-Athmos wrote:Apart from that I found it nowhere interesting to watch since BA simply just has like 3 radar icons...
my video is 30fps and its the maximum for youtube. i recorded it in real time, then changed the speed with some video edit program, thats also why sounds are faster in it. theres no way you can notice any lag there since its 8x speed from realtime video >_> your computer lags. (oh no, but the ending has some lag! because of spring always lags in the end of battle for 2 seconds, nooo!)Master-Athmos wrote:Use Spring's recorder for no low framerates in you video. That way you also won't tape the annoying sound effects which made my ears bleed. Add music or something...
btw i thought they removed springs video recorder, at least nobody knows which button it starts it anymore. anyways, its not the good way to record, because it will record the whole screen, and i dont need that, i just record a square, so only the map will be recorded. smaller filesize, cooler video.
but ye i will add in my next video some hardcore techno trance psytrance rave house music in the background just for u guys.
Re: Ingame commands to disable fog, markers, etc.
I found awesome replay now, but its old spring version (0.78.2.1) and i cant use the TAB render mode because the 15 specs in the game are drawing shit all the time on the ground and the /mapmarks command is broken in that version. (and anyways i want to use minimap for some other reasons)
So how do i hide all the UI without hiding the minimap which i maximized with the button?
I know its possible by lua, but how? i need to hide the chat, marker animation on minimap (that rotating rectangle), metal/energy bar, and mouse position info box at bottom left.
So how do i hide all the UI without hiding the minimap which i maximized with the button?
I know its possible by lua, but how? i need to hide the chat, marker animation on minimap (that rotating rectangle), metal/energy bar, and mouse position info box at bottom left.