Ahra Pahts v0.8

A community Age for Uru.

Moderator: Aloys

User avatar
Aloys
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
MOULa KI#: 0
Location: France (GMT +1)
Contact:

Post by Aloys »

"Haha!"
I just got one of those great "haha!" moment you have when you solve a puzzle and you see the reward unfold before you. Except it wasn't a puzzle it was a bug I finally understood, and to fix it I'll have to change most of the collisions in the city... -_-

There's a collision bug somewhere, not sure if it's in Uru or the plugin or both and that's not really important anyway. Anyhow Uru doesn't like collisions on long planes. If you look at Cyan Ages you'll see they use specific separate models for the collision instead of stapling the collisions tags on the existing models. This is both for performance reasons and gameplay reasons, and most of all it never leads to strictly flat models. (not that I've seen anyway).

Stranger: some planes works some won't. Specifically those I'm having trouble with are the streets and some of the canals: long narrow planes. You fall in the middle of some streets meshes for absolutely no visible reason. You fall right there in the middle of a face. :blink: I've done a bunch of test and in fact a number of plane works, square planes (even very large squares), some arbitrary shaped planes work some won't. But long rectangular ones never work in my experience.. I tried subdividing the faces to no avail. That doesn't make sense to me.. But then again a number of other don't. Weirder and weider: if you extrude the edges of the plane upward (to turn it a box) it fixes the issue... The 'flat' part of it that didn't work now works even though itself hasn't been touched.. Go figure. I still have a number of things to learn about collisions.

Anyhow, simple problems, simple solutions: don't make the mesh flat. I'll create an actual separate (non plane) collision mesh that'll include streets and sideways and call it a day... (More like 4 in fact, one for each district) I hoped to avoid doing that as long as possible as is long to do; but hey, that way it'll be done. At least there'll be no more collision issues.

Couple hours of fun in sight for me tonight.. :ph34r:
Jehrid
Posts: 2
Joined: Fri Nov 16, 2007 9:45 pm

Post by Jehrid »

Not sure if this will help or not with the disappearing texture problem:

When I looked at Pahts in the PrpExplorer, I saw a double of pretty much everything. Under the Advanced section of every PRP there are two DrawableSpans groups, two SceneNodes groups, two SimulationInterface groups, etc.

And in every shell (except for #101, for whatever reason) there are two Pahts_District_Shell### groups that have identical SceneObjects entries beneath them.

Hope this helps in finding out what the problem is.

EDIT: Well, never mind. I reloaded it and when I looked it was normal again. False alarm, sorry!
User avatar
zib_redlektab
Posts: 240
Joined: Sat Sep 29, 2007 6:24 am
MOULa KI#: 0
Location: Avoiding Direct Sunlight
Contact:

Post by zib_redlektab »

[quote="Jehrid"] (except for #101, for whatever reason)

Oh that's simple. Shell 101 is a vampire shell. If you look at it reflected from Uru in Blender, it disappears.... :o

We actually deleted 2 other shells that gave us problems, shell #13 and shell #666. You'll notice they aren't there anymore ;)
Lurker extraordinaire!
http://www.zibland.com