Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

Triggers: Concept idea for DYOM


Toriality
 Share

Recommended Posts

This is just an idea that I came up.

 

Something that theorically could be implemented if DYOM wasnt abandoned. A new menu: Triggers.

 

Triggers is an entity that can store an array of different functions. Just like any other entity inside DYOM, they have an ID and will be called after the current selected objective they were created/spawned in. This would solve some wanted features like Multiple Animations and Multiple Dialogs, and with a plus, they wouldn't break the deisgn and the essence of DYOM, also not stopping the retrocompatibility of the mod.

 

This menu would appear in the main menu, below Objectives. And would have the following submenus hierarchy:

 

- Triggers

-- Add Trigger

-- Edit Trigger

-- Spawn Trigger

-- Delete Trigger

 

Note that unlike actors, vehicles and other entities, Triggers doesn't have a Hide function, because they will aways trigger after an objective and automatically hide after its tasks are completed.

 

When Add Trigger is selected, a new submenu will be displayed. This submenu will have 16 + 1 new buttons (this number can be decreased/increased depending DYOM's original code limitations). Every button will have the text "Trigger X" while X being its number. And one button with text "Ready".

 

Also, every button when selected will display another submenu with all the possible functions for a trigger. Something like that:

 

--- Trigger 1

---- None

---- Change Actor Animation

---- Add New Dialogue

 

At start, all the 16 triggers will have None as default trigger function.

 

If, for example, Change Actor Animation is selected, the user will be prompted to select the Actor (just like Cutscene > Follow Actor) and then the animation ID.

 

After that, it will return to the Add Trigger submenu, the user will them choose if he wants to add more triggers, by selecting Trigger 2 or any other trigger, or edit the Trigger 1 with another function, or press "Ready" if satisfied with the results.

 

When pressed Ready, a new Trigger entity will be created.

 

In the above example, the trigger will only change animation of one actor. But you can also change 16 actors' animations, or something like that.

 

For the dialogue function, when selected, the user will be prompted to set the duration of the dialogue (ie 6:00 seconds) and then a text that will be displayed.

 

That way, you can have, for example, a Checkpoint objective that has 16 Dialogue triggers of 4 seconds each, and each Dialogue will be triggered after 4 seconds in the same Checkpoint objective.

 

The original Checkpoint text won't be displayed. (Or maybe it will be displayed for ~200 ms since thats how long it takes for a new entity to be loaded in DYOM).

 

Add Dialogue and Change Animation are just simple functions that I came up, but there are many other possibilities with this new Trigger function (if it ever existed).

Edited by Toriality
  • Like 2
Link to comment
Share on other sites

ah, i see we discovered triggers, finally we've advanced to the bronze age, maybe next we'll discover basic mathematic functions? lets say you have two switches and a math function thing, a door opens when the math function hits "2" and when you walk over to each switch it adds "+1" to the counter, once you walk over to both, you'll have 1+1=2, doors opens!!!! :DDDDD the wonders of modern technology

  • KEKW 1
Link to comment
Share on other sites

On 11/14/2022 at 2:32 AM, Rathard said:

ah, i see we discovered triggers, finally we've advanced to the bronze age, maybe next we'll discover basic mathematic functions? lets say you have two switches and a math function thing, a door opens when the math function hits "2" and when you walk over to each switch it adds "+1" to the counter, once you walk over to both, you'll have 1+1=2, doors opens!!!! :DDDDD the wonders of modern technology

didn't want  to seem passive aggressive with this, your idea is of course great but Dyom has many  underlining problems that have been around forever, triggers and all kinds of modern features would be great but dyom barely works as it is now, dyom is great as a simple mission editor, adding more and more sh*t on top and making it super complex would just create more problems for everybody, you need to let go one day

Link to comment
Share on other sites

3 hours ago, Rathard said:

 but Dyom has many  underlining problems that have been around forever

 

Could you name a few?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.