Data Realms Fan Forums http://45.55.195.193/ |
|
Creating MOPixels with Lua http://45.55.195.193/viewtopic.php?f=73&t=21495 |
Page 1 of 1 |
Author: | Asklar [ Mon Feb 14, 2011 11:59 pm ] |
Post subject: | Creating MOPixels with Lua |
I'm using a laser aim module for one of my guns, so I make it create a MOPixel as the laser. The thing is, that the MOPixel as I defined it had a glow, but when it is created with the lua it doesn't have the glow. How can I insert the glow? Maybe with some lua code? |
Author: | carriontrooper [ Tue Feb 15, 2011 3:10 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
Hmmm... maybe try spawning a firing AEmitter instead? |
Author: | Asklar [ Tue Feb 15, 2011 8:51 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
Spawn an AEmitter out of an AEmitter that emits glowy pixels? Is it posible to emit AEmitters? |
Author: | dragonxp [ Tue Feb 15, 2011 8:53 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
It is possible to emit anything. |
Author: | Asklar [ Tue Feb 15, 2011 8:55 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
No way! Really? Can I make a wound emit miniature dreadnoughts? |
Author: | dragonxp [ Tue Feb 15, 2011 8:55 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
Yeah, just set the emitted particle to ACrab. |
Author: | Asklar [ Tue Feb 15, 2011 9:00 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
Cool! Now I just need a mini dreadnought. Back to the topic, I'll try that solution. |
Author: | none [ Tue Feb 15, 2011 9:31 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
If your lua spawned MOPixel doesn't glow your doing something wrong, I've never had a problem with it. |
Author: | Asklar [ Tue Feb 15, 2011 9:34 pm ] |
Post subject: | Re: Creating MOPixels with Lua |
The MOPixel is defined in an .ini with a glow. What could I possibly had done wrong? |
Author: | CaveCricket48 [ Wed Feb 16, 2011 12:13 am ] |
Post subject: | Re: Creating MOPixels with Lua |
Show your code. |
Author: | Asklar [ Wed Feb 16, 2011 12:23 am ] |
Post subject: | Re: Creating MOPixels with Lua |
The code of the MOPixel or the lua code? |
Author: | CaveCricket48 [ Wed Feb 16, 2011 12:23 am ] |
Post subject: | Re: Creating MOPixels with Lua |
Both. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |