Things and tags

Are you experiencing a problem? Maybe you can't get your scripts to do what you need, or are frustrated by a feature you just can't seem to get working? Let us know about it here and we will try our best to help you out!
User avatar
Marscaleb
Posts: 87
Joined: Sat Jun 25, 2016 12:57 pm
Location: California or Utah
Gender: None specified
Contact:

Things and tags

Postby Marscaleb » Fri Oct 21, 2016 11:41 am

Is it possible to have things react to tags in a level? Using DDF (or RTS I suppose) so I could have a thing change its state according to when a switch in the level is active.

I just had a thought about this and realized that this functionality could lead to some amazing things. At the very least, I could use it to create switches that are seen as things instead of being a special wall pattern, and have them animate to an off and on position when the switch is active.
To a further extent, I could create monsters that respond to switches and change their behavior according to specific events within the map.

Is there functionality for this already? I'm looking through the wiki but for some reason I can't find the pages that detail out the options.

also, can I get things to react to the player pressing spacebar? I think I recall seeing this in an example wad, but I'm at work and can't check it at the moment.

User avatar
Coraline
Site Admin
Posts: 747
Joined: Fri Jun 08, 2012 11:22 am
Gender: Female
Contact:

Re: Things and tags

Postby Coraline » Sun Oct 23, 2016 1:42 pm

When I get home I will elaborate, but yes: you use the command RTS_ENABLED_TAG via DDF, with a condition, probably TAGGED_USE with the TAG number in your RTS script (can also work between COAL). We had animated 3D model switches in early builds of Hypertension that worked great with this method. Hypothetically, you can do anything with it. We even had spots where you could read books if you used a bookshelf, and if you had a certain inventory item (a dummy AMMO value), you could do more with them, such as learn spells or find an access code.
\(סּںסּَ` )/ۜ

User avatar
Marscaleb
Posts: 87
Joined: Sat Jun 25, 2016 12:57 pm
Location: California or Utah
Gender: None specified
Contact:

Re: Things and tags

Postby Marscaleb » Mon Oct 24, 2016 9:55 pm

That sounds awesome! I would like to read up on that.


Return to “Support and Help”

Who is online

Users browsing this forum: No registered users and 2 guests