disable 'fog of war' and/or 'line of sight'
Moderator: Moderators
-
- Posts: 3
- Joined: 04 Dec 2007, 15:28
disable 'fog of war' and/or 'line of sight'
Hello All,
I am a long-time TA fan and have just found spring, it looks amazing, great work to all involved!
I enjoy playing LAN games 'skirmish' co-op games on LAN in TA.
we like playing in a 'sandbox' environment holding off waves of AI with base defence. we play with no fog of war and able to see other enemy units.
I can't seem to find the option to set up spring like I used to play TA
can anyone help me locate these options?
many thanks
I am a long-time TA fan and have just found spring, it looks amazing, great work to all involved!
I enjoy playing LAN games 'skirmish' co-op games on LAN in TA.
we like playing in a 'sandbox' environment holding off waves of AI with base defence. we play with no fog of war and able to see other enemy units.
I can't seem to find the option to set up spring like I used to play TA
can anyone help me locate these options?
many thanks
-
- Posts: 3
- Joined: 04 Dec 2007, 15:28
Only units ATM, wreckages may be possible but to make explosions and projectiles LOS-free, you need to add alwaysVisible to all of them and for weapons that only works with SVN.Pxtl wrote:Also, does that include projectiles/explosions/wreckage/etc, or just units?KDR_11k wrote:These options don't exist but I have a LuaRule that makes all units always visible if the mod includes it.
The code is really simple:
Code: Select all
function gadget:GetInfo()
return {
name = "noLOS",
desc = "Disables LOS",
author = "KDR_11k (David Becker)",
date = "2007-11-18",
license = "Do what you feel like",
layer = 1,
enabled = true
}
end
if (gadgetHandler:IsSyncedCode()) then
--SYNCED
function gadget:UnitCreated(u, ud, team)
Spring.SetUnitAlwaysVisible(u,true)
end
end
- Complicated
- Posts: 369
- Joined: 06 Jun 2007, 18:51
- GrOuNd_ZeRo
- Posts: 1370
- Joined: 30 Apr 2005, 01:10
Re: disable 'fog of war' and/or 'line of sight'
A cheap hack would be a cloaked flying unit that flies at very high altitude and has a huge LOS 

Re: disable 'fog of war' and/or 'line of sight'
doesnt work, the range where unit can see is limited, spring bugGrOuNd_ZeRo wrote:A cheap hack would be a cloaked flying unit that flies at very high altitude and has a huge LOS
and i bet that doesnt work perfectly on hilly maps anyways