[Modding] What triggers what?

Hi there:

  So, I was looking to make my own quests and work in the XML, but I realized something.  I was looking at Core Quest\SK_Interaction_CityBuilt_01.xml because I wanted to know how to make it spawn a quest if a Outpost was built.  But, it seems like what triggers the quest is something called "TriggerData" which is a bunch of numbers.  Can we get a list of what the different triggerdata numbers are and mean?

Thanks in advance.

26,434 views 7 replies
Reply #1 Top

Anything on this?  I know during one of the dev streams they said they would post the information on this kind of thing and nothing has been posted.  Kind of disappointing that you have a dev stream where you talk about it and then don't post what you say you will or answer questions like you said you would.  I figured I would comment after over a week with no response of any kind.

Reply #2 Top

The golden rule for playing with XML in stardock games is to repeat what they do. Actually making new use of things requires significantly more trial and error and is only possible once you've understood the initial system completely.

In other words, if there isn't already a trigger used for when outposts are created, you have to start thinking about ways of going around that. For example, maybe the outpost creates a resource and there is a trigger for when you first get a resource?

Reply #3 Top

Yes, but that doesn't help with knowing what the triggers do. I can read the XML fine and modify it, but when they do thinks like <trigger data>654</trigger data>, it is helpful to know that number stands for.

It also doesn't absolve the fact that they said they'd post documentation and haven't.

Reply #4 Top

Quoting bmorris2, reply 3

It also doesn't absolve the fact that they said they'd post documentation and haven't.

I could be wrong, but I thought they said just ask around the forums. I'd have to go back and watch again to be sure. I doubt they have any intention of posting any sort of documentation. It has always been an un-supported type of thing, with the addition that they will throw in some advice and help on occasion.

Reply #5 Top

My opinion is that the use of triggerdata in Sorcerer King implies hardcoded values (sometimes). This is something Stardock would have to fill in on, which numbers correspond with what triggers.

Reply #6 Top

They did say to ask around the forums, but I specifically asked towards the beginning if they were going to release any documentation and he said he would, because he had documentation given to those who helped write some of the quests.

 

For example, it's hard to know how to write a quest and have the sorcerer king get upset when you start throwing up multiple outposts when you don't know what the trigger is.

Reply #7 Top

Quoting bmorris2, reply 6

They did say to ask around the forums, but I specifically asked towards the beginning if they were going to release any documentation and he said he would, because he had documentation given to those who helped write some of the quests.

 

For example, it's hard to know how to write a quest and have the sorcerer king get upset when you start throwing up multiple outposts when you don't know what the trigger is.

Cool, hope you are right and they do put something up like that. Sounds like it would be VERY helpful.