Browse Search Popular Register Upload Rules User list Login:
Search:
Vaidas help please

Image:
screenshot of the scene

Author: InsertNameHere

Group: Default

Filesize: 24.78 kB

Date added: 2015-09-02

Rating: 5.6

Downloads: 669

Views: 464

Comments: 10

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Well I remade my spawn engine to use your ignition tech, just I have no idea on how to script in a simple throttle and ignition,
and Vaidas, since I understand your scripting alot more, could you add in a Simple throttle, igniton, and idle into the engine for me please?

Also there is no need to increase the power, I have it right where I want it:lol:

Also on the idle, please make it Idle at 15 Rad/s or less please:tup:

Oh and, could you please make it to where when you throttle it, the thing doesn't start shaking like a vibrating toothbrush too?:lol:

(Do not copy and use this if you are not Vaidas369)

This scene runs at 100Hz.
Last edited at 2015/09/02 06:29:56 by InsertNameHere
Please log in to rate this scene
edit
Similar scenes
Title: Help me please vaidas369
Rating: 5
Filesize: 68.99 kB
Downloads: 350
Comments: 2
Ratings: 1
Date added: 2015/07/11 22:55:23
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Vaidas Help Please!
Rating: 5
Filesize: 148.02 kB
Downloads: 1216
Comments: 2
Ratings: 1
Date added: 2015/09/06 22:03:30
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Vadias Help Please
Rating: 5
Filesize: 87.91 kB
Downloads: 290
Comments: 5
Ratings: 1
Date added: 2015/10/20 11:56:28
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: better spawn engine
Rating: 5
Filesize: 55.45 kB
Downloads: 386
Comments: 0
Ratings: 1
Date added: 2016/01/23 22:56:24
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: My first spawn engine ever
Rating: 5.5
Filesize: 46.65 kB
Downloads: 966
Comments: 8
Ratings: 2
Date added: 2015/08/31 09:13:29
Made with: Algodoo v2.1.0
Rating: rated 5.5
download
Title: Acela V6 spawn engine
Rating: 5
Filesize: 360.24 kB
Downloads: 1024
Comments: 1
Ratings: 1
Date added: 2015/12/12 14:34:44
Made with: Algodoo v2.1.0
Rating: rated 5
download
>I have no idea on how to script in a simple throttle

Look at throttle in my scenes
http://www.algodoo.com/algobox/details.php?id=112774
Last edited at 2015/09/02 08:41:05 by eanayayo
I do this -

Declare two local vars in each circle with script. Call them _max and _min or something like that. Put _max at 800 or whatever density you want at full throttle and _min at like 10. Then add this script to the spawn script, in place of "density" ;

density := keys.isDown("up") ? _max : _min

That's what I use :)
@Pnvv: Sorry but, I actually have zero idea on how to do that, plus I want it to be a simple one as well, and not have a boatload of scripts:lol: Thanks though!

@eanayayo: Okay:P
@eanayayo: I don't really want a throttle like that, I mean why have a dynamic throttle when it isn't needed in my scene?:P
¯\_(ツ)_/¯
Write this on the density part of the addCircle script:

density := (keys.isDown("whatever")? 500:1)

where whatever is the key to accelerate (e.g. "w", "up", "x"), 500 is the maximum density and 1 is the minimum density
I'll also try that too @Linkage:P
@Linkage: I tried your script and it didn't work at all really, so IDK
(e)=>{
scene.addCircle({
radius := 0.095;
density := (keys.isDown("up") ? 800 : 10);
restitution := 0;
friction := 0.0;
pos := e.pos;
colorHSVA := [0.0, 1.0, 1.0, 1.0];
drawCake := false;
drawBorder := false;
edgeBlur := 0.5;
timetolive := 1;
heteroCollide := true;
collideSet := 5;
zDepth := 234
})
}
Also you shouldn't spawn big circles, just make them big enough to fit perfectly the cylinder and then use gun tech to push them down. If you use low density for idle the balls will pop out unless you use gun tech