Data Realms Fan Forums
http://45.55.195.193/

Scan-grenade
http://45.55.195.193/viewtopic.php?f=75&t=31524
Page 1 of 1

Author:  Dex98 [ Thu Aug 02, 2012 12:28 pm ]
Post subject:  Scan-grenade

After a short break at modding, i'm back asking you for some lua scripts.

One of the two things i dislike about B27, (other being the removal of friendly fire) is the need to scan areas with tools.
That's why i'm requesting a script that attached to a TDExplosive would instantly scan the whole map when the explosive gibs/explodes (if it's possible of course).

Author:  N4K4T0V [ Thu Aug 02, 2012 4:17 pm ]
Post subject:  Re: Scan-grenade

A grenade that gibs invisible actors half a second?
It should work.

Author:  helifreak [ Thu Aug 02, 2012 11:28 pm ]
Post subject:  Re: Scan-grenade

Should be possible, just loop through the map and use SceneMan:RevealUnseen(X,Y,self.parent.Team);

Author:  Roast Veg [ Thu Aug 02, 2012 11:39 pm ]
Post subject:  Re: Scan-grenade

Code:
function Destroy(self)
    SceneMan:RevealUnseenBox(0, 0, SceneMan.SceneWidth, SceneMan.SceneHeight, self.Team);
end


Will reveal the entire scene for the player that threw it when it explodes.

Author:  _Shadowcat_ [ Fri Aug 03, 2012 1:26 am ]
Post subject:  Re: Scan-grenade

Isnt it easier just to go spying around with a dropship?

Author:  Roast Veg [ Fri Aug 03, 2012 1:36 am ]
Post subject:  Re: Scan-grenade

That only works above ground, and is slow and not very cost efficient.

Author:  _Shadowcat_ [ Fri Aug 03, 2012 1:44 am ]
Post subject:  Re: Scan-grenade

If you want below ground just do the old standby, Hold down E or Q and then use the WASD keys to look around.

Sure its not as fast and useful as youd want it but still :L

But I wouldnt mind a full zoom out kinda thingy like your sugesting.

Author:  Arcalane [ Fri Aug 03, 2012 2:03 am ]
Post subject:  Re: Scan-grenade

Uh, no, that doesn't work because of the fog of war.

Which this grenade is designed to clear.

Reread the topic from the start. :roll:

Author:  _Shadowcat_ [ Fri Aug 03, 2012 3:32 am ]
Post subject:  Re: Scan-grenade

:oops:
*Facepalm*

Author:  helifreak [ Fri Aug 03, 2012 4:37 am ]
Post subject:  Re: Scan-grenade

Roast Veg wrote:
Code:
function Destroy(self)
    SceneMan:RevealUnseenBox(0, 0, SceneMan.SceneWidth, SceneMan.SceneHeight, self.Team);
end


Will reveal the entire scene for the player that threw it when it explodes.

self.Team doesn't work for grenades but if you do for each team (0,1,2,3) it works good.

Author:  Roast Veg [ Fri Aug 03, 2012 4:43 am ]
Post subject:  Re: Scan-grenade

Are you sure it doesn't work for self.Team in B27?

Author:  helifreak [ Fri Aug 03, 2012 5:25 am ]
Post subject:  Re: Scan-grenade

Roast Veg wrote:
Are you sure it doesn't work for self.Team in B27?

Yeah, I'm using the newest one with Techion in it and it doesn't do anything unless i manually specify the teams.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/