PDA

View Full Version : Freezing



LoC_Warhead
10-04-2000, 04:02 PM
Okay, first of all, where can I get a full list of templates to base stuff off of, and second, If I wanted a player to stop when he got hit by something (just right in the middle of something, just freeze) and create a 3do at his position, how could I do the freeze part? Would I put it in the, let's say, +bryarbolt template to reference to a special cog that would do that? Also, how can you animate/add a sky map to a 3do so that it will work in-game?

dangit!!! whenever I put AmputateJoint(player, 2) into a cog, a bunch of stuff stops working.... i tried to have the torso be amputated when you die, but it just makes a bunch of stuff not work.....

[This message has been edited by LoC_Warhead (edited October 04, 2000).]

[This message has been edited by LoC_Warhead (edited October 04, 2000).]

LoC_Warhead
10-08-2000, 01:09 PM
*bump*

okay, yeah, let's ignore me. Please answer!

Hideki
10-08-2000, 03:32 PM
The whole templates can be found in the master.tpl within JED files. So have a look at the top part then you'll see all of the base ones.

To stop players, use
SetActorFlags(player, flagToStop);
Have a look in the jkspec in the flag section for what the flag is, I don't remember.

To create a 3do, use
CreateThing(template, player); (I think this was the param)

For that thing making whole bunch of other stuff not working, then there should be some syntax error or some kind making the whole cog not work. Check for syntax.

------------------
http://millennium.massassi.net/ - Millennium

LoC_Warhead
10-08-2000, 04:20 PM
Cool, thanks!

LoC_Warhead
10-08-2000, 04:47 PM
Okay, i've got everything working, except for one thing.

(oh, the amputate thing was stupid--I forgot the ; after the line http://forums.massassi.net/html/smile.gif i'm dumb)

Is there any way to set surface flags on a 3do? I thought there was, because catwalks make the metal sounds when you walk on them....

Hideki
10-09-2000, 01:43 AM
Those catwalks are surfaces in the level I suppose.

3do don't keep surface flags except for other surface flags for rendering effects.

------------------
http://millennium.massassi.net/ - Millennium