#How to find specific scenetags

45 messages · Page 1 of 1 (latest)

tall oar
#

Is there a better method than brute force? I want to set everything to how it would be on a new official server account, but even if I make a new account it isn't the same (for example the thuderstorm on yashiori island, abyss over Vourukasha oasis, and cuijue slope storm clouds clouds are missing). Using the reset scenetags command also doesn't do it. The fastest method I can think of is just incrementing every scene tag then narrowing down which scene tag corresponds to what once its correct in game. That'll still take ages since some scene tags are in the hundreds by default iirc

vagrant zinc
#

SceneTagConfigData.json

tall oar
#

so I set them to whatever number is after param in mongodb?

#

a lot of things don't have parameters, just empty conditions

vagrant zinc
#

You want to manually set it in mongodb? But why

#

also conditions are what are required when they actually happen in game

tall oar
#

are scenetag commands are in lunagc

#

yet

vagrant zinc
#

it's a fork of grasscutter... so should have all grasscutter commands

tall oar
vagrant zinc
#

...?

#

You cannot brute force when there is nothing to force

#

Just add it with the command and enjoy having your scenetag added

tall oar
#

so they're either true or false? in mongodb they're integers

vagrant zinc
#

no they are not true or false either

#

what you're seeing in mongodb is quite literally just the scene tag id

#

anyways

#

use the command'

tall oar
#

Do I just have the scene tag name to go off of? most of them aren't too helpful so will I just need to add each scene 3 tag until I see the one I want?

vagrant zinc
#

That's correct. The internal name, as hoyo has labelled them, plus any conditions it has. Those are the details you have to go off of to find what you want

#

You could alternatively look through the lua and find the one that related to the scenetag you want, then you'd find the id for it in said lua

#

ie. if it's from a quest, you go to the quest lua relating to the part of the quest, look for the exec/trigger to add scene tag

#

the scenetag id will be right there in the call

tall oar
#

The barrier around stormterrors lair remains if I manually remove every scene tag, unlock all, or reset. The opposite is true for the beam of light coming out of the realm of farakhkert tree, which doesn't appear in any of those or if I unlock all and then disable the blue tree that replaces it later in the quest. Any ideas?

vagrant zinc
#

Best bet is going to be checking the quest lua for that tbh, some scenetags interfere with one another and are removed when others are added - so when using the all command it just adds all of them, regardless of that. There might be some things that don't appear to change as a result

tall oar
#

Which ones, QxxxxShareConfig.lua? those and some json files are the only things in resources that seem to relate to quests

vagrant zinc
#

Yes in those, they are named based on what quests they belong to. You can find the full quest ids in the handbook.

tall oar
#

Could you give an example of what I'm looking for (doesn't have to be real, just what the line should look like). I don't know lua but it just looks like lists of npcs and maybe a dictionary that contains them

vagrant zinc
#

you're looking for the scene tag exec

tall oar
#

oh I'm dumb I've looked at the wrong one and the right one says "scene tag" next to it in the quest ID list

tall oar
vagrant zinc
#

if the exec isn't there then you're not in the lua for a quest that has a scene tag exec in it

tall oar
#

when you say "scene tag exec" do you mean its calling a scene tag function? and then it calls that with the scene tag ID I want?

vagrant zinc
#

yup

#

you could go through questexcelconfigdata instead but it's a massive file that will take longer to search with normal means

#

for example, this is from quest excel:

"finishExec": [
          {
              "_type": "QUEST_EXEC_ADD_SCENE_TAG",
              "_param": [
                  "6",
                  "150",
                  "",
                  "",
                  ""
              ]
          },
          {
              "_type": "QUEST_EXEC_DEL_SCENE_TAG",
              "_param": [
                  "6",
                  "146",
                  "",
                  "",
                  ""
              ]
          },
#

if you're not seeing what you want then check bins

tall oar
#

thanks for all the help btw

vagrant zinc
#

Sure thing

tall oar
#
    "json_file": "73232.json",
    "subId": 7323207,
    "mainId": 73232,
    "order": 11,
    "failParent": 3034290060,
    "stepDescTextMapHash": 542892325,
    "guideTipsTextMapHash": 1973494686,
    "failCondComb": "QUEST_HIDDEN",
    "acceptCondComb": "LOGIC_NONE",
    "showGuide": "QUEST_GUIDE_ITEM_DISABLE",
    "finishCondComb": "LOGIC_NONE",
    "acceptCond": [
      {
        "type": "QUEST_COND_UNKNOWN",
        "param": [
          0,
          0
        ]
      }
    ],
    "finishCond": [],
    "failCond": [],
    "beginExec": [],
    "finishExec": [],
    "failExec": [],
    "guide": {}
  },```
#

73232xx are the last parts of the realm of farakhkert quest, which should have lots of scene tag changes. 73231xx look the same, those also should have tag changes

#

other quests do have code for scene tags but 73231 and 73232 look like this in the 4.0 and 4.6 resources