Duke4.net Forums: Sloped sprites in build engine - Duke4.net Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Sloped sprites in build engine

User is offline   RPD Guy 

#31

Nice one.

Is there any way to "copy-paste" sector's slope to sprite's slope?

    getsector[sectnum].floorslope t_floorslope
    setactor[spriteid].slope t_floorslope

0

User is offline   oasiz 

  • Dr. Effector

#32

You can use the scripts I did on the previous page to do this.
[TAB] will copy slope values to the clipboard and SHIFT + Y pastes.

Other hotkeys allow instant flattening of sprites against surfaces
0

User is offline   RPD Guy 

#33

View Postoasiz, on 19 April 2020 - 11:03 PM, said:

You can use the scripts I did on the previous page to do this.
[TAB] will copy slope values to the clipboard and SHIFT + Y pastes.

Other hotkeys allow instant flattening of sprites against surfaces


I mean, if it's possible to apply the floorslope to the flat actors while the game is running.

This post has been edited by RPD Guy: 24 April 2020 - 10:33 AM

0

User is offline   Jblade 

#34

is there some code we can use to align a sprite's angle properly to the sloped sector's first wall? I see that the M32 script can copy the slope but not the angle which still has to be done manually.
1

User is online   Fox 

  • Fraka kaka kaka kaka-kow!

#35

View PostJblade, on 08 May 2020 - 01:46 AM, said:

is there some code we can use to align a sprite's angle properly to the sloped sector's first wall? I see that the M32 script can copy the slope but not the angle which still has to be done manually.

I presume that should be automated, just like sprites places on walls, sprites placed on slopes should align to the first wall.
0

User is offline   Jblade 

#36

I'm not sure what you're saying, if that's something you want to add in or if it's already there but placing a sprite doesn't auto-align to the first wall either ingame or in build.
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • 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