Tutorial sharing room
15 posts • Page 1 of 1
Tutorial sharing room
If you want to share scripting tutorials or need to ask for certain scripts.This is the place!
LOOK AT ME>>
- Macamac
- Posts: 15
- Joined: Mon Apr 09, 2012 10:34 pm
Re: Tutorial sharing room
If any of you are beginners and are looking for the script to spawn water here is the code
this is onCollide or onHitByLaser
you MUST have advanced mode on to turn on advanced go in the settings and click advanced
you could come up with several ideas with this
this is onCollide or onHitByLaser
- Code: Select all
scene.addwater({vecs = [e.pos]})
you MUST have advanced mode on to turn on advanced go in the settings and click advanced
you could come up with several ideas with this
LOOK AT ME>>
- Macamac
- Posts: 15
- Joined: Mon Apr 09, 2012 10:34 pm
Re: Tutorial sharing room
i think you are using phun (algodoo has no advanced mode anymore)
but if you are using algodoo it is best to add a version variable of the water in the script:
This prevents the code screwing up your sph settings
but if you are using algodoo it is best to add a version variable of the water in the script:
- Code: Select all
scene.addwater({vecs = [e.pos];version:=2})
This prevents the code screwing up your sph settings
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
-
monstertje3 - Posts: 343
- Joined: Sat Sep 05, 2009 4:29 pm
- Location: N-H, NL
Re: Tutorial sharing room
P.S. Thanks for that if you hadn't given me that code I would have had to make the geometry that spawns the water not collide with water otherwise it would go crazy
LOOK AT ME>>
- Macamac
- Posts: 15
- Joined: Mon Apr 09, 2012 10:34 pm
Re: Tutorial sharing room
Nxdt wrote:no... lrn2spell. Where is that ban hammer?
- Code: Select all
Scene.addBox {
collideWater := true;
color := [0.20000000, 0.20000000, 0.20000000, 1.0000000];
onCollide := (e)=>{ban(e.other)};
attraction := 0.00000000;
controllerAcc := 11.000000;
onHitByLaser := (e)=>{};
heteroCollide := false;
immortal := false;
opaqueBorders := true;
refractiveIndex := 1.5000000;
killer := false;
text := "BAN!!";
friction := 0.50000000;
materialName := "";
restitution := 0.50000000;
drawBorder := true;
controllerInvertX := false;
controllerInvertY := false;
textFont := "Verdana";
edgeBlur := 0.00000000;
textFontSize := 105.00000;
controllerReverseXY := false;
ruler := false;
airFrictionMult := 1.0000000;
showVelocity := false;
density := 2.0000000;
textConstrained := true;
textureClamped := [false, false];
reflectiveness := 1.0000000;
textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
showMomentum := false;
textureMatrix := [1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000];
texture := "";
inertiaMultiplier := 1.0000000;
showForceArrows := false;
collideSet := 1;
colorHSVA := [0.00000000, 0.00000000, 0.20000000, 1.0000000];
materialVelocity := 0.00000000;
attractionType := 2;
textScale := 1.0604745;
entityID := 777;
zDepth := 7.0000000;
layer := 0;
geomID := 291;
pos := [1.5000000, 5.2500000];
angle := 0.00000000;
body := 523;
vel := [0.00000000, 0.00000000];
angvel := 0.00000000;
size := [3.0000000, 1.5000000]
};
Scene.addBox {
collideWater := true;
color := [0.33333334, 0.16666667, 0.00000000, 1.0000000];
onCollide := (e)=>{};
attraction := 0.00000000;
controllerAcc := 11.000000;
onHitByLaser := (e)=>{};
heteroCollide := false;
immortal := false;
opaqueBorders := true;
refractiveIndex := 1.5000000;
killer := false;
text := "";
friction := 0.50000000;
materialName := "";
restitution := 0.50000000;
drawBorder := true;
controllerInvertX := false;
controllerInvertY := false;
textFont := "Verdana";
edgeBlur := 0.00000000;
textFontSize := 32.000000;
controllerReverseXY := false;
ruler := false;
airFrictionMult := 1.0000000;
showVelocity := false;
density := 2.0000000;
textConstrained := true;
textureClamped := [false, false];
reflectiveness := 1.0000000;
textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
showMomentum := false;
textureMatrix := [1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000, 0.00000000, 0.00000000, 0.00000000, 1.0000000];
texture := "";
inertiaMultiplier := 1.0000000;
showForceArrows := false;
collideSet := 1;
colorHSVA := [30.000000, 1.0000000, 0.33333334, 1.0000000];
materialVelocity := 0.00000000;
attractionType := 2;
textScale := 0.50000000;
entityID := 774;
zDepth := 5.0000000;
layer := 0;
geomID := 288;
pos := [1.5000000, 3.0000000];
angle := 0.00000000;
body := 523;
vel := [0.00000000, 0.00000000];
angvel := 0.00000000;
size := [0.50000000, 4.0000000]
};
Scene.addFixjoint {
geom0 := 291;
geom0pos := [0.00000000, -0.50000000];
geom1 := 288;
geom1pos := [0.00000000, 1.7500000];
colorHSVA := [174.19418, 0.99624097, 0.94670844, 1.0000000];
color := [0.0035587021, 0.94670844, 0.85544586, 1.0000000];
opaqueBorders := true;
entityID := 776;
zDepth := 6.0000000;
layer := 0;
size := 0.24020454
}
Banhammer above (paste in console)
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
-
monstertje3 - Posts: 343
- Joined: Sat Sep 05, 2009 4:29 pm
- Location: N-H, NL
Re: Tutorial sharing room
What's this some geeky little hammer what are you going to do with it BONK me on the head until it looks like this look that is some funny joke
LOOK AT ME>>
- Macamac
- Posts: 15
- Joined: Mon Apr 09, 2012 10:34 pm
Re: Tutorial sharing room
lulwut? Another 8 year old with an attention disorder?
I like it how he makes the important words big and red.
I like it how he makes the important words big and red.
-
Nxdt - Posts: 1019
- Joined: Mon Aug 31, 2009 6:32 pm
- Location: Scotland!
Re: Tutorial sharing room
Hmmm, maybe I should try that too...
ATTENTION EVERYONE, YOU ALL JUST LOST THE GAME. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW.
No innuendos intended.
ATTENTION EVERYONE, YOU ALL JUST LOST THE GAME. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW. ALSO, THIS TEXT IS HUGE. I MEAN REALLY HUGE, TREMENDOUSLY ---OOOH, SHIIIINY.... AND THIS TEXT IS RED AND IS EXCEEDINGLY ANNOYING AND--LOOK IT'S A SQUIRREL! I'M NOW GOING TO SARCASTICALLY NARRATE EVERYTHING NOW. WOW, THAT LAST SENTENCE WAS REDUNDANT AND OH, BOY I'M USING BIG WORDS NOW.
No innuendos intended.
-
TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: Tutorial sharing room
I'll just calmly say that I'm no 8 year - old and ----- yes I'll stop using big red bold underlined letters, anyways I was only testing something and trying to be phunny you'll be fine if it's in my signature right
P.S. I don't have attention disorder
P.S. I don't have attention disorder
LOOK AT ME>>
- Macamac
- Posts: 15
- Joined: Mon Apr 09, 2012 10:34 pm
15 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 17 guests