Page 1 of 1

Machine Gun Contest

PostPosted: Sun Jan 09, 2011 5:50 pm
by TC42
A first, as far as I know... a scripted cannon/gun/machine gun contest!

The goal is to create a -scripted- gun capable of hitting the EXACT place every thyme (Pun intended; please don't ban me for it :) I couldn't resist...)

Rules
1.)Gun must be scripted in some way--this could be modifying the bullet density as soon as it leaves the barrel, or it could be spawning inf+ ammo
2.)Gun must have barrel and must use said barrel
2.5)Gun must have SOME mechanical aspect--lasers do not count as mechanical. You can still use lasers to spawn, but for it to be legal, you would have to put them on a moving trolley or something MECHANICAL.
3.)You may not use velocities in scripting-- that is far too easy!
4.) Gun must have scope, like a laser showing where it ought to shoot
5.) You must inform me of any loopholes you find and/or use
5.5)You may not use attraction to make the bullet seek the target
6.) Gun must fit in the red box in the provided scene
7.) Gun MUST be hinged to background; you may not fixate it (or glue it...) to the background or any other stationary object other than the gun itself
8.) You may NOT edit the scene provided
9.) Redundant, but you must use the target supplied and you may not move it
10.) NO cheating!

POINTS /100
Consistency--must hit the same spot every time ::score/40
Accuracy--scope must be accurate lest it become useless ::score/30
Power-- can the gun take out the tower regardless of tower density ::score/15
Complexity and Reliability--is it stone-age simple (simple is good)
or is it uber complex--complex is even better... does it work every
thyme (you had to know I had another pun coming...) ::score/15

BONUSES +50 possible points
Bonuses will only be given if regular score is greater than 65
Includes Emil, Chuck Norris or Morgan Freeman :: +5
Thyme is fully explained and/or annotated :: +10
Works in Phun 5.28 and Algodoo :: +15
Gun is already aimed at the target :: +10
Redundant, but no lasers :: +10

PENALTIES -30 possible points
Penalties will only be assigned if score is over 80
1.)Bad color scheme-- this should be the color of a weapon, not a
pretty pink pony catapult from wonderland :: -5
2.)Too much backlash (or what ever it's called)--You can't
forget Newton's 3rd law! :: -10
3.)Too much weight-- you can't escape the previous
penalty by making the gun heavier :: -15

The ending date has not been determined yet

Have phun!!

Phun version[scene]50528[/scene] Algodoo version[scene]50546[/scene]

Example [ALGODOO ONLY]
[scene]50553[/scene]
Whaaaaaat... I just noticed that my own gun is disqualified :( (It has no mechanical aspect) %&*@#!!!


EDIT: changed the title from 'Scripting Gun Contest' to 'Machine Gun Contest'; it seemed to be deterring people :(

Re: Scripted Gun Contest

PostPosted: Mon Jan 10, 2011 6:10 am
by Chronos
Scripting only = no mechanics = BAD CONTEST.

Re: Scripted Gun Contest

PostPosted: Mon Jan 10, 2011 7:25 am
by Mystery
2.5)Gun must have SOME mechanical aspect

Re: Scripted Gun Contest

PostPosted: Mon Jan 10, 2011 7:29 am
by Chronos
Mystery wrote:
2.5)Gun must have SOME mechanical aspect

Oh, I see. I'm a derp. I thought when he said his gun was disqualified for "no mechanical aspect," I thought he was breaking a "no mechanical aspect" rule. I didn't know he was saying it DIDN'T have a mechanical aspect. Sorry.

Also, mechanical aspect mechanical aspect mechanical aspect mechanical aspect mechanical aspect. Now that I've said that more times than I ever would in my life...

Re: Scripted Gun Contest

PostPosted: Mon Jan 10, 2011 7:40 am
by Someone Else
Errrmmm.... Chronos.... I think you forgot about Rule #2.5.
TC42 wrote:2.5)Gun must have SOME mechanical aspect

It's not PURELY script, but also not purely mechanical.

I know enough Thyme to understand many scripts out there, but I could not write them off the top of my head. Though, I do know a very simple way of spawning very complex geoms/assemblies. Build/import it, select it, and hit Ctrl-C. This saves it onto your clipboard. Then use Ctrl-V to paste the code into another object's onCollide or whatever.

You know, I might have to try this. Originally, I was going to ignore this contest, but now I might give it a shot.

***EDIT*** I started on this post before Mystery posted his thing.

EDIT- Here is the scene. As it says in the description, its accuracy is about as poor as it gets, but it can reach the target.
Should work in 5.28, but the sight is a laser.

Re: Scripted Gun Contest

PostPosted: Wed Jan 12, 2011 8:24 pm
by Someone Else
Rating: rated 5
Filesize: 14.99 kB
Comments: 0
Ratings: 1
download

