View unanswered posts | View active topics It is currently Wed Jun 26, 2024 10:30 am



Reply to topic  [ 14 posts ] 
 Something to keep the gibs out of my hangar 
Author Message
User avatar

Joined: Thu Aug 30, 2007 4:36 am
Posts: 65
Reply with quote
Post Something to keep the gibs out of my hangar
Is there anything existing yet that will repel any falling gibs, yet let friendly ships through? this would be VERY useful, as i always make a landing pad or bunker, or shaft, only to have it clogged up with gibs of dropships that INSIST to spawn RIGHT ABOVE MY BASE. and my air defense kills the soldiers yes, but it doesn't remove any of the gibs that fall and end up killing more things than the soldier ever would. if this doesn't exist, PLEASE MAKE ONE! one that preferably either comes in "one size fits all" (hangar or rocket shaft) or two that come in those flavors.


Tue Jul 21, 2009 12:04 pm
Profile
User avatar

Joined: Thu Apr 23, 2009 6:35 pm
Posts: 71
Reply with quote
Post Re: Something to keep the gibs out of my hangar
Hmm. I think theres a tech that clears pixels of settled objects but not, actors or anything, let me check.. Yeah its DSTech, use the search thing, it should be there, download it, and under Bunker Systems is a cleaner thing.


Tue Jul 21, 2009 12:44 pm
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: Something to keep the gibs out of my hangar
Code:
function update (self)

self.Bobby = box (*Hangar top left corner*,*Hangar bottom right corner*);
for trash in MovableMan.Particles do
if trash.ClassName == "MOSRotating" then
if self.Bobby:WithinBox(trash.Pos) then
trash.ToDelete = true;
end
end
end

end


Tue Jul 21, 2009 2:13 pm
Profile WWW
User avatar

Joined: Thu May 15, 2008 11:40 am
Posts: 1527
Location: In heaven, everything is fine.
Reply with quote
Post Re: Something to keep the gibs out of my hangar
I have the same problem when playing.

To counter this, I usually make a small drop-pod receiving room right on top of my brain, as a back-up in case the main hangers got stuck. Then send out a worker robot to clear the gibs with a digger.

However most of the time I don't even bother to build such large bases. They're pain in the azz.


Tue Jul 21, 2009 3:00 pm
Profile
User avatar

Joined: Thu Aug 30, 2007 4:36 am
Posts: 65
Reply with quote
Post Re: Something to keep the gibs out of my hangar
You seem to be assuming that the gibs actually reach the bunker, what i am requesting is something that actually bounces the gibs off of something, doors MIGHT do the trick, but the existing doors just break under the weight of gibs, and they open too slowly for rockets. we need a bubble shield thing that your units are immune to, the existing ones WOULD keep gibs out of a bunker, but they keep you out as well. and when i make a drop pod receiving room, it just happens that a rocket wants to land on it, and gets shot down by my missile turrets, or just flips over when it takes off again, and then it blows up. then i am left with a rocket shaft, and drop pod room filled with gibs (and the DStech bunker cleaning system would clean gibs, but it "cleans" terrain too >.>)

Also, The Decaying Soldat, use unitechs pre-built bunkers, come in sizes from unnecessarily huge, to just small enough


Tue Jul 21, 2009 9:35 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Something to keep the gibs out of my hangar
roons script will delete them all before they land, not repel them. repelling them would be sligtly more complex, but could be done like so, though it would make scarey ♥♥♥♥ happen if someone died inside the bunker.

Code:
function Create (self)

--make sure you get the box positioning right, using self.Corner1 and 2
self.Corner1 = Vector( (self.Pos.X - 30), (self.Pos.Y - 10) )
self.Corner2 = Vector( (self.Pos.X + 30), (self.Pos.Y + 10) )
self.Bobby = Box(self.Corner1, self.Corner2);
--example for 60x20px box
self.timer = Timer() --timer to reduce lag

end

function Update (self)

if self.timer:IsPastSimMS(300) then -- each 300 ms
for trash in MovableMan.Particles do -- check each particle
if trash.ClassName == "MOSRotating" then -- if its a MOSR
if self.Bobby:WithinBox(trash.Pos) then --and its within the box
trash:FlashWhite(300) --make it flash white
trash.Vel = trash.Vel * -2 --and reflect it
end
end
end
end

