Author |
Message |
Kyred
Joined: Sun May 31, 2009 1:04 am Posts: 308
|
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?
|
Sun Aug 02, 2009 5:15 am |
|
|
Disst
Joined: Thu Feb 12, 2009 1:47 am Posts: 1182
|
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.
|
Sun Aug 02, 2009 7:18 am |
|
|
Contrary
Joined: Mon Mar 16, 2009 10:50 pm Posts: 2175 Location: Neverwhere
|
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.
|
Sun Aug 02, 2009 7:18 am |
|
|
Kyred
Joined: Sun May 31, 2009 1:04 am Posts: 308
|
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.
|
Sun Aug 02, 2009 8:06 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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..
|
Sun Aug 02, 2009 9:59 am |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
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.
|
Sun Aug 02, 2009 10:15 am |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
Re: Lua ideas?
A grapling gun! 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.
|
Sun Aug 02, 2009 4:05 pm |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
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.
|
Sun Aug 02, 2009 4:37 pm |
|
|
Kyred
Joined: Sun May 31, 2009 1:04 am Posts: 308
|
Re: Lua ideas?
CaveCricket48 wrote: A grapling gun! 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.
|
Mon Aug 03, 2009 3:08 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: Lua ideas?
im keen for a good looking grapple, with some elasticity preferably.
|
Mon Aug 03, 2009 5:12 am |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
Re: Lua ideas?
The best you can get in Cortex Command is something worms style. I've tried making ropes with no avail.
|
Mon Aug 03, 2009 7:23 am |
|
|
Kyred
Joined: Sun May 31, 2009 1:04 am Posts: 308
|
Re: Lua ideas?
Geti wrote: im keen for a good looking grapple, with some elasticity preferably. Boing... boing... boing.....Think it has a little too much bounce? Also, multiple hooks is a bad idea. Dunno why I thought that would work...
Last edited by Kyred on Mon Aug 03, 2009 8:00 am, edited 1 time in total.
|
Mon Aug 03, 2009 7:54 am |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
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
|
Mon Aug 03, 2009 7:56 am |
|
|
Kyred
Joined: Sun May 31, 2009 1:04 am Posts: 308
|
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 Anyway, this thing still needs some work and I need some sleep.
|
Mon Aug 03, 2009 8:02 am |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
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: I've fixed my grapple gun too! (I'll release mine after you release yours Kyred)
Last edited by Roon3 on Mon Aug 03, 2009 11:03 am, edited 1 time in total.
|
Mon Aug 03, 2009 8:11 am |
|
|
|