Results 1 to 10 of 15

Thread: Trigger load bug

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Try triggeroff() and triggeron() in _utility.gsc at map start and report back.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. The Following User Says Thank You to IzNoGoD For This Useful Post:

    pollo (13th November 2020)

  3. #2
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    @voron00 unfortunately not working even after many team switches

    Quote Originally Posted by IzNoGoD View Post
    Try triggeroff() and triggeron() in _utility.gsc at map start and report back.
    Tried too, but they still don't seem to load :/

    I just tried to remove misc_models that could collide with the triggers, as I saw in another thread on another forum, but got the same result even after removing all of them from the map.

    Thing is, it's not like there are random triggers that are inactive on every map restart, but rather it's always the same ones; the rest work perfectly.

    Another thing: got a trig_damage (bad) and a different trig_multiple (good). Trig_damage starts working only after doing any of these actions:
    -Going "inside" it with /noclilp or positioning below it
    -Touching (triggering) the trig_multiple which is completely unrelated
    -Manually triggering by script (with trig notify("trigger", player) in a test function I called on player)

    Last edited by pollo; 13th November 2020 at 17:22.

  4. The Following User Says Thank You to pollo For This Useful Post:

    kung foo man (16th November 2020)

  5. #3
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by pollo View Post
    Thing is, it's not like there are random triggers that are inactive on every map restart, but rather it's always the same ones; the rest work perfectly.
    When you check the open .map source with a text editor and search for all lines starting with: "classname" "trigger_
    Are the triggers that don't work/inactive the last ones in the file?

    Edit: Are you using portal textures to only render the parts of the map that are visible to the player?
    If it is a limit, this might prevent the player from loading too many triggers at the same time.
    Also, it will improve FPS.

    https://wiki.zeroy.com/index.php?tit...uty_2:_Portals
    http://modsonline.com/Tutorials-read-427.html
    Last edited by Mitch; 13th November 2020 at 20:07.

  6. The Following User Says Thank You to Mitch For This Useful Post:

    kung foo man (16th November 2020)

  7. #4
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    Quote Originally Posted by Mitch View Post
    When you check the open .map source with a text editor and search for all lines starting with: "classname" "trigger_
    Are the triggers that don't work/inactive the last ones in the file?

    Edit: Are you using portal textures to only render the parts of the map that are visible to the player?
    If it is a limit, this might prevent the player from loading too many triggers at the same time.
    Also, it will improve FPS.

    https://wiki.zeroy.com/index.php?tit...uty_2:_Portals
    http://modsonline.com/Tutorials-read-427.html
    Yes I just checked and all the buggy ones are at the very end could it mean something?

    I'll see this about portalling, ty

  8. #5
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by pollo View Post
    Yes I just checked and all the buggy ones are at the very end could it mean something?
    I guess a trigger limit (all variants). After this limit you get undefined behaviour like in your video.
    At how many triggers does this behaviour start?

  9. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    kung foo man (16th November 2020),pollo (14th November 2020)

  10. #6
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    Quote Originally Posted by Mitch View Post
    I guess a trigger limit (all variants). After this limit you get undefined behaviour like in your video.
    At how many triggers does this behaviour start?
    I haven't got an exact number, but if there is, I assume is below 19 (I deleted 44; it's a bit a pain in the ass to remove trigs as I work mainly with prefabs and have to do edit them 1 by one lol). And that is weird and I believe impossible, because I'm sure that more than 19 work at the same time, as I've been testing pretty much everything everytime. The exceptions are those 3-4 rebel ones, which I also tried remaking from scratch, with same result

    Tried deleting all of the models (800+) and a huge amount of prefabs (800+), but also nothing haha. Could be maybe script_brushmodels? I have around 30, but some of them are groups of much more brushes.

    Guess I will have to rethink another workaround or idk


    Edit. brushmodels either, deleted those huge groups, same thing hahaha
    Last edited by pollo; 14th November 2020 at 00:28.

  11. The Following User Says Thank You to pollo For This Useful Post:

    kung foo man (16th November 2020)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •