Game Development Community

PathCamera with Triggers?

by J0linar · in Torque 3D Beginner · 04/13/2013 (12:33 pm) · 2 replies

Hi,
am trying to get a pathCamera working with triggers onenter
along with that would there be a way to combine this with the hudlessplay gui?

There is not much script that i could show as am basiclly using one of the many snippets from
Dave Wyand latest Book and there are some example PathCamera scripts on the forums aswell.
So this question is directed at the more experienced Users.
Thx for reading.

any help
nm if its a tip or a example would be greatly appreciated

#1
04/13/2013 (2:17 pm)
kinda stupid to reply to my own thread however
i quickly came aware that by putting a HudlessPlayGui.toggle(); in my function i would exactly get what i want/ to toggle the hud
so when i play a intro/ ingame scene the player doesnt get distracted by the hud.

HudlessPlayGui.toggle();
}
else
{
// Switch back to the regular control object
%client.setControlObject(%client.prevControl);
HudlessPlayGui.toggle();
}
}

now what would be fitting - some way to block user input aslong as the camera scene plays (so far no idea how i would do that but...sure i will find somethin)

a sidenote
what we are really missing
as in a must have
is a Scene Editor for Camera events/ something along the lines of Verve
i did found a 8year old resource about a Cinematic Camera System
that holds the key to have a actual working Cinematic Editor that is somewhat similar to waht i have seen in teh Verve Promotion videos.

A Cinematic Editor for T3d is a must have/ maybe worth a look
Steering Commitee?

The old Movie Editor by pascal
www.garagegames.com/community/resources/view/5018
The resource i meant/ beware its meant for OpenGl

The thing is most of the stuff is outdated as in names/ locations and to get it working it might need someone who has some knowledge about T3D`s past.
#2
04/16/2013 (2:34 pm)
bump. :/

so far i got my PathCamera to work when i press a button
(thx to dave Wyands book)

however when i try to combine it with a trigger onEnter - no effect

what would be the best way to get it working with triggers?
it is not that am totally clueless about triggers
for example my trigger has a
onexit command that gives the hud back
simply by adding HudlessPlayGui.toggle();
the player gets its hud back when leaving the trigger.

A sidequestion is it possible to destroy/delete the trigger after the player leaves it or is there a better way todo this?