Oops, I didn't paste the scene tag into the scene.
Sorry to double post, read the above line and I discovered that editing a post does not constitute a bump.

Haha, I might win with a really crummy entry if nobody else enters!

Re: Scripted Gun Contest

PostPosted: Thu Jan 13, 2011 12:14 am
by TC42
Someone Else wrote:
Rating: rated 5
Filesize: 14.99 kB
Comments: 0
Ratings: 1
download

Oops, I didn't paste the scene tag into the scene.
Sorry to double post, read the above line and I discovered that editing a post does not constitute a bump.

Haha, I might win with a really crummy entry if nobody else enters!


Consistancy- 20/40 Hit the spot about half the time
Accuracy- 19/30 Scope gave almost no indication of where the bullet went; but I did manage to getthe bullet within 1 meter of the target in 20 minutes; accuracy is actually pretty good considering that it's shooting a circle over 1 kilometer :)
Power-15/15 What tower? Haven't seen one in one piece since I downloaded this gun :D
Reliability and Complexity- 12/15 Simple and fires the bullet every time
Recoil- 5/15 With the modifications, the unhinged gun went straight through the plane behind it :0

Bonuses:
Works in Phun and Algodoo +15
Sans lasers, it should work fine

Penalties


74/100; 74%
Well done!

Notes:
Had to modify the collision box at the bottom of the chamber, adding heterocollide=true in the oncollide menu, and also had to change the restitution up to 1000 so it would hit the target.

Suggestions:
Change the spawner so that it is more consistent (less collision time and less overlapping distance=more consistency and better results)

Good entry, thanks for participating!

And no, you can't win until I decide a closing date or until Link gets mad at me for my bad puns :D

Re: Machine Gun Contest

PostPosted: Thu Jan 13, 2011 5:09 am
by Someone Else
Wow, I got a 74 on my first-ever scripted gun. In school, I think that's a D, but I think Algodoo uses a slightly wider scale, so this might be a C.

Wow, that was random.

When I downloaded the Algodoo version of the base scene earlier today, there was no tower. But, even at 1.5 kilometers off, it would probably be no problem.

I set the speed on that scope laser so its trajectory would be fairly similar to to the average trajectory of the bullets. If I aim the laser within ten or fifteen meters of the micro-target, the target should get a hit in a few minutes. A tower would be completely obliterated by then.

Why did you have to add heteroCollide to the collision box-Now I get it , so the cannonballs don't collide in the barrel and spaz upon leaving it. And that would also explain having to increase restitution, because the balls colliding with each other would have added some kick themselves, maybe even forcing them back into the box. And that might also explain the scope fail, these fixes may have drastically changed the power of the gun as a whole.

I got the spawner as far away from the other box as I could with the grid and still have them collide. So maybe I'll try setting it with the grid off.

I think I will try these fixes myself, and then get back to you with it. Hopefully, right before Link gets mad at you.

Re: Machine Gun Contest

PostPosted: Fri Jan 14, 2011 10:22 pm
by TC42
Someone Else wrote:Wow, I got a 74 on my first-ever scripted gun. In school, I think that's a D, but I think Algodoo uses a slightly wider scale, so this might be a C.

Wow, that was random.

When I downloaded the Algodoo version of the base scene earlier today, there was no tower. But, even at 1.5 kilometers off, it would probably be no problem.


At my school, that is a 'c' Yeah, I forgot to include the tower... I'll make another base scene. For your gun, I set the tower 20 meters away from the barrel. The gun completely obliterated anything that was under 10000g/cm3 density!

Re: Machine Gun Contest

PostPosted: Sat Jan 15, 2011 4:12 am
by Someone Else
Rating: rated 5
Filesize: 93.2 kB
Comments: 0
Ratings: 1
download

I added some fixes to my original entry.
It is now really accurate and shoots at two power levels at once. I dunno how it does that, it just does.
I was going to add Kilinich to the original scene, but I forgot, and I forgot again, and I want to know if I would have gotten bonus points anyway. If so, I will edit the scene again.

Re: Machine Gun Contest

PostPosted: Sat Jan 15, 2011 5:33 am
by TC42
Someone Else wrote:
Rating: rated 5
Filesize: 93.2 kB
Comments: 0
Ratings: 1
download

I added some fixes to my original entry.
It is now really accurate and shoots at two power levels at once. I dunno how it does that, it just does.
I was going to add Kilinich to the original scene, but I forgot, and I forgot again, and I want to know if I would have gotten bonus points anyway. If so, I will edit the scene again.


