PDA

View Full Version : Cogging request



Xak
06-15-2002, 08:27 AM
I need a cog that will make certain sectors act like force deadly sight is always on, so that when the player goes into them, they start to burn and that hissing sound is made. If the player goes into them with persuasion or absorb on, then the deadly sight does not effect them. Please make it for multiplayer.

[This message has been edited by Xak (edited June 15, 2002).]

[[Homer SImpson]]
06-15-2002, 09:21 PM
wouldn't it have to be done off of 00_damagesector.cog or something like that

DragonPhinn
06-16-2002, 12:20 AM
As Homer said, you could probably use the damage sector cog. You might have to edit it to get the sounds and the particles. Thats really easy.

template smoke=[smoke template]
sound hissing=[hissing wav]

declare those and then in the code where you see DamagePlayer or something along those lines just:

playsoundlocal([hissing stuff])
creatething(smoke,player)

I don't have JED or my cog writing program installed right now, which is why everything is kind of hazy. Sorry about that. I haven't written a cog in a long time.

Xak
06-16-2002, 09:09 AM
Yes these are all great suggestions, and I have thought over them already. I must be honest with you, I have absolutely no idea how to cog. I can implement them into my levels but creating them is something I'd rather not get into. About the cog in question. If this cog were to be implemented into my level, activating absorb or persuasion would not stop the damage, which is kinda the whole point of the cog...
-Xak

[This message has been edited by Xak (edited June 16, 2002).]

gbk
06-16-2002, 10:43 AM
It can be done.. I dont have the time at the moment, but later I will write the cog. It will appear just as if you are recieving force deadly sight, and protect or absorb will be able to stop it. (If I remember... http://forums.massassi.net/html/frown.gif Im getting feeble in my old age.. )

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources (http://www.tbns.net/GBK/ol/index.htm).

Lord_Grismath
06-16-2002, 12:39 PM
BUAHAHAHAAHA!

Down with the old GBK!

Down with TVTCS!

Hail the XVTC-err... nm http://forums.massassi.net/html/smile.gif

gbk
06-16-2002, 02:04 PM
Be careful Grismath . . . I might take offense at that...

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources (http://www.tbns.net/GBK/ol/index.htm).