Data Realms Fan Forums
http://45.55.195.193/

Drop Zone
http://45.55.195.193/viewtopic.php?f=1&t=26174
Page 1 of 1

Author:  Flashpoint [ Tue Nov 08, 2011 5:27 pm ]
Post subject:  Drop Zone

How do I change the drop zone from the small area around my base to letting me deploy anywhere?

Author:  Sims_Doc [ Tue Nov 08, 2011 6:16 pm ]
Post subject:  Re: Drop Zone

i'm intressed in this also because i hate it how the drop zone has been altered.

Author:  LordVonKain [ Tue Nov 08, 2011 6:48 pm ]
Post subject:  Re: Drop Zone

I'm going to assume there's a variable of a sort inside the base / Brain section about the drop zone since it's only in a X space of the brain.

i yet to check but i could always look through the Ini's and stuff.

Author:  Sims_Doc [ Tue Nov 08, 2011 8:37 pm ]
Post subject:  Re: Drop Zone

LordVonKain wrote:
I'm going to assume there's a variable of a sort inside the base

Yeah, i think its to do with that because it goses berserk when i run another one of my experiment maps.

Author:  Flashpoint [ Wed Nov 09, 2011 12:12 am ]
Post subject:  Re: Drop Zone

Figured it out!!! :D

Put this:

Quote:
self:SetLandingZone(Vector(SceneMan.Scene.Width, 0), Activity.PLAYER_1);
self:SetBrainLZWidth(Activity.PLAYER_1, SceneMan.Scene.Width);
self:SetBrainLZWidth(Activity.PLAYER_2, SceneMan.Scene.Width);
self:SetBrainLZWidth(Activity.PLAYER_3, SceneMan.Scene.Width);
self:SetBrainLZWidth(Activity.PLAYER_4, SceneMan.Scene.Width);


After line 126 in the Base.rte\Activities\SkirmishDefense.lua, so it should come out looking like this:

Quote:
self:SetTeamFunds(1000, Activity.TEAM_4);
self.BaseSpawnTime = 3500;
self.RandomSpawnTime = 4000;
end

self.StartTimer = Timer();
self.TimeLeft = self.BaseSpawnTime + math.random(self.RandomSpawnTime);

self:SetLandingZone(Vector(SceneMan.Scene.Width, 0), Activity.PLAYER_1);
self:SetBrainLZWidth(Activity.PLAYER_1, SceneMan.Scene.Width);
self:SetBrainLZWidth(Activity.PLAYER_2, SceneMan.Scene.Width);
self:SetBrainLZWidth(Activity.PLAYER_3, SceneMan.Scene.Width);
self:SetBrainLZWidth(Activity.PLAYER_4, SceneMan.Scene.Width);
end


Drop crate bombs, drop crate bombs everywhere. o.O

Author:  LordVonKain [ Wed Nov 09, 2011 12:14 am ]
Post subject:  Re: Drop Zone

I'm sure that would make the other player be able to spawn troops anywhere (even on top of your base which is most likely.)

Author:  Flashpoint [ Wed Nov 09, 2011 1:39 am ]
Post subject:  Re: Drop Zone

The AI seems to still avoid dropping near my base with that script. ;)

Author:  Sims_Doc [ Wed Nov 09, 2011 1:47 am ]
Post subject:  Re: Drop Zone

The A.i Never drops directly onto a base.

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