Page 1 of 2

Several maps have interior shapes with disabled collisions.

Posted: Sun Jun 01, 2014 7:04 am
by perrinoia
I was just playing Hungry Hippos, and when I flew to the enemy base, I fell right through the roof into a room full of indoor turrets.

It was the iblock on the top/front of the base, that I did not collide with.

Likewise, there was another map a few days ago where I was able to walk through a few walls. I don't remember what it was.

In the mission editor, when you select an interiorshape and press f2, there is a checkbox on the right that says Disables Collisions. If you check off this box and then press the apply button, you will be able to move through that interiorshape.

However, when I save the map, this property is not saved in the file, and if I reload the map, I collide with the object again.

I'm not sure how or why these objects are not collide-able on a dedicated server, but I think it needs to be fixed.

If you can figure out how and tell me, I've got some ideas for maps that could use it.

Re: Several maps have interior shapes with disabled collisio

Posted: Sun Jun 01, 2014 11:00 am
by Real
Does it have anything to do with focusserver() and focusclient()? I mean it probably shouldn't matter on a ded server.. but just a shot in the dark. if I don't call those sometimes my interiorobjects bug out.

Re: Several maps have interior shapes with disabled collisio

Posted: Sun Jun 01, 2014 2:05 pm
by perrinoia
Interesting theory.

I've never paid much attention to those commands.

Not really sure what effect they might have.

Re: Several maps have interior shapes with disabled collisio

Posted: Sun Jun 01, 2014 2:17 pm
by Fixious
focusClient()
USED IN: Editor.cs, NewMission.cs, registerVolume.cs, Server.cs, Trees.cs
RETURN: True.
Used to make all the function calls on the Client side. Also uses the Client manager when adding or removing an object.

focusServer()
USED IN: Editor.cs, NewMission.cs, RegisterVolume.cs, Server.cs, Trees.cs
RETURN: True if succeed or False if failed.
Used to make all the function calls on the Server side. Also uses the Server manager when adding or removing an object.

http://www.ephemeron.org/~bigby/script2/network.html

:idk:

Re: Several maps have interior shapes with disabled collisio

Posted: Sun Jun 01, 2014 6:02 pm
by AnniDv6
I've been meaning to fix these actually. They are all maps submitted from other people on these forums so I'm not sure what they were doing in the editor or if any of it was supposed to be intentional, but it's a simple fix.

Edit: I'm guessing that the shapes that are having this issue are copies of the original shape.

Re: Several maps have interior shapes with disabled collisio

Posted: Mon Jun 02, 2014 3:17 am
by perrinoia
Fixious wrote:focusClient()
USED IN: Editor.cs, NewMission.cs, registerVolume.cs, Server.cs, Trees.cs
RETURN: True.
Used to make all the function calls on the Client side. Also uses the Client manager when adding or removing an object.

focusServer()
USED IN: Editor.cs, NewMission.cs, RegisterVolume.cs, Server.cs, Trees.cs
RETURN: True if succeed or False if failed.
Used to make all the function calls on the Server side. Also uses the Server manager when adding or removing an object.

http://www.ephemeron.org/~bigby/script2/network.html

:idk:
That is very interesting, but I'm not convinced that is the problem, considering there is no scripted collision event when a player collides with interior shape.

Re: Several maps have interior shapes with disabled collisio

Posted: Thu Jun 26, 2014 12:35 am
by S_hift
you can delete that map if necessary I'm not really a big fan of it even though I made it. go figure, i made it a map and its broken lol

Re: Several maps have interior shapes with disabled collisio

Posted: Thu Jun 26, 2014 4:31 am
by perrinoia
Pro mission editor tip:
Use cut instead of copy, and paste twice to create two of the same thing.

As Devil implied, copy tends to cause bugs, such as lighting, texture, and collision faults.

Also (unrelated), press o to pop up the snap form. Use the snap features to ensure objects are positioned and rotated in non-random ways. Great for mirroring the enemy base, too.

Re: Several maps have interior shapes with disabled collisio

Posted: Mon Jun 30, 2014 8:27 am
by virus
Was not aware of the snap feature.

Re: Several maps have interior shapes with disabled collisio

Posted: Tue Jul 01, 2014 4:54 am
by perrinoia
I could tell.