How to change NPC from friendly to hostile
View Single Post
Survivor of Romulus
Join Date: Jun 2012
06-22-2012, 02:23 PM
"Can't be done, but..." is a common phrase, especially for those of us who have been around the Foundry a long time. Actually I think that person might have misunderstood the question. Looks like they thought the OP was asking how he can make an npc group that starts out friendly, and on queue goes to hostile and starts shooting at you. Technically this can't be done. There's not a trigger box that says "Transition from Friendly to Enemy when X happens."
It is still possible of course, with the workarounds described. And to their credit, the poster did offer one such workaround.
The actual question, of course, was answered in the second post. Anyway, you're absolutely right, Kirkfat's tutorial does exactly what Mr. Archived Poster wants, but a few things need to be added, just in case he's never encountered them before.
Firstly, as you might see in KF's video, when the ship warps out, it doesn't actually warp
. It just goes a few kilometers and stops. That's something we cant get around, but... :wink: you can put something like a planet in its path so the player can't see it anymore. The graphical bracket and ship name may still show up though even inside/behind an object.
What I did in "Dissent I: Walking in the Air," was have a freighter warp into an asteroid, based on a reach marker, while at the same time I spawn a couple enemies right on top of the player. Once the enemies are dead a dialogue starts that leads right into the map transition. Hopefully this keeps the player occupied enough not to notice that the freighter didn't
Second, KF's technique only works with certain ships. We don't have every ship in the game available in the details menu. Using his method is limited to (off the top of my head cause i don't have it in front of me) Borg, Federation, Freighters and maybe some Klingon ships.
Hope this helps.
Check out the latest episode of The Foundry Roundtable at