How create new Object Trigger
Hello good! maybe someone knows the method to create a new trigger object, for example a portal for a dungeon. In other words, apart from assigning the portal through knowledge, then creating the object in SpawnObjectWorld, my question is where to assign the trigger information?
, Thanks! :D:
Re: How create new Object Trigger
Are you trying to create a new interior or room in the map?
Re: How create new Object Trigger
I created a new Dynamic Dungeon, the problem is that i need create a exit portal, but i don't know exactly where is saved the info about Trigger. I know about ts files. But i don't know exactly link to portal object
Re: How create new Object Trigger
Quote:
Originally Posted by
player1
I created a new Dynamic Dungeon, the problem is that i need create a exit portal, but i don't know exactly where is saved the info about Trigger. I know about ts files. But i don't know exactly link to portal object
Can you go over how you created a new dungeon? Did you use a tool?
Re: How create new Object Trigger
Quote:
Originally Posted by
MakotoYuki
Can you go over how you created a new dungeon? Did you use a tool?
First u need duplicate a existing world, Too spawnObjectTable,SpawnMobTable, SpawnNpcTable, now modify WorldTable adding new row doing reference the files we duplicated earlier.(Important: If the new world objective is a dynamic dungeon, is necessary assign world id > 10000.) If u need create a new Map gui you should add new row too in WorldMapTable. Now the world is done. So we need create a door for enter. In my case i used a new UD Dungeon NPC.I created a new row in DungeonTable adding the info about new dungeon.So i duplicated all info about UD Npc, assigning the new data that i used in DungeonTable.And all should be ready for playing. :thumbup:
modify the duplicate data as you prefer , and enjoy
Re: How create new Object Trigger
Quote:
Originally Posted by
player1
First u need duplicate a existing world, Too spawnObjectTable,SpawnMobTable, SpawnNpcTable, now modify WorldTable adding new row doing reference the files we duplicated earlier.(Important: If the new world objective is a dynamic dungeon, is necessary assign world id > 10000.) If u need create a new Map gui you should add new row too in WorldMapTable. Now the world is done. So we need create a door for enter. In my case i used a new UD Dungeon NPC.I created a new row in DungeonTable adding the info about new dungeon.So i duplicated all info about UD Npc, assigning the new data that i used in DungeonTable.And all should be ready for playing. :thumbup:
modify the duplicate data as you prefer , and enjoy
I see that's a pretty interesting method :D and your problem is you can't create an exit point?
Re: How create new Object Trigger
Exactly, i need link the portal inside to world 1 and his pos
Re: How create new Object Trigger
When you created this dungeon were you able to specify what NPCs were placed inside the dungeon? If you did, you could try creating an NPC that can have you exit the dungeon. That way you could use a similar logic that the NPC that takes you into the dungeon uses except you would be returning to the overworld.
Re: How create new Object Trigger
Quote:
Originally Posted by
MakotoYuki
When you created this dungeon were you able to specify what NPCs were placed inside the dungeon? If you did, you could try creating an NPC that can have you exit the dungeon. That way you could use a similar logic that the NPC that takes you into the dungeon uses except you would be returning to the overworld.
Thanks, yes it's a solution, in my case i'm most interested on create new trigger for another things like new recolectable items. So i'll check it. Thanks!
Re: How create new Object Trigger
Object trigger has a special format for describing them.
You can find them in ts/evt/CDboTSEMObject_WORLDID.evt
Figuring out the format is on you guys :)
Re: How create new Object Trigger
Quote:
Originally Posted by
SanGawku
Object trigger has a special format for describing them.
You can find them in ts/evt/CDboTSEMObject_WORLDID.evt
Figuring out the format is on you guys :)
Thanks you! I'll check it!
Re: How create new Object Trigger
You need to create a file .t in pctrigger
Re: How create new Object Trigger
Thats not enough to create portals and such. You have to add them to the event files.
Re: How create new Object Trigger
Yep i haven't created it yet because i'm doing other updates, but i think the evt file needs to be modified as well. Too i'm looking for picking a object trigger like a flower as a item without quest in progress. Thanks for the contribution!
Re: How create new Object Trigger
I made a tool to edit mine. I didn't really care to write all the handlers yet.
https://i.gyazo.com/241ae62a61863d01...714a99e21c.png
This one is specifically an obj/npc trigger, and the Trig UID is either an NPC or a T file.
If you need more help feel free to let me know. Good luck!