Captain
Join Date: Jun 2012
Posts: 3,215
# 1 NPC triggered events
12-25-2012, 11:12 AM
Does anyone know how to get an NPC mob to trigger an event while using the patrol waypoints ? I NEED the NPC's to trigger either a dialog or object spawn when reaching either a patrol waypoint or reach marker. Or is it possible to make an NPC mob interact with an object giving me a trigger to work with ?

I can make the NPC disappear when reaching a reach marker but I need to have mission success/failure hinge on the group arriving at the reach marker/waypoint. If they could spawn something when reaching that point I could work with that, but I must use the patrol waypoint system.

Any ideas ?
KBF Lord MalaK
Awoken Dead

You're gonna upgrade my Chel Grett for FREE but charge me $30 to upgrade my Kamarag ?
Captain
Join Date: Jun 2012
Posts: 547
# 2
12-25-2012, 11:34 AM
It sounds like you are doing an escort quest. I almost want to not help you out of principle, but...

There is no way to make a mission fail and tell the players. Which is a good thing IMO because despite the challenge people will rage at you if you have a fail mechanic. I did once, big mistake.

If you didn't mind a non-fail (which could break the illusion you want) there is a way now that contacts disappear, but, it's a little choppy. However, I've not tested around with patrols enough to decide if it will work as I expect it to. Foundry Patrols are still an emerging science to us.

If you still want to hear ideas that only -may- work, and do not fulfill your fail mechanic requirement I could maybe have a possible way to make something work like this. Also, I'd hate to use this on any custom map or map with multiple levels for the path. Beyond that you could be borked. Again, could be a make or break for you.
Captain
Join Date: Jun 2012
Posts: 3,215
# 3
12-25-2012, 12:55 PM
Heh, 'out of principal' ?

Currently I have no way to fail, which defeats the entire purpose of the mission (as well as the illusion) but this mission is for me to train, and test ship builds. Let the others rage if they feel the need to.

I think I could build in an unmentioned objective using a common NPC spawn but I wanted to try tying it to the actual convoy I set up first, but I'm more curious as to how I can get an NPC's to trigger events.

I've already posted the mission for personal testing of the patrol system, but a non-failing mission isn't much of a challenge.

<edit> I just had a thought, perhaps I make a bunch more waypoints near the end of my mobs routes to effectively have them in a holding pattern until I complete the other objectives then force a conversation with the mob from one of my other principals. IF the mob no longer exists then the player cannot initiate the conversation with my patrolling mob.
>> can I converse with a freindly group on a patrol, or am I limited onto to contacts ?
KBF Lord MalaK
Awoken Dead

You're gonna upgrade my Chel Grett for FREE but charge me $30 to upgrade my Kamarag ?

Last edited by lordmalak1; 12-25-2012 at 01:54 PM.
Career Officer
Join Date: Jun 2012
Posts: 497
# 4
12-25-2012, 01:57 PM
Quote:
Originally Posted by lordmalak1 View Post
Heh, 'out of principal' ?

Currently I have no way to fail, which defeats the entire purpose of the mission (as well as the illusion) but this mission is for me to train, and test ship builds. Let the others rage if they feel the need to.

I think I could build in an unmentioned objective using a common NPC spawn but I wanted to try tying it to the actual convoy I set up first, but I'm more curious as to how I can get an NPC's to trigger events.

I've already posted the mission for personal testing of the patrol system, but a non-failing mission isn't much of a challenge.
You could make the greatest foundry mission ever and there'd be some rage about it, good for you it's not worth worrying about. It's hard to take a rating seriously under a system that allows players to pick up your mission, drop it, and rate it without playing it for even 60 seconds anyway.

Using NPCs to trigger events could be useful in a few ways. I'm looking at the patrol waypoint implementation as we speak and they have no state info of their own. I think the foundry could handle this as an additional feature of the waypoints, I suppose by making it possible to select them as a 'component reached' like many other objects. No idea how hard that would be to implement, but I think it would be a good addition to the patrol mechanic.

