Data Realms Fan Forums
http://45.55.195.193/

Turning actors to ashes [Request fulfilled]
http://45.55.195.193/viewtopic.php?f=75&t=25418
Page 1 of 1

Author:  Gotcha! [ Sun Sep 04, 2011 5:02 pm ]
Post subject:  Turning actors to ashes [Request fulfilled]

Heyo,

Would it be possible for an actor hit by a mopixel to turn into ashes, basically making its entire form (body and limbs) turn into gray and black pixels?
And would it somehow be possible to have the black and gray pixels collapse into a pile?

If this would somehow be easy to script, would someone mind making a lua file for me?

I doubt it'll be possible, but hey, can't hurt to ask. :)

Author:  Mehman [ Sun Sep 04, 2011 5:37 pm ]
Post subject:  Re: Turning actors to ashes

I don't think this is possible, however you can use a script that transforms athe victim of the MOPixel into a dead skeleton that then gibs into ash.

Here is a script that would do the transformation part:
It causes damage on impact and transforms the target into a skeleton once it is killed(only if the target is a AHumak, you wouldn't want a dreadnought to turn into a skeleton)


To make the skeleton gib into ash you'll have to ini it, then modify this script accordingly and attach this one to the new skeleton:

Author:  Gotcha! [ Sun Sep 04, 2011 6:02 pm ]
Post subject:  Re: Turning actors to ashes

Thanks an awful lot, I will try this out. :)

What would I add to make sure some ahumans aren't affected though? Like the giant mechs in unitec?

Author:  Mehman [ Sun Sep 04, 2011 6:11 pm ]
Post subject:  Re: Turning actors to ashes

Replace
Code:
if actor.ClassName == "AHuman" and actor.Health <= 0 then

line 18
by
Code:
if actor.ClassName == "AHuman" and actor.Health <= 0 and actor.Height < 150 then


That way actors of great size won't be skeletonized, however they will still suffer damage(that can be modifyed if you want).

Author:  Gotcha! [ Sun Sep 04, 2011 6:15 pm ]
Post subject:  Re: Turning actors to ashes

Thanks again. :grin: /happy

Author:  Azukki [ Sun Sep 04, 2011 11:09 pm ]
Post subject:  Re: Turning actors to ashes

Someone did make something that detected each pixel of an actor and replaced them with MOPixels, and deleted the actor. You could look into that, but I don't know the mod's name off the top of my head, and it's probably a far more complicated method than what mehman provided.

Author:  TheLastBanana [ Sun Sep 04, 2011 11:16 pm ]
Post subject:  Re: Turning actors to ashes

I think that was a thing Kyred made that materialized weapons. It wasn't dynamic, though, if I remember correctly - the weapon's pixel data had to be loaded in beforehand. It wouldn't work for an actor, since their parts can be at different angles.
That said, with a lot of raycasting, it may be possible to turn an actor to dust. It would take a bit of work to get it functional without a lot of lag, though.

Author:  SnowMonster20 [ Mon Sep 05, 2011 12:33 am ]
Post subject:  Re: Turning actors to ashes

The microwave weapon in the district 9 pack was the weapon that turned stuff to ash which then collapsed into a pile. I still have it and its still B25 compatible. Although you would have to get permission form the creator.

The creator was Methelina.

Author:  Azukki [ Mon Sep 05, 2011 4:46 am ]
Post subject:  Re: Turning actors to ashes

Yeah, I was talking about what snowmonster's talking about.

Author:  Gotcha! [ Mon Sep 05, 2011 9:52 am ]
Post subject:  Re: Turning actors to ashes

Thank you all. :)

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