Consistency- not quite perfect, but hits the spot almost all the time ::33/40
Accuracy- The scope was not entirely accurate, but I managed to hit the target three times after minimal aiming ::25/30
Power- It seems that 1000g/cm3 is the limit for this version :: 13/15
Complexity and Reliability- Works every time, and is in the mid-range of complexity ::13/15

Bonuses
Thyme fully explained +10
Works in Phun 5.28 and Algodoo- should work sans lasers +15

Penalties
None, although the color scheme still isn't optimized

Score
109/100 109%
Well done! Good improvements; the gun works a lot better now

Suggestions
Make it fire upside down! :D
And yes, I am trying to push the use of mechanical scopes

Re: Scripted Gun Contest

PostPosted: Sat Jan 15, 2011 5:37 am
by TC42
Chronos wrote:
Mystery wrote:
2.5)Gun must have SOME mechanical aspect

Oh, I see. I'm a derp. I thought when he said his gun was disqualified for "no mechanical aspect," I thought he was breaking a "no mechanical aspect" rule. I didn't know he was saying it DIDN'T have a mechanical aspect. Sorry.

Also, mechanical aspect mechanical aspect mechanical aspect mechanical aspect mechanical aspect. Now that I've said that more times than I ever would in my life...


Nice one, ace! :D
Necessary edits have been made

Re: Machine Gun Contest

PostPosted: Tue Jan 25, 2011 8:08 pm
by Gear97
Here is my Entry!
THe only part out of the box is the scope and it weigths almost the same as missile launcher :)
Rating: rated 5
Filesize: 61.95 kB
Comments: 1
Ratings: 1
download

HAVE A NICE DAY !

Re: Machine Gun Contest

PostPosted: Wed Jan 26, 2011 1:10 am
by TC42
Gear97 wrote:Here is my Entry!
THe only part out of the box is the scope and it weigths almost the same as missile launcher :)
Rating: rated 5
Filesize: 61.95 kB
Comments: 1
Ratings: 1
download

HAVE A NICE DAY !


Points
Consistency--35/40 Overall, really good, with very few outliers
Accuracy-- 27/30 Seems to be very accurate... where did my target go? It seems to have disappeared :o
Power--15.5/15 Destroyed all under +inf density in one hit.
Reliability + complexity--11/15 Medium range complexity, works most of the time, but occasionally glitches up.

Bonuses
Thyme fully explained +10
Gun already aimed at target + 9.5
No lasers +10
Phun compadible +13 --uses springs, may be some issues there--

Penalties
Recoil >9000 -10

Score
121/100, 121%

Comments
Very good shooting mechanism! I like how the bullets are scripted. I also like the recoil absorbing mechanism, even if it didn't work for me. I love the non- laser scope-- how did you make such a perfect scope-polygon? Well done! :clap:

Re: Machine Gun Contest

PostPosted: Wed Jan 26, 2011 1:53 pm
by Gear97
Woww ! 121 % :D
At first thank you for all the compliments ;)
Well this scripting in the bullets is something that I've used in my "Geared Weapons series" to prevent the bullets from releasing their letal power inside the wepon, (if the bullets did this the whole weapon stays unuseful) and the mechanical scope is simple. Just create a large box going from the weapon to the target and make its density very low so that it won't affect the acuracy. :)
HAVE A NICE DAY !

Re: Machine Gun Contest

PostPosted: Thu Jan 27, 2011 10:33 pm
by TC42
Oh. So thats how you made the scope. I could have sworn it was a polygon :crazy:

Re: Machine Gun Contest

PostPosted: Sun Jul 10, 2011 3:00 pm
by FuzzyLogicBrain
dang, i have THE most incredible idea, but i need 1.8.5 ****
[edit] DANG it wont work!

Re: Machine Gun Contest

PostPosted: Mon Jul 11, 2011 10:06 pm
by bozbez
Dang, why did you bump this?

Re: Machine Gun Contest

PostPosted: Mon Jul 11, 2011 11:35 pm
by FuzzyLogicBrain
O_o oops! :oops:

Re: Machine Gun Contest

PostPosted: Mon Aug 06, 2012 1:06 pm
by Jiff
Check out my machine gun/turret

Re: Machine Gun Contest

PostPosted: Thu Aug 09, 2012 11:37 pm
by golodupcew
Filesize: 25.84 kB
download

it use velocities in scripting.

Re: Machine Gun Contest

PostPosted: Fri Aug 10, 2012 11:31 am
by golodupcew
Filesize: 94.39 kB
download

Re: Machine Gun Contest

PostPosted: Tue Apr 23, 2013 5:56 pm
by pricejunix
Wow very nice idea, of machine gun contest, i think i really like to join this,, cause its sounds interested to me.

Re: Machine Gun Contest

PostPosted: Tue Apr 23, 2013 6:09 pm
by Sonic
This topic is over two years old. This guy probably isn't even around anymore. Let it die.