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

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

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

Postby JonnyFive » Thu Oct 09, 2008 10:13 am

EDIT 10/13/08: Horizontally moving bubbles are now in.

Since Enjay requested this over in the CAH project thread, I figured I'd give it a quick go and see what I could do.

Anyhow, this is pretty simple. The included .pk3 has two demo maps (map01 is the GZDoom OpenGL one, map02 is for regular ZDoom or GZDoom in software mode) to show you how things work. Basically, there are two new things to spawn bubbles underwater:

28000 - spawns bubbles that travel up
28001 - spawns bubbles that travel down

Each thing takes four parameters: spawn frequency (0-100), base radius, minimum vertical speed, maximum vertical speed.

For the best results, I'd suggest keeping the base radius under 32 units, and the vertical speed fairly low (like 1-5). The spawn frequency is basically the % chance that each of the three bubble types will spawn every 2 tics, so 50-75 gives you a pretty good stream of bubbles. The spawner things are unaffected by gravity and can be activated and deactivated using ACS or line specials.

The bubbles themselves will travel upwards and jig around randomly a bit. They will pop if they hit the surface of the water, and they also split randomly as they travel.

Anyway, it's pretty simple and should be easy to adapt. Anyone who wants to use this, modify it, or whatever is free to do so. I ask that you give me some credit, but that's it.
Attachments
j5bubbleFX_v2.pk3
Updated 10/13/08
(6.23 KiB) Downloaded 75 times
j5bubbleFX.pk3
(5.99 KiB) Downloaded 74 times
Last edited by JonnyFive on Mon Oct 13, 2008 8:24 am, edited 2 times in total.
User avatar
JonnyFive
I will now leave for no raisin!
 
Joined: 08 Aug 2008
Location: New York

Re: [Resource] Bubbles!

Postby Enjay » Thu Oct 09, 2008 11:26 am

Nice bubbles. :)

That's pretty much exactly what I had in mind. Perhaps some of them wander sideways a bit too much. Physics would probably tend to make them rise fairly vertically in water (currents etc aside). Sometimes they tend to move more like soapy bubbles in air than air bubbles under water. Never the less, it's certainly cool and gives me something to work with. Thank you very much. :)
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!

Postby JonnyFive » Thu Oct 09, 2008 11:31 am

Enjay wrote:Nice bubbles. :)

That's pretty much exactly what I had in mind. Perhaps some of them wander sideways a bit too much. Physics would probably tend to make them rise fairly vertically in water (currents etc aside). Sometimes they tend to move more like soapy bubbles in air than air bubbles under water. Never the less, it's certainly cool and gives me something to work with. Thank you very much. :)


Sure, glad you like it.

I like I might modify it a bit to get them to wander less, as I noticed the same thing.
User avatar
JonnyFive
I will now leave for no raisin!
 
Joined: 08 Aug 2008
Location: New York

Re: [Resource] Bubbles!

Postby Project Dark Fox » Thu Oct 09, 2008 11:36 am

That's actually very cool, JonnyFive. :)
User avatar
Project Dark Fox
Married Furry Anxiety Bucket
 
Joined: 14 Jul 2005
Location: Louisville, KY USA
Twitch ID: ProjectDarkFox

Re: [Resource] Bubbles!

Postby JonnyFive » Thu Oct 09, 2008 12:54 pm

Well, I was able to make the bubbles behave a bit more realistically. It's kind of weird due to the way ThrustThing works, but they now move back and forth realistically without tending to drift over to one side. Also, I added a min speed parameter and made the max speed the fourth parameter so you can create a bubble stream that won't have random slow bubbles drifting out with the fast ones.

Enjay, you might want to try the updated version, I think it might be more in line with what you're looking for.

Project Dark Fox wrote:That's actually very cool, JonnyFive. :)


Thank you very much.
User avatar
JonnyFive
I will now leave for no raisin!
 
Joined: 08 Aug 2008
Location: New York

Re: [Resource] Bubbles! (now with better jigging!)

Postby Unknown_Assassin » Thu Oct 09, 2008 1:53 pm

Any other interesting effects you might make? :)
User avatar
Unknown_Assassin
Bow down to the Protoss Race!!
 
Joined: 12 Apr 2006
Location: Where dead carcasses lie

Re: [Resource] Bubbles! (now with better jigging!)

Postby JonnyFive » Thu Oct 09, 2008 2:43 pm

Unknown_Assassin wrote:Any other interesting effects you might make? :)


