Data Realms Fan Forums
http://forums.datarealms.com/

Incredibles goo-ball gun
http://forums.datarealms.com/viewtopic.php?f=1&t=46255
Page 1 of 1

Author:  gridbull [ Mon Mar 12, 2018 12:17 am ]
Post subject:  Incredibles goo-ball gun

I'm referring to that security system from the movie Incredibles, the one that covered Mr. Incredible with sticky, expanding gooey spheres, slowly encasing and incapacitating him.
I'm wanting to make a similar weapon for my sci-fi riot police, a goop launcher of sorts that would behave very much like the one above.
Has anything like this been done before, and if not, is it even possible?
Thanks in advance.

Author:  CaveCricket48 [ Tue Mar 13, 2018 2:39 pm ]
Post subject:  Re: Incredibles goo-ball gun

A few ways you can go about this, depending on what specifically you want to accomplish.

MOPixels and MOSParticles can be instantly turned into terrain when ToSettle = true is set on them with Lua - you could form terrain to slow/encase actors.

You could also "stick" objects to the actor (Coalition grenade launcher, Dummy frag launcher) and have those objects be scripted to do something (velocity control? control input disabling?).

Hard to tell you what can be done without an exact idea on how the goo gun would be translated to CC.

Author:  gridbull [ Tue Mar 13, 2018 6:39 pm ]
Post subject:  Re: Incredibles goo-ball gun

Is it possible to have the projectiles stick to the actor and then start to increase in weight? Most likely with an animation to show them expanding.

Author:  CaveCricket48 [ Tue Mar 13, 2018 8:37 pm ]
Post subject:  Re: Incredibles goo-ball gun

Lua-based "sticky" projectiles don't actually attach to the target, they just determine their position/rotation relative to the target on "contact", and then constantly update their position/rotation to give the illusion of being stuck.

You can increase the projectile's mass after sticking, but it won't do anything to its target. You can increase the mass of the target upon "sticking" though.

Author:  gridbull [ Tue Mar 13, 2018 8:44 pm ]
Post subject:  Re: Incredibles goo-ball gun

Wow, I didn't actually realize that, thank you. I think i'll try the mass increase in he actor and see how it goes, I assume the effect is reversable as well.

Author:  CaveCricket48 [ Tue Mar 13, 2018 9:32 pm ]
Post subject:  Re: Incredibles goo-ball gun

Should be reversable, yes.

A while ago I found some strange effects occuring when trying to add/subtract mass using Lua, but I can't remember the details and don't know if those issues are still around.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/