Need information about pacs_trigger.

Added by ShamanRU almost 8 years ago

I want to create a portal on Newbieland. I has create teleport_trigger in World Editor and I don't know which settings it needs.
Does anybody knows about pacs_trigger and teleport_trigger?


Replies (6)

RE: Need information about pacs_trigger. - Added by rti almost 8 years ago

You already had a look over here?
... just remembered ppl talking about it recently ...

http://dev.ryzom.com/boards/16/topics/3751

RE: Need information about pacs_trigger. - Added by ShamanRU almost 8 years ago

I already learnt how to teleport with teleport item. Now I want to create a portal like in official Ryzom.

RE: Need information about pacs_trigger. - Added by sfb almost 8 years ago

ShamanRU,

I've been slowly piecing this together. I imagine you're referring to the pacs_trigger_id property you encounter when trying to set up a building? This "pacs_trigger_id" refers to an ID of a trigger on a PACS collision object. For example if you open W:\database\Stuff\Jungle\Decors\Vegetations\ma_asc_village_d_imm1_C.max and look at the parameter rollout you'll see that the object is a PACS Box or a PACS Cylinder. In the parameter rollout you see that it has User Data 01, User Data 02 and so on. The ID it has in User Data 02 is the number that you use in the "pacs_trigger_id" field.

When build_gamedata runs it will find this file, ma_asc_village_d_imm1_C.max in this case, and export a pacs_prim file called ma_asc_village_d_imm1_C. In order to set up the collision object for your portal you will need to ensure that this pacs_prim is at your disposal and then place it in World Editor. Now we're getting to the details that I have not yet figured out. My notes are pretty limited but you can add to them if you want: Building Teleport Notes

It's important to note that as far as I can tell from digging through the GPMS code that the pacs_prim and use of the pacs_trigger_id should be unique across all of your continents.

Good luck and please share your discoveries. You're working on things a lot of people are interested in but we have no documentation on how to do.

Thank you!
sfb
/s

RE: Need information about pacs_trigger. - Added by ShamanRU almost 8 years ago

What do you mean with "place it in World Editor"?
What object I must to set up in World Editor?

RE: Need information about pacs_trigger. - Added by sfb over 7 years ago

ShamanRU,

Just an update I started working on this problem and have put together my preliminary ideas as to how this works, check the building teleports section.

Thanks,
sfb
/s

(1-6/6)