Data Realms Fan Forums
http://45.55.195.193/

Lua ideas?
http://45.55.195.193/viewtopic.php?f=75&t=16078
Page 1 of 2

Author:  Kyred [ Sun Aug 02, 2009 5:15 am ]
Post subject:  Lua ideas?

Now that my contest entry has been submitted, I need some ideas for a Lua mod. Preferably, something new (or something old that hasn't been done yet). Any ideas?

Author:  Disst [ Sun Aug 02, 2009 7:18 am ]
Post subject:  Re: Lua ideas?

A flak emplacement with TriggerDelay's that change with the distance from the target would be awesome.

As in, you have a flak cannon, and you aim it at a nearby dropship, the explosive detonates near it, but if you aim it at, say, a mountain, much farther away, it detonates when it hits said mountain.

Author:  Contrary [ Sun Aug 02, 2009 7:18 am ]
Post subject:  Re: Lua ideas?

A set of background bunker tiles that disables/destroys all particles. So no bullets or anything, and maybe no jetpacks if that's possible.

Four objects that make a no guns and/or no jetpack zone.

A "spider" that checks for wall or sky BG tiles and can crawl in midair if wall.

A system or having guns that have a reload variable to it's current ammo/max ammo.

A ball that constantly rolls, kinda like clones when they tumble over (try Darlos' clones, they'll do that forever) or maybe something like what happens with Acrab torsos sometimes.

Edit: Seeing 3pok's post, how about ammo that esplodes when it reaches the point that the player's sharpaim thingy was?

Edit2: saplings that slowly grow into trees which then drop seedlings affected by a global wind variable which check the terrain and under the circumstance it hits dirt will turn into another spaling.

Author:  Kyred [ Sun Aug 02, 2009 8:06 am ]
Post subject:  Re: Lua ideas?

I've seen lots of people interested in this spidering thing. I think I'll try my hand at that. Can't be that hard.

Author:  Geti [ Sun Aug 02, 2009 9:59 am ]
Post subject:  Re: Lua ideas?

3POK_PHALE wrote:
A flak emplacement with TriggerDelay's that change with the distance from the target would be awesome.

As in, you have a flak cannon, and you aim it at a nearby dropship, the explosive detonates near it, but if you aim it at, say, a mountain, much farther away, it detonates when it hits said mountain.

have you used my Fabar? it does exactly this, on a smaller scale. i could make a quick mockup of how to do this real easily using the coalition flak cannon..

Author:  Roon3 [ Sun Aug 02, 2009 10:15 am ]
Post subject:  Re: Lua ideas?

Geti wrote:
have you used my Fabar? it does exactly this, on a smaller scale. i could make a quick mockup of how to do this real easily using the coalition flak cannon..

Darlos's rockets do it too. Just have the thing cast a ray forward and :GibThis() when the ray hits something.

Author:  CaveCricket48 [ Sun Aug 02, 2009 4:05 pm ]
Post subject:  Re: Lua ideas?

A grapling gun! :wink:
The controls would be...
(fire): Fire grapling hook/claw, which pins itself to objects.
(aim up): When hook connects with something to retract the string.
(aim down): Extends the string.
(left) and (right): Swing from side to side when hook is connected and you are in the air.
(fire): When hook is connected, press fire to release and completely retract the hook.

Author:  Roon3 [ Sun Aug 02, 2009 4:37 pm ]
Post subject:  Re: Lua ideas?

I was doing something like that before, it requires some trig to get the rotation working properly but the rest (retracting, swinging left/right) is easy.

Author:  Kyred [ Mon Aug 03, 2009 3:08 am ]
Post subject:  Re: Lua ideas?

CaveCricket48 wrote:
A grapling gun! :wink:
The controls would be...
(fire): Fire grapling hook/claw, which pins itself to objects.
(aim up): When hook connects with something to retract the string.
(aim down): Extends the string.
(left) and (right): Swing from side to side when hook is connected and you are in the air.
(fire): When hook is connected, press fire to release and completely retract the hook.
Oh yeah! Forgot I was going to work on that. I've done grappling hooks for other games, so this should be a breeze.

Author:  Geti [ Mon Aug 03, 2009 5:12 am ]
Post subject:  Re: Lua ideas?

im keen for a good looking grapple, with some elasticity preferably.

Author:  Roon3 [ Mon Aug 03, 2009 7:23 am ]
Post subject:  Re: Lua ideas?

The best you can get in Cortex Command is something worms style. I've tried making ropes with no avail.

Author:  Kyred [ Mon Aug 03, 2009 7:54 am ]
Post subject:  Re: Lua ideas?

Geti wrote:
im keen for a good looking grapple, with some elasticity preferably.
Boing...boing...boing.....
Image
Think it has a little too much bounce?

Also, multiple hooks is a bad idea. Dunno why I thought that would work...
Image

Author:  Roon3 [ Mon Aug 03, 2009 7:56 am ]
Post subject:  Re: Lua ideas?

I tried just having segments stick together with some hacky trig, then have each segment would try to rotate towards the ground when idle (To simulate some (badly done, hacky) gravity). It was very buggy, any collision would crash the game, and it would start rotating randomly at some point till the game crashed. While trying to fix it I broke the whole thing, now it starts rotating counter clockwise and CC crashes when it reaches a certain angle.

Edit, holy crap, awesome, I should try and fix my old worms grapplegun

Author:  Kyred [ Mon Aug 03, 2009 8:02 am ]
Post subject:  Re: Lua ideas?

My rope is made out of one sprite with 34 frames. Each frame is 6 pixels longer than the previous frame. With a little math, you can use Lua to control the length of the rope by increasing or decreasing the current frame for the sprite to show :twisted:

Anyway, this thing still needs some work and I need some sleep.

Author:  Roon3 [ Mon Aug 03, 2009 8:11 am ]
Post subject:  Re: Lua ideas?

That's what I was planing on doing, but I was to lazy to put the frames together.
G'night, I'll try to get mine working today.

Kyred wrote:
Also, multiple hooks is a bad idea. Dunno why I thought that would work...
Image

Three hooks don't work either:
Image
I've fixed my grapple gun too!
(I'll release mine after you release yours Kyred)

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