View unanswered posts | View active topics It is currently Fri Jan 10, 2025 7:56 am



Reply to topic  [ 10 posts ] 
 Small problem with a turret... -___-' 
Author Message
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Small problem with a turret... -___-'
So, I have a turret that is pinned on a concrete block.
The problem is that whenever a particle settles under the turret, the turret is forced out of its place by the particle.
I've set DeepCheck to 1 and PinStrength to something even higher then it was (Currently stands at 9000000), but it still gets forced out of its place...

Here is how it's placed and here is what happends.
Image Image

What causes this/How do I fix it?


Fri Jul 10, 2009 7:21 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Small problem with a turret... -___-'
Code:
function Create(self)
self.stayPos = self.Pos
end

function Update(self)
self.Pos = self.stayPos
self.PinStrength = 9000000
end

Forces it to say in one position.
That is also a great looking turret.


Fri Jul 10, 2009 7:27 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Small problem with a turret... -___-'
Thanks but, it still gets forced out of place...

Curses! D:<


Fri Jul 10, 2009 7:38 pm
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: Small problem with a turret... -___-'
No idea if this will work, but maybe also have

Code:
if self.pos ~= self.stayPos then
     self.Pos = self.stayPos
end


Fri Jul 10, 2009 7:41 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Small problem with a turret... -___-'
Code:
function Create(self)
self.stayPos = self.Pos
end

function Update(self)
self.Pos = self.stayPos
self.PinStrength = 9000000
self:ForceDeepCheck(true)
self:EraseFromTerrain()
end

Try that.
Oh, and try use stronger materials for your deepgrops.


Fri Jul 10, 2009 7:43 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Small problem with a turret... -___-'
Dunno if this helps:
I believe Shook has a good solution for it. Some kind of corridor cleaner.

I've 'solved' this problem on my turrets with having an invisible magazine drop on reload which gibs and blasts away surrounding crap. (an invisible non-mos hitting grenade.)


Fri Jul 10, 2009 7:54 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Small problem with a turret... -___-'
mail2345 wrote:
Code:
function Create(self)
self.stayPos = self.Pos
end

function Update(self)
self.Pos = self.stayPos
self.PinStrength = 9000000
self:ForceDeepCheck(true)
self:EraseFromTerrain()
end

Try that.
Oh, and try use stronger materials for your deepgrops.


Still moves, but in a somewhat different way...
Instead of just popping out of place when facing opposite direction, it kinda slides away...
Also, changed DeepGroup to Mega Metal, it doesn't seem to change anything.

@ Gotcha
But I don't want the ♥♥♥♥ around removed :(

This is freakin' annoying.
I have another MOSR emitter turret that is also pinned, but it doesn't move when particles settle in it.

Curse this blasted thing! D:<


Fri Jul 10, 2009 8:07 pm
Profile
User avatar

Joined: Sun Dec 21, 2008 8:16 am
Posts: 293
Reply with quote
Post Re: Small problem with a turret... -___-'
Try surrounding your turret with a bunker module, maybe the crap won't annoy you anymore.

Example : That metal thingy around your turret could be a bunker module instead of some kind of attachment. You should just put a longer cannon so it doesn't shoot itself.


Fri Jul 10, 2009 8:23 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Small problem with a turret... -___-'
deathbringer wrote:
Try surrounding your turret with a bunker module, maybe the crap won't annoy you anymore.

Example : That metal thingy around your turret could be a bunker module instead of some kind of attachment. You should just put a longer cannon so it doesn't shoot itself.


That won't change anything.
It is being forced out of place whenever a particle settles inside the turret's base.
If something is settles in the shields it doesn't effect it in any way.

And it doesn't shoot itself either, a longer cannon would change nothing except AI would be able to destroy it without getting through the shields first.


Fri Jul 10, 2009 8:31 pm
Profile
User avatar

Joined: Sun Apr 29, 2007 6:11 pm
Posts: 543
Location: The hood
Reply with quote
Post Re: Small problem with a turret... -___-'
Post the code so we can examine it.


Fri Jul 10, 2009 11:13 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 10 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.083s | 13 Queries | GZIP : Off ]