Data Realms Fan Forums
http://45.55.195.193/

Dispenser [lua]
http://45.55.195.193/viewtopic.php?f=61&t=16200
Page 1 of 2

Author:  Grif [ Thu Aug 13, 2009 7:19 am ]
Post subject:  Dispenser [lua]

Image

Put ♥♥♥♥ in top.

♥♥♥♥ comes out sides.

Have actors turn it on/off. Stand in dispenser for minimum five seconds.

Ridiculously hard to fiddle with Lua. Finally working after two days.

Will deduct gold, you cheating Anuses.

Credit to Ctrl for the original(?) dispenser mod, CaveCricket for the recent iteration that inspired this, Kyred and TLB for some help on IRC (oh my god kyred breaks breaks breaks) and of course lowestformofwit for always being willing to act as an idea wall when I'm debugging.

And anyone else I'm missing.

Attachments:
Dispensan.rte.zip [40.7 KiB]
Downloaded 724 times

Author:  Roon3 [ Thu Aug 13, 2009 7:56 am ]
Post subject:  Re: Dispenser [lua]

Very nicely done, I like this. I like how your code is divided into a bunch of functions.

Author:  mail2345 [ Thu Aug 13, 2009 8:21 am ]
Post subject:  Re: Dispenser [lua]

Awesome. Any ideas for actors? Maybe a full cloner that clones weapons too.

Author:  PhantomAGN [ Thu Aug 13, 2009 8:26 am ]
Post subject:  Re: Dispenser [lua]

This is eliciting a bit of an "omgomgomg" response on my end.
It is my dream realized.
Very, very nice.
It's also fun to toss in a negative-price rock, or a cheap grenade. Or a mine. These make fun door defenders.

[EDIT]
The particle accelerator screws it up, pulls the little progress bar off and makes the whole machine sprite slide when you have enough power. However, the gun is dispensed in the same place.
Also, the sprites eventually go solid, I am still not sure why. It might be when they are forced to move, as that seems to make sense in my head.

Author:  duo9ace [ Thu Aug 13, 2009 3:41 pm ]
Post subject:  Re: Dispenser [lua]

Wait so what does this do?

The "Crap goes in, Crap comes out" doesn't really help me understand this...

Is this similar to the Weapon Dispenser except with clones?

Author:  CaveCricket48 [ Thu Aug 13, 2009 4:32 pm ]
Post subject:  Re: Dispenser [lua]

You throw a device into the top and the dispenser churns out copies through the bottom.

Very cool, but there should be a better way to deactivate it. If you don't have an actor nearby an an enemy drops there expensive gun into the machine, your funds will start to drain untill you turn it off.

Author:  duo9ace [ Thu Aug 13, 2009 6:55 pm ]
Post subject:  Re: Dispenser [lua]

Oh so it makes infinite copies and just keeps on going?

Author:  CaveCricket48 [ Thu Aug 13, 2009 7:04 pm ]
Post subject:  Re: Dispenser [lua]

Every time it makes a gun it takes away gold.

Author:  Disst [ Thu Aug 13, 2009 7:12 pm ]
Post subject:  Re: Dispenser [lua]

Grif wrote:
Will deduct gold, you cheating ♥♥♥holes.


No ♥♥♥♥.

Author:  Sparx [ Thu Aug 13, 2009 9:27 pm ]
Post subject:  Re: Dispenser [lua]

This is cool, I like it better than CaveCrickets dispensers. Although I found a bug, but its not really your fault.
Attachment:
File comment: Coalition GL into a Dummy GL.
Cortex Command 2009-08-13 13-57-24-98.gif
Cortex Command 2009-08-13 13-57-24-98.gif [ 997.77 KiB | Viewed 12820 times ]

Author:  mbbird [ Thu Aug 13, 2009 10:51 pm ]
Post subject:  Re: Dispenser [lua]

This sucked away my money in no time. Cool concept but give it an option to toggle it on or off.

At first I thought it'd be something like put an actor in the top and it's gibs come out the side. A shredder :D.

Not exactly what I expected, later I played with 100k funds, and it just got annoying how many guns started piling up.

Author:  LowestFormOfWit [ Thu Aug 13, 2009 11:07 pm ]
Post subject:  Re: Dispenser [lua]

For the record:
-My name is the only one not capitalized!
-I told him to give it a global turn on/off.

So lol @ you Grif.

At least you released it after I passed out.

Author:  Raintail99 [ Thu Aug 13, 2009 11:14 pm ]
Post subject:  Re: Dispenser [lua]

Yeah, a key to turn it on and off would be cool, like, say, P, or maybe /. (Not sure if / is possible. Oh well.)

Author:  Grif [ Fri Aug 14, 2009 2:48 am ]
Post subject:  Re: Dispenser [lua]

Specific keybindings are something I have pledged to never do. Sorry.

I could lower the time delay for deactivating it or maybe add a specific room/module/trigger device but I can tell you right now that I will never ever add specific keybindings to anything I make.

Author:  CaveCricket48 [ Fri Aug 14, 2009 2:56 am ]
Post subject:  Re: Dispenser [lua]

Grif wrote:
I can tell you right now that I will never ever add specific keybindings to anything I make.

And I approve! I hate specific key bindings. Maybe you can make the dispenser an actor and (fire) would deactivate/activate it.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/