[Resource] Bubbles! (now with horizontal movement!)

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.

Re: [Resource] Bubbles! (now with horizontal movement!)

Postby Enjay » Mon Oct 13, 2008 2:37 pm

Ah, that's much better. I had tried using A_Recoil, but didn't manage to get it working as nicely as you did. They look very natural now. :)
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: [Resource] Bubbles! (now with horizontal movement!)

Postby Enjay » Mon Oct 13, 2008 5:48 pm

I'm intrigued by this bit of code:

Code: Select allExpand view
Death:
   TNT1 A 0
   Goto CheckDistance


As far as I can tell, the insect should never die anyway but, if it did somehow, wouldn't it's death state having a "goto" that sends it back to one of the states it is supposed to have when it has health cause a problem somehow? Or is it needed for something?
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: [Resource] Bubbles! (now with horizontal movement!)

Postby JonayaRiley » Mon Oct 13, 2008 6:10 pm

Enjay wrote:I'm intrigued by this bit of code:

Code: Select allExpand view
Death:
   TNT1 A 0
   Goto CheckDistance


As far as I can tell, the insect should never die anyway but, if it did somehow, wouldn't it's death state having a "goto" that sends it back to one of the states it is supposed to have when it has health cause a problem somehow? Or is it needed for something?


No, actually it's a throwback to when I was trying to make them projectiles. I'll fix it and re-upload now.

EDIT: Done, now they'll just disappear if forced into their death state with a script or something, if anyone wants to remove the insects from their map that way or something.
User avatar
JonayaRiley
I'm back, bitches!
 
Joined: 08 Aug 2008
Location: Austin, TX
Discord: Alt-Universe Wash#1091
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Resource] Bubbles! (now with horizontal movement!)

Postby Enjay » Sat Jan 10, 2009 3:53 pm

/bubbly bumpage


I thought I might as well upload this. It's a simple player class replacement that breathes out JonnyFive's bubbles when he is under water. I think it works quite well and the idea may come in handy... somehow.

If anyone fancies improving the DECORATE, please do because I am certain that it can be done more efficiently. I had to set up a counter system because the player breathing every walk cycle was too frequent but I'm pretty sure that it can be done better than this.

The MAPINFO makes it so that you never run out of air underwater so that you can test the breathing system. The fact that you will not drown is down to the MAPINFO and nothing to do with the player class.

http://www.zshare.net/download/543786712ff32d04/
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: [Resource] Bubbles! (now with horizontal movement!)

Postby Tormentor667 » Sat Jan 09, 2010 5:54 pm

Anyone willed to submit this to the Realm667?
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

Previous

Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 3 guests