Author Topic: map visibility  (Read 1046 times)

fumar

  • Guest
map visibility
« on: 19 September 2011, 10:46:58 »
Hi there,

I am a beginner and just trying to write a scenario. To test the scenario it would be good if the entire map would be visible. Is there a possibility to do so?

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: map visibility
« Reply #1 on: 19 September 2011, 14:09:13 »
Hi Fumar, which game are you using? If you're using MegaGlest, and I think also on GAE, you can disable the darkness which covers the unseen part of the map. The names of these options differ, but you can set it when you setup a new game.

In the future (you most likely could not know this, yet), please ask your engine related questions in the very subforums of these engines (MegaGlest or GAE).

Thanks.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

fumar

  • Guest
Re: map visibility
« Reply #2 on: 19 September 2011, 14:51:18 »
Hi tomreyn,

thanks for your answer. I use megaglest 3.5.2 but in scenario mode I can not find an option to disable the darkness, only in custom game mode. So I was hoping that there is a corresponding script command.

Quote
In the future (you most likely could not know this, yet), please ask your engine related questions in the very subforums of these engines (MegaGlest or GAE).
Okay, I will do so.  :)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: map visibility
« Reply #3 on: 19 September 2011, 22:47:13 »
Unless they added something yet-to-be-documented recently, no, MegaGlest does not have anything. GAE has unfogMap(time, area)

Also, I moved this to the MG board, as it seems that's what he's using.
« Last Edit: 18 June 2016, 18:10:20 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: map visibility
« Reply #4 on: 21 September 2011, 01:06:32 »
Yes, i beleive both GAE anf MG have the setting:

Code: [Select]
fog-of-war
Example:

Code: [Select]
<?xml version="1.0" standalone="yes" ?>
<scenario>
<fog-of-war value="false"/>

Megaglest supports the following values:

true = normal fog of war
false = no fog of war
explored = map and resources shown but enemies hidden

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: map visibility
« Reply #5 on: 21 September 2011, 06:07:15 »
Yes, i beleive both GAE anf MG have the setting:

Code: [Select]
fog-of-war
Example:

Code: [Select]
<?xml version="1.0" standalone="yes" ?>
<scenario>
<fog-of-war value="false"/>

Megaglest supports the following values:

true = normal fog of war
false = no fog of war
explored = map and resources shown but enemies hidden
Ooh, I didn't even know this one existed. Added to the Wiki.
« Last Edit: 18 June 2016, 12:57:09 by filux »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

 

anything