I know it adds a border

Moderator: Moderators
So maps can use their own map border as well?Forboding Angel wrote:That's intentional. In Spring 95 Evo will switch to engine map border anyway.
what does that mean?Look at all the people rushing to implement what I did in Evo.
Ideally, no. Refer to earlier rant wrt consistency.Funkencool wrote:So maps can use their own map border as well?Forboding Angel wrote:That's intentional. In Spring 95 Evo will switch to engine map border anyway.
Nothing is being overriden. It is just a signal that the map can set, if the mod listens is up to the mod. If a map wants to draw its own border you can be pretty sure it is for a good reason.Maps should not override game settings that are explicitly set.
Code: Select all
function widget:Initialize()
if VFS.FileExists("nomapedgewidget.txt") then
Spring.SendCommands ("mapborder 0") --tada
widgetHandler:RemoveWidget()
return
end
-- rest of Initialize ....
end
knorke wrote:River of Shit in Pimple Valley
If mapborder is stored in springsettings.cfg, then you should instead use something like Spring.SetConfigInt("mapborder",0,true) so as to change the setting only for this session, and not permanently.knorke wrote:Spring.SendCommands("mapborder 0") --tada