Fog Of War

  • Thread starter Thread starter Bucks
  • Start date Start date
B

Bucks

Guest
Hi, ive searched these forums on how to make the fog of war appear so that when you explore an area, it'll still be covered by fog of war when you're done exploring it, but couldnt find anything. I've tried the trigger:

Events
Map Initialization

Conditions

Actions
Visibility - Enable Fog of War

But that leaves parts of maps you explored still visible.

I want it so that the parts youve visited to STILL be covered by fog of war.

Thanks.
 
No, you still didnt get what i meant. Read what the post says, EXCLUDING that.
 
OK, let me clear something up:

Fog of War is the grey area where you have been, but cannot see at the moment. The black areas are places you have not been yet. You can Enable/Disable both the Fog of War and black area (Whatever that is called; I can't remember.). I do not know of a way to make the black area cover everything but what your units can see.

An idea that I have but can't test at the moment is to disable the Fog of War but not the black area. This could do one of two things:

1. Give you the result you want.
2. Let you see everything that is happening in any are you have been to.

Please try not to get angry. :D
 
Well, it got rid of fog of war, but it leaves the area that explored, still visible, just without fog of war.
 
Fog of war is supposed to do that.

Fog of War works like so:

~In a map with fog of war, a player thinks "lets walk over there!" so they do.

~They then realise that on the minimap, the path that they took lights up a little.

~The player thinks then "im tired of staying here, lets go back!" so they do.

~They then see that the part they left is now invisible but lit up. This is fog of war.

If you disable fog of war then you are bound to get that problem :P

I think what you are after is this:

the map isnt explored but when you explore somewhere, it stays visible.

I have a (sort of) good idea:

Object editor, make a sentry ward unit and shrink it to 0.01.

Now your trigger is:

E:Every 5 seconds of game tiime

~~~

A:Pick every unit in (units owned by (player)) and do Create 1 (sentry unit) for (player) at (position of (picked unit)) facing (positions of (triggering unit)

Hope that helps:

~Jindo

__________
rated 5/5 for mapping
 
...Isn't there a trigger to enable Black Mask, which is, I believe, what you're talking about? I think I've seen it before...
 
I'm Registering later.

No i just realised i sent the wrong message, i didnt mean fog of war, i meant black mask. i just realised that fog of war is the grey shading, and thats not what i want. i want it to still be covered by black mask.

I can only think of one map that has what i'm trying to do, which is FFForever.
 
Great that you want to registrer :)


-Edited- Becuse of leak

Neaded: Unit group variable (UnitGroup)
Point variable (Point)


Code:
No Visibility
    Events
        Time - Every 4.00 seconds of game time
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Black mask across (Playable map area)
                Unit Group - Add all units of (Units owned by (Picked player)) to <UnitGroup>
                Unit Group - Pick every unit in <UnitGroup> and do (Actions)
                    Loop - Actions
                        Set <Point> = (Position of (Picked unit))
                        Visibility - Create an initially Enabled visibility modifier for (Owner of (Picked unit)) emitting Visibility from <Point> to a radius of [B](Current acquisition range of (Picked unit))[/B]
                Unit Group - Remove all units from <UnitGroup>


The part in bold is somthing that needs some work. I didnt find a way to have that Unit - Current line of sight of (picked unit). You can maybe store the line of sight of a unit in its custom vaule or somthing.

You can have the trigger without the Unit Group part but that will flash the visible are for a short time.

One thing that I havnt tested is if all units in the map will stop attack there targets. (For a short period there is no area visible in the map and without visibility units dont attack)
 
Blah, it didnt work. I tried to fiddle around with it, but it just made it when ever i clicked on my hero it made everything visible.
 
Some of the actions you put there didnt work(as in i couldnt find it, at all) for me so i had to find another way of creating it. But it didn't work.
 
I have TFT, and I'm positive it's world editor 1.18, because I can check what version it is by click on "about world editor".
 
Bucks said:
I have TFT, and I'm positive it's world editor 1.18, because I can check what version it is by click on "about world editor".

Then you have all functions ^^.

From top to down:

Time - Every 4.00 seconds of game time
Topic: Time
Name: Periodic Event

Player Group - Pick every player in (All players) and do (Actions)
Topic: Player Group
Name: Pick Every Player In Player Group And Do Multipel Actions

Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Black mask across (Playable map area)
Topic: Visibility
Name: Create Visibility Modifier Region

Unit Group - Add all units of (Units owned by (Picked player)) to <UnitGroup>
Topic: Unit Group
Name: Add Unit Group

Unit Group - Pick every unit in <UnitGroup> and do (Actions)
Topic: Unit Group
Name: Pick Every Unit In Unit Group And Do Multipel Actions

Set <Point> = (Position of (Picked unit))
Topic: -All
Name: Set Variable

Visibility - Create an initially Enabled visibility modifier for (Owner of (Picked unit)) emitting Visibility from <Point> to a radius of (Current acquisition range of (Picked unit))
Topic: Visibility
Name: Create Visibility Modifier Circle

Unit Group - Remove all units from <UnitGroup>
Topic: Unit Group
Name: Clear



I have to much time :(. Hope you find everything, if you look close you will find them. I have TFT 1.18 too.
LOL it why didnt I upload a sampel map?
 
Lol, thanks for taking the time off your hands for typing all that.

I'm going to log on in 5 minutes, my member name is kevinbagu.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I love the Trending Content!
  • The Helper The Helper:
    New News Forum World News
  • The Helper The Helper:
    How often does the Trending Content box refresh?
  • The Helper The Helper:
    Also, in the last template there was a seperation between sticky threads and regular threads in the forum
  • Ghan Ghan:
    Not sure. It's probably part of a cron job.
  • The Helper The Helper:
    Hey Ghan, whatever cron job its part of its not running its been the same for days. If it does not work can we remove it?
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)

The Helper Discord

Staff online

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top