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: 616

Views: 396

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: Vadias Help Please
Rating: 5
Filesize: 87.91 kB
Downloads: 211
Comments: 5
Ratings: 1
Date added: 2015/10/20 11:56:28
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: i2 prototype
Rating: 5
Filesize: 32.42 kB
Downloads: 204
Comments: 1
Ratings: 1
Date added: 2015/09/18 03:29:47
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: 1958 Corvette Gasser/Pro Mod Fail
Rating: 5
Filesize: 113.46 kB
Downloads: 788
Comments: 2
Ratings: 1
Date added: 2016/11/08 19:59:51
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: 2014 Hondy TLX 2.5
Rating: 7.0833
Filesize: 205.17 kB
Downloads: 8508
Comments: 7
Ratings: 10
Date added: 2016/05/25 02:15:41
Made with: Algodoo v2.1.0
Rating: rated 7.1
download
Title: My first spawn engine ever
Rating: 5.5
Filesize: 46.65 kB
Downloads: 912
Comments: 8
Ratings: 2
Date added: 2015/08/31 09:13:29
Made with: Algodoo v2.1.0
Rating: rated 5.5
download
Title: Pimp my Car "Tiger 2 Editon"
Rating: 5
Filesize: 0.56 MB
Downloads: 1543
Comments: 0
Ratings: 1
Date added: 2015/01/23 13:57:27
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