View unanswered posts | View active topics It is currently Thu Dec 26, 2024 6:28 pm



Reply to topic  [ 12 posts ] 
 Creating MOPixels with Lua 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Creating MOPixels with Lua
Hmmm... maybe try spawning a firing AEmitter instead?


Tue Feb 15, 2011 3:10 pm
Profile YIM WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Creating MOPixels with Lua
It is possible to emit anything.


Tue Feb 15, 2011 8:53 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Creating MOPixels with Lua
No way! Really?
Can I make a wound emit miniature dreadnoughts?


Tue Feb 15, 2011 8:55 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Creating MOPixels with Lua
Yeah, just set the emitted particle to ACrab.


Tue Feb 15, 2011 8:55 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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
Profile

Joined: Fri Dec 18, 2009 11:00 pm
Posts: 167
Reply with quote
Post 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
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Creating MOPixels with Lua
Show your code.


Wed Feb 16, 2011 12:13 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Creating MOPixels with Lua
The code of the MOPixel or the lua code?


Wed Feb 16, 2011 12:23 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Creating MOPixels with Lua
Both.


Wed Feb 16, 2011 12:23 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

Users browsing this forum: No registered users


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.490s | 13 Queries | GZIP : Off ]