I agree with you that a mission that cannot be failed is not a real challenge.
I'll sell you some weapons from New Romulus. Never fired, only dropped once.
Captain
Join Date: Jun 2012
Posts: 547
# 5
12-25-2012, 03:25 PM
I was just making a joke about escort quests in video games with my principle concept. xD

Anyways, what you could do to make it look like that is just like you were catching on to; you run a patrol to a specific reach (or interact object) and give them a bunch of patrol points there so they hang around that spot or spin in circles. When that point is reached/interacted with the original patrol group is set to go invisible and the next leg spawns.

However, it relies not on the patrol but the player, mainly an illusion. And players can look at the map and just rush it quick. If the patrols explode they lose nothing. UNLESS you make those reach markers not sections of the objectives. And reaching the last point is what triggers an invisible wall barrier away from the actual objective shows up.

That way, if a patroling group gets destroyed before they reach the marker; player is lost and would need to run around to find the markers. It would in a way give you your fail mechanic and the look you are after with needing to follow a group to get to where you are going.

Just, advice from someone who once had a fail mechanic in a mission: Warn them first, and expect to turn away a few people. If you're willing for that to happen, then you should be fine.


Edit: You can only converse with Contacts, which don't patrol yet. But you can set up pop up dialogs at each reach point if you need conversation points as they go.

Last edited by designationxr377; 12-25-2012 at 03:27 PM.
Career Officer
Join Date: Jun 2012
Posts: 844
# 6
12-25-2012, 03:32 PM
Maybe I should add a failed mechanic to my missions... Can you imagine? 1 hour 30 minutes in, some insignificant NPC dies and you have to start over.

In all seriousness, maybe you could do this in a custom interior map. Have a little trap door where the NPC falls into if they get to the location way before the player. Then have a reach marker that not only despawns the NPC but closes the trap door when the player arrives.

This gives me a good idea on a map I'm working on though. Maybe I'll spawn an NPC to lead someone from the transporter room after a dialogue that says they'll lead the way. But in that case I'll probably just leave them cycling the patrol route.

We really need more control over the patrols. Like we need to be able to add "wait points" and "animate points".


Click here for my Foundry tutorial on Creating A Custom Interior Map.
Captain
Join Date: Jun 2012
Posts: 3,265
# 7
12-25-2012, 07:40 PM
Why not just have the NPC despawn and respawn at the beginning of its path so you have to start that part of the mission over?
"It's not safe out here. It's wondrous, with treasures to satiate desires both subtle and gross. But it's not for the timid."
-- Q
Captain
Join Date: Jun 2012
Posts: 3,215
# 8
12-25-2012, 09:18 PM
Quote:
Originally Posted by psycoticvulcan View Post
Why not just have the NPC despawn and respawn at the beginning of its path so you have to start that part of the mission over?
How do you do that ?
The patrol route will always be circular so there's no beginning or end. best I can do is make them disappear but even that has no consequence other than they're invisible. Even if they're destroyed before reaching their destination there's no trigger to force a mission fail, or even a notice saying they've been killed.

I'd sure like to see cryptics transport raid mission, to see how they rigged their kill counter and mission sucess / optional success dialogs.
KBF Lord MalaK
Awoken Dead

You're gonna upgrade my Chel Grett for FREE but charge me $30 to upgrade my Kamarag ?
Career Officer
Join Date: Jun 2012
Posts: 1,508
# 9
12-25-2012, 09:57 PM
Cryptic doesn't use the Foundry. They have their own tool for building missions. That's why they can do all this funky stuff that we can't

Check out my Foundry missions:
Standalone - The Great Escape - The Galaxy's Fair - Purity I: Of Denial - Return to Oblivion
The Defenders - Duritanium Man - The Improbable Bulk - [WIP] Commander Rihan
Captain
Join Date: Jun 2012
Posts: 3,215
# 10
12-26-2012, 01:04 PM
Ya, I miss the days where one could script what they wanted then feed the mess into a compiler.

This linear task progression and 'target only' NPC's are killing me.
KBF Lord MalaK
Awoken Dead

You're gonna upgrade my Chel Grett for FREE but charge me $30 to upgrade my Kamarag ?
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


All times are GMT -7. The time now is 04:47 PM.