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 → Respawn where you died
Respawn where you died
2000-11-20, 6:42 AM #1
Ok, I need yet more help. I have NO IDEA how I would go about doing this. Lets say when you die, you would respawn and get up exactly where you died. I've heard about someone trying this and did it a while back, but I guess its not up in the Massassi cog section, so could someone help me with this. Also, I'll make sure not to have any pits in my level....would suck to be stuck down there.

Wait, for another separate level of mine, could someone make a similar cog to this. Where when you respawn where you died, could they turn into like a flying, pass through-able, invisible thingy? Like a ghost or something.

For the first cog I just need them to respawn where they died, but for the second they respawn and stay out of the way, practically all they can do is go around and watch...thanks, I'm trying to get this Mod going....

------------------
THE _-=MaTRiX=-_

-Unfortunately, no one can be told what the Matrix is...-
In my mind I can see your face, as Your love pours down in a shower of grace. Some people tell me that Your just a dream, but my faith is the evidence of things unseen.

Once upon a time God spoke to me, and then I was never the same again.

_-=MaTRiX=-_
2000-11-20, 11:06 AM #2
For respawn when you die, in the symbols section of kyle.cog, add this:
Code:
template g=ghost
int dummy

then in the killed message:
Code:
dummy=CreateThing(g, player);

and in the respawn message:
Code:
SetThingPos(player, dummy);


[This message has been edited by lordvader (edited November 23, 2000).]
Capitalization
Commas
Periods
Question Marks
Apostrophes
Confusable Words
Plague Words
2000-11-20, 12:42 PM #3
In the Kyle.cog? Ok, I'll try it thanks [http://forums.massassi.net/html/biggrin.gif]

------------------
THE _-=MaTRiX=-_

-Unfortunately, no one can be told what the Matrix is...-
In my mind I can see your face, as Your love pours down in a shower of grace. Some people tell me that Your just a dream, but my faith is the evidence of things unseen.

Once upon a time God spoke to me, and then I was never the same again.

_-=MaTRiX=-_
2000-11-20, 12:49 PM #4
Ok, I see you messed up in the first section with the code and the brackets, But I deciphered it, my problem is finding the respawn message....I see newplayer, startup, but no respawn....where should I put it?

[This message has been edited by JFA_Matrix (edited November 21, 2000).]
In my mind I can see your face, as Your love pours down in a shower of grace. Some people tell me that Your just a dream, but my faith is the evidence of things unseen.

Once upon a time God spoke to me, and then I was never the same again.

_-=MaTRiX=-_
2000-11-22, 8:35 AM #5
Lordvader, ya there? Thanks for the coding and all but I dont think there is a Respawn message in kyle.cog, where should I put that last line of code you gave me? You know that

SetThingPos(player, dummy);

part you gave me and told me to put in the respawn message....where does it go? Anyone else please take a look at this and help me out, cuz I'm starting to think I'm going crazy because I feel like I'm the only one that cant find it, though I'm pretty sure its not there. Although I dunno, MikeC wants to smack me cuz I asked in the Main Editing Forum if the JED ver. 0.94 was better than my 0.87.....

Just please help with this cog [http://forums.massassi.net/html/confused.gif]
In my mind I can see your face, as Your love pours down in a shower of grace. Some people tell me that Your just a dream, but my faith is the evidence of things unseen.

Once upon a time God spoke to me, and then I was never the same again.

_-=MaTRiX=-_
2000-11-23, 4:53 AM #6
because there is no respawn message, you have to add one. In symbols, put:
Code:
message respawn

Then at the way bottom of the cog, before end, put:
Code:
respawn:
SetThingPos(player, dummy);
Capitalization
Commas
Periods
Question Marks
Apostrophes
Confusable Words
Plague Words
2000-11-24, 7:53 AM #7
Ah, heh, ok....didnt know that i had to add another message. Um, what do you want me to put in the credits for ya?

Cogging Work: lordvader - schnarf283@usa.net

Is that good or you want me to put something else?
In my mind I can see your face, as Your love pours down in a shower of grace. Some people tell me that Your just a dream, but my faith is the evidence of things unseen.

Once upon a time God spoke to me, and then I was never the same again.

_-=MaTRiX=-_
2000-11-24, 12:34 PM #8
Yeah, that's fine.
Capitalization
Commas
Periods
Question Marks
Apostrophes
Confusable Words
Plague Words

↑ Up to the top!