Seriously!

Go Back   Seriously! Forums > Serious Sam Series > Serious Sam Classic > Serious Sam Classic Workshop > Serious Sam Classic SDK

Serious Sam Classic SDK Discuss coding ideas & problems or show tutorials and code snippets.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 06-16-2014, 07:10 AM   #1   Add To Ignore List  
Awww
 
SLAwww's Avatar
 
Joined: Apr 2005
Location: Kiev, Ukraine
 
SLAwww is offline Send a message via ICQ to SLAwww
Default A challenging task

An elevator (Moving Brush) goes up inside a vertical tunnel. Enemies fall from above and attack player.

When enemies start touching the elevator, it gets blocked for some reason. Such blocks last for portions of a second, thus making the elevator shake instead of going up smoothly. If the elevator moves down, the problem does not occur.

Stuff I've already tried:
  • Enable the "Very big brush" switch. Enemies and player started to fall through the elevator.
  • Disable blood and debris after enemy death, disable enemy model collision after death. Blocking occurs less often, but still occurs.
  • Parent a TouchField with "Block non-players" switch enabled to the elevator. Does not work.
  • Created a MovingFiled entity for that matter, since TouchFiled collision might've been broken because of parenting to MovingBrush. But this doesn't work either.
  • Make enemies jump on the elevator like on a Bouncer. Blocking still occurs, though less often.
  • Added a CrushKillDestroySwag9000 switch to the MovingBrush to annihilate anything that blocks it (instantly calls Destroy() on such entities, without debris or any kind of effect). Does not work.
  • Made a separate room, its walls are linked with the elevator using MirrorMarker. Also made a relative teleport entity that seamlessly puts any entity that touches the elevator into that room. For some reason, ETouch does not always get sent from enemies that fall onto the elevator, they keep standing on it producing bizarre graphic glitches through the mirror.
  • Combine the previous method with bouncing up enemies and CrushKillDestroySwag switch. The elevator still gets blocked, bouncing enemies that don't send ETouch to the elevator produce even more bizarre graphical glitch.

The task is to make an elevator go up smoothly while enemies are falling from above. Any suggestions?
  Reply With Quote
Old 06-16-2014, 02:01 PM   #2   Add To Ignore List  
ideas but no skills
 
PikaCommando's Avatar
 
Seriously! Archivist/Slave
Joined: Mar 2013
Location: In My Crawl, Crawling
 
PikaCommando is offline
Default Re: A challenging task

SERIOUS SAM ORIGINS SURPRISE HINTED
ELEVATOR ACTION CONFIRMED

PS: Try having a thin layer of invisible layer of platform above the lift as it moves? Maybe then the enemies will be land on the invisible thin layer of platform and not get stuck on the elevator brush.

Have you found what why the enemies make the elevator stop? Perhaps it has something to do with the engine's physics saying that all moving objects will be stopped when coming into contact with another moving object?

Last edited by PikaCommando; 06-16-2014 at 02:24 PM.
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:34 AM.