Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Temporally "Destroying" a Walkplayer
Temporally "Destroying" a Walkplayer
2001-02-25, 9:56 AM #1
I want to change the view of a player but during that time they cannot get hurt and there body can't be seen. This has to work in multiplayer. I was thinking of setting the player to a transparent 3do, setting some flags so they can't be hurt and then transfering the camera view. Is this a good way or is there a better way to do this?
"Jedi Masters don't wear togas."
2001-02-25, 10:03 AM #2
There is a thing flag for invisibility.
2001-02-26, 2:18 PM #3
Ditto on invincible.

------------------
http://millennium.massassi.net/ - Millennium
2001-02-26, 2:56 PM #4
SetActorFlags(player,0x80); doesn't work, and yes player has been setup right. Any clues why?
"Jedi Masters don't wear togas."
2001-02-26, 3:40 PM #5
That "invisibility" is toward the AI characters, not phisycally.

Try the "Geometry flags" for the invisibility.

Invincibility should work with actor flags.

------------------
http://millennium.massassi.net/ - Millennium
2001-02-26, 5:44 PM #6
well, if you're going to make the player invisible you might as well make them "not there" as well. It would be weird running into air.

To make the person "not there" use this command:

Code:
SetCollideType(person, 0);


As for changing cameras for a certain amount of time if that's what you're after:
Code:
SetThingFlags(player, whateverflag);
SetCollideType(player, 0);
SetCurrentCamera(0);
SetCameraFocus(0, thingtolook);
SetTimer(10);

...

timer:
SetThingFlags(player, flag);
SetCollideType(player, 1);
SetCurrentCamera(0);
SetCameraFocus(0, player);


I think that's right.

------------------
Those who stare in the eyes of death and laugh will be the first to go.
Those who stare in the eyes of death and laugh will be the first to go.
2001-02-27, 9:12 AM #7
Why go to all that trouble? Why not just simply teleport the player to a separate part of the level, and then when the camera comes back, teleport him back to the original position?

Raynar

------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2001-02-27, 9:45 AM #8
I assumed this was for a mod, not to be used on a single level. If I am wrong, do what Raynar suggested.

------------------
Together we stand.
Divided we fall.
2001-02-27, 10:40 AM #9
Yea, this is for a mod, so teleporting them anywhere won't work. Thanks for the help, I'll see if this works.
"Jedi Masters don't wear togas."

↑ Up to the top!