Author |
Message |
Cadwaller
Joined: Wed Jun 03, 2009 1:12 am Posts: 93
|
interesting idea... is it feasible?
Hi, I'm thinking of making a medusa-ish mod that will use lua to slowly turn the opponent into stone or sand (I don't care if doing so kills them or not, I just want it to change the material they're made of). I'm almost sure this is possible and I know what most of the code would probably be (so don't tell me the whole thing, I need to learn how to do lua) but how would I specify particles on an enemies body and change their material untill all of them are converted into that material?
(and if this idea sounds really crazy or stupid or impossible, pardon my ignorance of programming)
Thanks, Cadwaller
|
Thu Aug 06, 2009 4:26 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: interesting idea... is it feasible?
Not sure if atomgroups are read only.
|
Thu Aug 06, 2009 4:41 am |
|
|
Disst
Joined: Thu Feb 12, 2009 1:47 am Posts: 1182
|
Re: interesting idea... is it feasible?
I think witty did something similar with the atomizer, but it was a gun. I suppose you could do something like it with radius. Not sure about the looking.
|
Thu Aug 06, 2009 5:24 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: interesting idea... is it feasible?
Atomitizer just use flashwhite.
And MO.Material is read only.
|
Thu Aug 06, 2009 5:44 am |
|
|
ProjektTHOR
Banned
Joined: Tue Feb 27, 2007 4:05 pm Posts: 2527
|
Re: interesting idea... is it feasible?
Just to clarify, that means its not feasible.
|
Thu Aug 06, 2009 1:46 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: interesting idea... is it feasible?
Until it's not read only, but nobody knows how long that will be.
|
Thu Aug 06, 2009 1:59 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: interesting idea... is it feasible?
*if it's ever not read only
There's no real reason for data to make it possible to dynamically change an object's material settings.
|
Thu Aug 06, 2009 2:25 pm |
|
|
Cadwaller
Joined: Wed Jun 03, 2009 1:12 am Posts: 93
|
Re: interesting idea... is it feasible?
Would it be possible to make several actors, each with a different stage of the stone "transformation" and cause the lua to periodically replace the previous actor with the next model, making it seem as if the actor were turning into stone? (ie. first actor: normal, 2nd actor, normal but with one limb stone instead of flesh, 3rd actor, normal but with 2 stone limbs, etc.)
|
Thu Aug 06, 2009 6:31 pm |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
Re: interesting idea... is it feasible?
Yes, you could do that, however, you would have to make a version of that actor for each actor in the game. By that I mean a dummy, a dummy with one limb made of stone, etc. then a light soldier, a light soldier with one limb etc. then a Dafred with one limb made of stone... You could see how that would get tiring, as well as making it incompatible with anything aside from vanilla content.
|
Thu Aug 06, 2009 6:57 pm |
|
|
Cadwaller
Joined: Wed Jun 03, 2009 1:12 am Posts: 93
|
Re: interesting idea... is it feasible?
yeah... I thought of that after I wrote it oh well, hopefully I'll be able to do it next build, thanks for the help everyone Cadwaller
|
Thu Aug 06, 2009 7:49 pm |
|
|
ProjektTHOR
Banned
Joined: Tue Feb 27, 2007 4:05 pm Posts: 2527
|
Re: interesting idea... is it feasible?
You don't need to sign your posts. We already know you wrote it. This isn't USPS.
|
Fri Aug 07, 2009 12:46 am |
|
|
Cadwaller
Joined: Wed Jun 03, 2009 1:12 am Posts: 93
|
Re: interesting idea... is it feasible?
I know, I only do it when I am thanking people because I want the reply to seem more genuine.
|
Fri Aug 07, 2009 5:06 am |
|
|
|