View unanswered posts | View active topics It is currently Mon Jul 08, 2024 4:36 pm



Reply to topic  [ 10 posts ] 
 Turning actors to ashes [Request fulfilled] 
Author Message
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post 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. :)


Last edited by Gotcha! on Wed Sep 07, 2011 5:10 pm, edited 1 time in total.



Sun Sep 04, 2011 5:02 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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:


Sun Sep 04, 2011 5:37 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post 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?


Sun Sep 04, 2011 6:02 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post 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).


Sun Sep 04, 2011 6:11 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Turning actors to ashes
Thanks again. :grin: /happy


Sun Sep 04, 2011 6:15 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post 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.


Sun Sep 04, 2011 11:09 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post 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.


Sun Sep 04, 2011 11:16 pm
Profile WWW
User avatar

Joined: Wed Jul 16, 2008 12:49 am
Posts: 226
Reply with quote
Post 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.


Mon Sep 05, 2011 12:33 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Turning actors to ashes
Yeah, I was talking about what snowmonster's talking about.


Mon Sep 05, 2011 4:46 am
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Turning actors to ashes
Thank you all. :)


Mon Sep 05, 2011 9:52 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.065s | 14 Queries | GZIP : Off ]