Duke4.net Forums: Hazard Actor Being Deleted due to LoTags used for Difficulty - Duke4.net Forums

Jump to content

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

Hazard Actor Being Deleted due to LoTags used for Difficulty  "My actor is being removed from the map based on LoTags"

User is offline   HELLMOUSE 

#1

Attached Image: Hazard_actor.png
I made an actor called Hazard. It simulates hazardous environments which can do damage to someone in reality. It's something that is often times overlooked in games. Some functions of the Hazard actor use LoTags and HiTags to intensify hazards such as heat, cold, toxic gases, and radiation. The only problem is LoTags make the sprite disappear from the map completely because the LoTag controls which actors remain depending on the selected difficulty level. Even with cstat 32768 it is still deleting them from the map.

I want to know how to prevent the LoTags from removing a sprite from the map. It is possible because the music plate Danukem helped me with is not effected by the LoTag value.

This post has been edited by HELLMOUSE: 10 August 2020 - 08:27 PM

0

User is online   Danukem 

  • Duke Plus Developer

#2

https://wiki.eduke32.../Eventloadactor
1

User is offline   HELLMOUSE 

#3

Thanks that solved it. :D

I had to delete the "geta[].lotag HAZARD_LEVEL" line from under the actor code after I added the "eventloadactor".

Thanks again.

Here is a simple example of the Hazard Actor code
Attached File  Hazard Actor Code.TXT (2.01K)
Number of downloads: 18

This post has been edited by HELLMOUSE: 11 August 2020 - 04:34 PM

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