Spawning Stuff, For Dummies
28 posts • Page 2 of 2 • 1, 2
Re: Spawning Stuff, For Dummies
Get creative with partially transparent geoms and scripted lasers with 1 maxRays?
One, spawn a laser. I dunno how.
Two, put a script in the laser something like this:
If the laser has 1 maxRays and the geom is not completely opaque (that is, the opacity slider is not all the way to the right, or color(3) is less than 1), this should work.
'Course, my code has been known to not work in the past...
One, spawn a laser. I dunno how.
Two, put a script in the laser something like this:
- Code: Select all
e.geom.controllerAcc = e.geom.controllerAcc + 1;
{e.geom.controllerAcc >= 0} ? {e.geom.density = 0} : {}
If the laser has 1 maxRays and the geom is not completely opaque (that is, the opacity slider is not all the way to the right, or color(3) is less than 1), this should work.
'Course, my code has been known to not work in the past...
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: Spawning Stuff, For Dummies
Laser spawning is scene.addLaserpen({--all aspects go here--})
-
TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: Spawning Stuff, For Dummies
Do lasers attach to a geom with a geomID?
That is, can you spawn one to an already-existing geom without Grady's New Method? (find the topic yourself, I could only find it once, it is on the Algoforum somewhere)
Or, must you specify the geomID of whatever the laser will attach to?
That is, can you spawn one to an already-existing geom without Grady's New Method? (find the topic yourself, I could only find it once, it is on the Algoforum somewhere)
Or, must you specify the geomID of whatever the laser will attach to?
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
28 posts • Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 2 guests