end

put this on a pinned MOPixel at the centre of the entry point. if you want more protection, make the box bigger and put it in the center of the module. as i said, if someone dies inside expect some fast moving gibs.


Last edited by Geti on Wed Jul 22, 2009 5:03 am, edited 1 time in total.



Tue Jul 21, 2009 11:57 pm
Profile WWW
User avatar

Joined: Thu Aug 30, 2007 4:36 am
Posts: 65
Reply with quote
Post Re: Something to keep the gibs out of my hangar
Sadly, i am not a coder, could someone put this is mod form please?


Wed Jul 22, 2009 12:15 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Something to keep the gibs out of my hangar
Your code would error, Geti, you didn't define a box properly.

self.bobby = Box(vector,vector);


Wed Jul 22, 2009 3:13 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Something to keep the gibs out of my hangar
it has two vectors.
self.corner1 and self.corner2 are vectors, predefined for easier modification for the situation.
oh, wait, the capitalisation is ♥♥♥♥.
i'll edit it.
can someone stick it to a MOPixel that doesnt settle at the top of the vanilla hangar?


Wed Jul 22, 2009 5:03 am
Profile WWW
User avatar

Joined: Fri May 30, 2008 9:38 pm
Posts: 260
Location: Some Crack House
Reply with quote
Post Re: Something to keep the gibs out of my hangar
I can see myself sitting in my bunker sipping a cup of tea while I watch drop ship parts and random limbs fall down all around me. My point is that would be awesome and it must be made NOW!not really now but it would be nice to see something like it very soon, not like martha stuwart soon, more like jackie chan soon.


Wed Jul 22, 2009 6:18 am
Profile
User avatar

Joined: Thu May 15, 2008 11:40 am
Posts: 1527
Location: In heaven, everything is fine.
Reply with quote
Post Re: Something to keep the gibs out of my hangar
A back-up drop pod room vertically on top of your brain will be free of invading dropships. It's just that it is not close to the front-lines.

I like base-building, I just find a big base far less-manageable. It's proven true that a few actors in a small bunker is much more efficient than a huge base with crap-load of stuff. I'm hoping to see that get a change.

I do support a gib force-field, will be useful. However if possible, I'd rather have an AI landing-denial module to restrict AI landing zones in-game.


Wed Jul 22, 2009 6:42 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Something to keep the gibs out of my hangar
you can do that, you know. LZTeam1, LZTeam2, these both should work when you're making a scene to restrict the landing zones on a per team basis.


Wed Jul 22, 2009 6:51 am
Profile WWW
User avatar

Joined: Thu May 15, 2008 11:40 am
Posts: 1527
Location: In heaven, everything is fine.
Reply with quote
Post Re: Something to keep the gibs out of my hangar
Geti wrote:
you can do that, you know. LZTeam1, LZTeam2, these both should work when you're making a scene to restrict the landing zones on a per team basis.

Yea I know, but I think someone mentioned this doesn't for for the AI.

What I'm thinking of is a module that you can place in build-mode. This way you can customize landing zones yourself, to fit whatever size your base is.


Wed Jul 22, 2009 12:07 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Something to keep the gibs out of my hangar
The Decaying Soldat wrote:
Geti wrote:
LZTeam1, LZTeam2

Yea I know, but I think someone mentioned this doesn't for for the AI.

They don't quite work, you have to make a lua script for the scene to have it summon enemies there. But, you could place a bunkermodule or something, like you said, that teleports any enemy craft from around the top of the map to a specific section of the top of the map. Something like
Code:
for actor in MovableMan.Actors do
(tab)if actor:IsCraft() and box:WithinBox(actor.Pos) then
(tab)(tab)actor.Pos.X = math.random() * boxXSize + boxLeftX;
(tab)(tab)actor.Pos.Y = BoxYSize + BoxTopY;
(tab)end
end

Note that the above is pseudocode, not actually usable Lua.


Wed Jul 22, 2009 1:55 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.050s | 13 Queries | GZIP : Off ]