Author |
Message |
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
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?
|
Mon Feb 14, 2011 11:59 pm |
|
|
carriontrooper
Joined: Mon Apr 13, 2009 12:27 pm Posts: 813 Location: Yogyakarta, Indonesia. A slice o' paradise.
|
Re: Creating MOPixels with Lua
Hmmm... maybe try spawning a firing AEmitter instead?
|
Tue Feb 15, 2011 3:10 pm |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Creating MOPixels with Lua
Spawn an AEmitter out of an AEmitter that emits glowy pixels? Is it posible to emit AEmitters?
|
Tue Feb 15, 2011 8:51 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Creating MOPixels with Lua
It is possible to emit anything.
|
Tue Feb 15, 2011 8:53 pm |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Creating MOPixels with Lua
No way! Really? Can I make a wound emit miniature dreadnoughts?
|
Tue Feb 15, 2011 8:55 pm |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Creating MOPixels with Lua
Yeah, just set the emitted particle to ACrab.
|
Tue Feb 15, 2011 8:55 pm |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Creating MOPixels with Lua
Cool! Now I just need a mini dreadnought.
Back to the topic, I'll try that solution.
|
Tue Feb 15, 2011 9:00 pm |
|
|
none
Joined: Fri Dec 18, 2009 11:00 pm Posts: 167
|
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.
|
Tue Feb 15, 2011 9:31 pm |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Creating MOPixels with Lua
The MOPixel is defined in an .ini with a glow. What could I possibly had done wrong?
|
Tue Feb 15, 2011 9:34 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: Creating MOPixels with Lua
Show your code.
|
Wed Feb 16, 2011 12:13 am |
|
|
Asklar
Data Realms Elite
Joined: Fri Jan 07, 2011 8:01 am Posts: 6211 Location: In your office, earning your salary.
|
Re: Creating MOPixels with Lua
The code of the MOPixel or the lua code?
|
Wed Feb 16, 2011 12:23 am |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: Creating MOPixels with Lua
Both.
|
Wed Feb 16, 2011 12:23 am |
|
|
|