Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,365 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Collisions bugging out after level_load #125963
04/24/07 03:06
04/24/07 03:06
Joined: Mar 2007
Posts: 75
M
Metal_Man Offline OP
Junior Member
Metal_Man  Offline OP
Junior Member
M

Joined: Mar 2007
Posts: 75
Hello, I am having a problem that is severely hindering my game.

When I use level_load in the middle of a game to load the next level, the collision system seems to error severely and strange thing happen. Sometimes the player is unable to move while other times the player falls through the floor.

I have had this problem with other games also, so could someone please help me and tell me why the collisions could possibly be acting strange after using level_load in the middle of the game?

Re: Collisions bugging out after level_load [Re: Metal_Man] #125964
04/24/07 03:18
04/24/07 03:18
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I've had this problem as well, but it was only when switching to one level, all the others were fine...

I'll be monitering this thread for results.


xXxGuitar511
- Programmer
Re: Collisions bugging out after level_load [Re: xXxGuitar511] #125965
04/24/07 20:12
04/24/07 20:12
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
There are a lot of things that can go wrong when you load new geometry. If your player starts the new level inside a solid wall, they'll either stick or fall through.


Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: Collisions bugging out after level_load [Re: Doug] #125966
04/24/07 20:59
04/24/07 20:59
Joined: Mar 2007
Posts: 75
M
Metal_Man Offline OP
Junior Member
Metal_Man  Offline OP
Junior Member
M

Joined: Mar 2007
Posts: 75
yeah... but the player does not start the new level inside a solid wall in this case. So, can anything else go wrong?

Also, I'm not using the templates at all. So could it be some problem occurring because of a script error? I never encountered this problem before I last updated. I think I had 6.4-something before.

Last edited by Metal_Man; 04/24/07 21:24.

I can be contacted at clydeshaffer@gmail.com
Re: Collisions bugging out after level_load [Re: Metal_Man] #125967
04/25/07 00:15
04/25/07 00:15
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
maybe recalculate colision detection via c_setminmax or c_updatehull will solve the problem?
Just idea.

Last edited by tompo; 04/25/07 00:27.

Never say never.
Re: Collisions bugging out after level_load [Re: tompo] #125968
04/25/07 00:38
04/25/07 00:38
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
It's not that, and it's a unique problem I've only had with loading certain levels. It's as if the BSP tree was "shifted" over. I can still walk around, but the collision is shifted...

Hope you understand. If not, then i can post a FRAPS vid...


Now that I think about it, it might )somehow) be the player action? It's custom, and does not close when "my" handle is terminated. Since it uses the same "player" handle, could the function still be running?


xXxGuitar511
- Programmer
Re: Collisions bugging out after level_load [Re: xXxGuitar511] #125969
04/25/07 00:56
04/25/07 00:56
Joined: Mar 2007
Posts: 75
M
Metal_Man Offline OP
Junior Member
Metal_Man  Offline OP
Junior Member
M

Joined: Mar 2007
Posts: 75
the c_update hull didn't seem to do anything. is there a way to make sure that the level's hull is updated? The odd thing is that the problem still occurs even when I load the same level over again.


I can be contacted at clydeshaffer@gmail.com
Re: Collisions bugging out after level_load [Re: Metal_Man] #125970
04/25/07 01:51
04/25/07 01:51
Joined: Mar 2007
Posts: 75
M
Metal_Man Offline OP
Junior Member
Metal_Man  Offline OP
Junior Member
M

Joined: Mar 2007
Posts: 75
Anyone have an idea? How does everyone else change levels? What Im doing is just using level_load(levelstring) to open a new level, this should work, shouldn't it?


I can be contacted at clydeshaffer@gmail.com
Re: Collisions bugging out after level_load [Re: Metal_Man] #125971
04/25/07 01:55
04/25/07 01:55
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I think the problem might be in custom scripts. The actions (shouldn't), but may still be running if the while loop doesn't check to make sure that "my != null"...


xXxGuitar511
- Programmer
Re: Collisions bugging out after level_load [Re: xXxGuitar511] #125972
04/25/07 01:57
04/25/07 01:57
Joined: Mar 2007
Posts: 75
M
Metal_Man Offline OP
Junior Member
Metal_Man  Offline OP
Junior Member
M

Joined: Mar 2007
Posts: 75
I tried that before though, and there wasnt a difference.


I can be contacted at clydeshaffer@gmail.com
Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1