The Dink Network

Re: Invisibility and Hardness?

January 21st 2008, 08:10 PM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
I've got this idea, you see, and I want Dink to get this spell which allows him to temporarily 'reveal' 'hidden' objects and the like. But the main thing I want to do, is to make a hidden bridge, Dink reveals with this spell. I know I can use sp_nodraw to hid the bridge, but how can I clear the hardness on the bridge for, say, 30 seconds? And after the 30 seconds the hardness will go back to what it was and the bridge will disappear.
January 21st 2008, 08:34 PM
dinkdead.gif
Put invisible sprites at each end of the bridge and do this:

//make unhard
sp_hard(&invis_thing, 1);
draw_hard_sprite(&invis_thing);
wait(time);
//make hard
sp_hard(&invis_thing, 0);
draw_hard_sprite(&invis_thing);
January 21st 2008, 08:48 PM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
Ah! Thank you! I'll try that right away!

And I have no idea why I didn't think of that.
January 21st 2008, 08:55 PM
dinkdead.gif
Just thought of a potential bug: Dink could get stuck if it becomes hard when he's standing there. You may need to include some kind of check for that.
January 27th 2008, 12:53 AM
knights.gif
I shall refrain from posting what went through my brain when I read the topic name of this thread...
January 28th 2008, 05:05 AM
sob_scorpb.gif
Hades
Peasant He/Him Australia
Remember you're unique, just like everyone else. 
No
January 30th 2008, 12:59 AM
burntree.gif
Fireball5
Peasant He/Him Australia
Let me heat that up for you... 
i wonder what BG posted...

well once i read his post i suddenly thought of an alternate meaning to the heading that you might not want to know about either... especially the 'hardness'... although being able to do it invisibly would be cool, since they wouldn't know...
January 30th 2008, 01:54 AM
sob_scorpb.gif
Hades
Peasant He/Him Australia
Remember you're unique, just like everyone else. 
Oh sorry Blackguard as usual I misinterpreted a post, I thought you said "shall I not refrain from posting" not "I shall". My mistake, apologies.
January 30th 2008, 08:02 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
A dirty mind is a joy forever