Duke4.net Forums: Flying player - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Flying player

User is offline   Perro Seco 

#1

I'm making a level where the player is always flying. He has the jetpack on with infinite amount, and the USEJETPACK event always returns -1 to avoid him fall. Now the only problem is that the player can't activate touchplates and non-water teleports. I'm wondering if there's a way to make him activate them without walking on the sector's ground?
0

User is offline   Kawa 

#2

I was under the impression that if you angle a Touchplate sprite down, it'll trigger when you enter the sector regardless of touching the floor.
2

User is offline   Micky C 

  • Honored Donor

#3

View PostKawa, on 15 January 2017 - 03:23 PM, said:

I was under the impression that if you angle a Touchplate sprite down, it'll trigger when you enter the sector regardless of touching the floor.


You're under that impression because it's true.

I'm not too sure what can be done about the teleports from a purely mapping perspective though. However since you're obviously modifying the code, would it not be relatively simple to make your own effect which transports the player upon activation?
0

User is offline   Perro Seco 

#4

View PostKawa, on 15 January 2017 - 03:23 PM, said:

I was under the impression that if you angle a Touchplate sprite down, it'll trigger when you enter the sector regardless of touching the floor.
Thank you! I didn't know that trick. Very useful.


View PostMicky C, on 16 January 2017 - 03:54 AM, said:

Would it not be relatively simple to make your own effect which transports the player upon activation?
I know how to change player's current position and how to detect his current sector, but I don't know either how to detect if there's a SE in that sector or how to get the other SE position... :lol:
0

User is offline   TerminX 

  • el fundador

  #5

View PostPerro Seco, on 16 January 2017 - 07:17 AM, said:

I know how to change player's current position and how to detect his current sector, but I don't know either how to detect if there's a SE in that sector or how to get the other SE position... :lol:

http://wiki.eduke32..../Headspritesect
http://wiki.eduke32....tructure_access
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options