Any requests? I'm still working on the fireFX thing, but I want to wait to release until I can do up some convincing explosion graphics and clean up the DECORATE a bit. I need to do them for CAH anyway, so it'll happen eventually.
User avatar
JonnyFive
I will now leave for no raisin!
 
Joined: 08 Aug 2008
Location: New York

Re: [Resource] Bubbles! (now with better jigging!)

Postby Unknown_Assassin » Thu Oct 09, 2008 3:47 pm

JonnyFive wrote:
Unknown_Assassin wrote:Any other interesting effects you might make? :)


Any requests? I'm still working on the fireFX thing, but I want to wait to release until I can do up some convincing explosion graphics and clean up the DECORATE a bit. I need to do them for CAH anyway, so it'll happen eventually.


I don't have one in mind. I was only curious if you have any other effects that you are going to make besides the FireFX.
User avatar
Unknown_Assassin
Bow down to the Protoss Race!!
 
Joined: 12 Apr 2006
Location: Where dead carcasses lie

Re: [Resource] Bubbles! (now with better jigging!)

Postby Enjay » Thu Oct 09, 2008 4:33 pm

JonnyFive wrote:Enjay, you might want to try the updated version, I think it might be more in line with what you're looking for.

Now that's just about perfect. Excellent job. Exactly the kind of thing I was thinking of. Thank you very much.

JonnyFive wrote:Any requests?

Well, I just mentioned over at Tormentor's "critters" thread that it might be nice to have an object that you could place to create a small insect swarm. You know the way that clouds of mosquitoes (etc) seem to swarm and swirl over a single spot on the ground, or over a bit of water, or maybe around a lamp? Thant kind of thing might be a nice place-able decoration to enhance a swamp-like level or something. I know that projectiles that can circle an actor are certainly possible with DECORATE but I've never really done much to figure out exactly how that works.
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 better jigging!)

Postby Caligari87 » Thu Oct 09, 2008 4:35 pm

RE: The fire resourse: For explosion graphics, are you leaning more toward firey, Hollywood style explosions, or more realistic ones?

E.G. http://www.youtube.com/watch?v=2uXeC39ut_8
http://www.youtube.com/watch?v=dOJftaT_a04
http://www.youtube.com/watch?v=adBm7U9-8OM
http://www.youtube.com/watch?v=sCMXUP2Rm18

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: [Resource] Bubbles! (now with better jigging!)

Postby JonnyFive » Thu Oct 09, 2008 11:41 pm

Caligari_87 wrote:RE: The fire resourse: For explosion graphics, are you leaning more toward firey, Hollywood style explosions, or more realistic ones?


I was leaning more towards the firey kind, but having a couple more realistic ones in the resource certainly wouldn't hurt at all.
User avatar
JonnyFive
I will now leave for no raisin!
 
Joined: 08 Aug 2008
Location: New York

Re: [Resource] Bubbles! (now with better jigging!)

Postby Enjay » Sun Oct 12, 2008 1:46 pm

Any thoughts on the bug cloud? I've tried, and failed, to make something convincing. If you know the Thief games, I was trying to make something like the little swarming clouds of Mosquitoes in that game - I'm even found the graphics for it in the game files. However, my DECORATE skills are letting me down. I can't even manage to get a bug actor to circle a central spawning actor. :?
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 better jigging!)

Postby Ceeb » Sun Oct 12, 2008 2:55 pm

I'd like to use these in my mod. :)
User avatar
Ceeb
Official Idoit Of ZDoom
Banned User
 
Joined: 11 Jun 2008
Location: Castle Wut

Re: [Resource] Bubbles! (now with better jigging!)

Postby JonnyFive » Sun Oct 12, 2008 6:28 pm

Ceeb wrote:I'd like to use these in my mod. :)


Go ahead, you just credit me somewhere in your text and you can do whatever you want with it. :)

@Enjay: I've been thinking a bit about it and might know a decent-ish way to do it (at least to have the bugs swarm around a central area, if not exactly "circle" it), but I haven't tried anything yet. I'll play around with it a little tonight.
User avatar
JonnyFive
I will now leave for no raisin!
 
Joined: 08 Aug 2008
Location: New York

Re: [Resource] Bubbles! (now with better jigging!)

Postby Ceeb » Sun Oct 12, 2008 8:32 pm

Woo, kickass. These are great for my lab levels. I have a suggestion, by the way. You should try and make a bubble spawner that shoots bubbles sideways, which then drift up. For vertical cracks.
User avatar
Ceeb
Official Idoit Of ZDoom
Banned User
 
Joined: 11 Jun 2008
Location: Castle Wut

Next

Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 2 guests