Author Topic: Collisions problems - any way to remove them?  (Read 2010 times)

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Collisions problems - any way to remove them?
« on: November 24, 2008, 08:46:12 PM »
Basically, I want to remove the ability to collide with objects and cause damage removed from the game. I know there is a mutator that comes with the game, but it doesn't always work. There have been instances where I spent a great deal of time setting up a picture, or a video scene, only to come out of edit mode and have half of my work blow up and collide with everything around it. So, how to I kill the collisions forever (or at least until I want them back?)

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Collisions problems - any way to remove them?
« Reply #1 on: November 25, 2008, 01:26:32 PM »
There are various ways.

There is the a -> b collision (dis|en)abling, which, btw, isn't the same as b -> a.

Then there is the "global" (ok, it's per set) disabling. And that's for anything -> anything, including phaser beams.


Ok, here is how you do it:

First way: pA.EnableCollisionsWith(pB, 0)
And you better also do:
pB.EnableCollisionsWith(pA, 0)

To enable them again use 1 instead of 0.

Then there is the following way:
pA.GetContainingSet().GetProximityManager().RemoveObject(pA)

Or, and this is what I think you want:
pA.GetContainingSet().SetProximityManagerActive(0)
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Dalek

  • Posts: 1529
  • Cookies: 206
Re: Collisions problems - any way to remove them?
« Reply #2 on: November 25, 2008, 01:28:40 PM »
Or...

When ingame (or out of QB), go to "Configure"--> "General". There should be Collisions, Subtitles, Character descriptions and Collsion Alert. There should be yellow or black holes in the boxes the text is in. If it's yellow, its on. If its black, its off.

If that is the mutator you wer talking about, weird. My BC always works with it off when its meant to be off.
"To live on as we have is to leave behind joy, and love, and companionship, because we know it to be transitory, of the moment. We know it will turn to ash. Only those whose lives are brief can imagine that love is eternal. You should embrace that remarkable illusion. It may be the greatest gift your race has ever received."

 - Lorien

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Collisions problems - any way to remove them?
« Reply #3 on: November 25, 2008, 01:30:26 PM »
It's possible that the Edit mode turns it on again after it's done. I can think of why it would turn it on again, it would first turn it off, and when it's done it turns it on again.

Do note that the edit mode was never to be used outside of Totally Games.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline tiqhud

  • BCFiles File Poster
  • Posts: 1763
  • Cookies: 1067
  • San Francisco Shipyards (HPer) file manuiplater
Re: Collisions problems - any way to remove them?
« Reply #4 on: November 25, 2008, 02:08:28 PM »
Maybe EDIT mode will turn off collisions if he leaves it on[at the button] I don't know for sure, just something to try.
TiqHud
you sir, are unable to strike, the port or starboard parts of hull , of a bovine storage facility.
Canon , what people argue exists, that doesn't really  exist.
It is all the little details, that cause headaches.
"Never judge wealth with Money"
'Intelligence has Nothing to do with Politics'
it is Late, Do you know where your Towel is?

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Collisions problems - any way to remove them?
« Reply #5 on: November 25, 2008, 02:12:13 PM »
Maybe EDIT mode will turn off collisions if he leaves it on[at the button] I don't know for sure, just something to try.
Um, it's far more logical that it would just turn it off when it starts, and then turns it on when it stops.

That type of logic is, in 99% of all cases, really unlikely.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Re: Collisions problems - any way to remove them?
« Reply #6 on: November 30, 2009, 09:58:35 PM »
With some large ships in the game, such as the Borg Cube, ships collide with them all of the time, especially if there are multiple Borg Cubes on the map at one time. to stop this i tried to turn collisions off but even though the button in the config menu is clearly off, the ships still collide with things sometimes.

is there a way to make all collisions go off when I want?

Offline 086gf

  • Location: United Socialist States of America!
  • Posts: 1357
  • Cookies: 32
Re: Collisions problems - any way to remove them?
« Reply #7 on: December 01, 2009, 01:08:02 PM »
That button is for the player only. And I have already seen a thread for this in the scripting section.
All hail the messiah!

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Re: Collisions problems - any way to remove them?
« Reply #8 on: December 01, 2009, 01:19:19 PM »
yes, i found that but i need a litle help with it still and i didn't want to revive the thread after a year of inactivity

Offline Nebula

  • BC elder / BCC Vice Admin
  • Administrator
  • Posts: 5500
  • Cookies: 1129
  • KM - Mod Team Member & BC - Elder (2002)
    • 9th fleet HQ
Re: Collisions problems - any way to remove them?
« Reply #9 on: December 01, 2009, 01:20:15 PM »
That button is for the player only. And I have already seen a thread for this in the scripting section.

Are you sure about that?? I don't think it's player only.
Canon is what people argue exists on ships that don't exist.

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Collisions problems - any way to remove them?
« Reply #10 on: December 01, 2009, 02:06:10 PM »
And I have already seen a thread for this in the scripting section.
please link to that thread, that one and this one could be merged together...

thx :)

Offline Dalek

  • Posts: 1529
  • Cookies: 206
Re: Collisions problems - any way to remove them?
« Reply #11 on: December 01, 2009, 02:49:31 PM »
It is player only. I always have collisions of yet I've always got friendly ships smashing into one another.
"To live on as we have is to leave behind joy, and love, and companionship, because we know it to be transitory, of the moment. We know it will turn to ash. Only those whose lives are brief can imagine that love is eternal. You should embrace that remarkable illusion. It may be the greatest gift your race has ever received."

 - Lorien

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Re: Collisions problems - any way to remove them?
« Reply #12 on: December 01, 2009, 05:28:30 PM »
It is player only. I always have collisions of yet I've always got friendly ships smashing into one another.

exactly. that's the problem right there!

enemy ships sometimes smash into eachother too. For example, i was DS9 and i was fighting 60 dominion ships. About 10 of the Dominion ships died from crashing into eachother while they were flying toward me. collisions were off and they could pass through me, but not eachother.

here is that other thread:
http://bc-central.net/forums/index.php/topic,4737.0.html

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Collisions problems - any way to remove them?
« Reply #13 on: December 01, 2009, 05:57:44 PM »
*threads merged*

indeed - the collisions thing is a pain in the ass, surely there must be a way to solve it?

Offline Morgan

  • Moderator
  • Posts: 1340
  • Cookies: 65535
Re: Collisions problems - any way to remove them?
« Reply #14 on: December 28, 2009, 11:20:41 PM »
Aren't collisions handled by the game engine itself? If that's true there would be no way to modify them what so ever (at least legally)...