Author |
Message |
wutangfan1990
Joined: Sun Apr 29, 2007 6:11 pm Posts: 543 Location: The hood
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
How the Lua works.
|
Fri Jul 24, 2009 2:33 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
It casts mo rays to latch onto things.
When it latches on, if the target matches the nearest weapon, it activates the weapon, and find a target, setting the vecloity to the difference vector at an angle of 20. The angle is set the the angle of the diff vector.
There is some deep check forcing code.
If it's not a weapon, it boosts the health of the parent, and proceeds to spawn four shotgun bullets at the speed the actor was last tick. It then follows the target in both cases.
|
Fri Jul 24, 2009 2:39 am |
|
|
wutangfan1990
Joined: Sun Apr 29, 2007 6:11 pm Posts: 543 Location: The hood
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
Mail2345, you work in mysterious ways.
|
Fri Jul 24, 2009 2:51 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
It's actually simple for lua people. I really didn't innovate, I just slapped some things I found fun to toy with together.
|
Fri Jul 24, 2009 6:37 am |
|
|
RaggedDruid
Joined: Mon Aug 13, 2007 6:36 pm Posts: 161
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
I created a tactic with the psy implant:
1. Grab an actor with gravity 2. Pump it full of psy energy until it's crushed into a tiny ball 3. Launch the gibs, often flaming and covered in shrapnel (due to grenades), at someone else
I call it the trash compactor.
|
Fri Jul 24, 2009 8:30 am |
|
|
zness
Joined: Sat Aug 25, 2007 5:50 am Posts: 319 Location: Planet Telex
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
Could someone upload this in an .rar or .zip? I don't want to download 7zip.
Edit: Nevermind.
|
Sat Jul 25, 2009 6:18 am |
|
|
zeno39
Joined: Fri May 30, 2008 9:38 pm Posts: 260 Location: Some Crack House
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
The vehicles just gave me an idea. I'm going to try and make some sort of mech that you can pilot, and if it gets destroyed there wil be a jet powered ejection pod ready to get you the hell outa there.I am most likely to fail
|
Sun Jul 26, 2009 10:08 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
I have a template in lua scripting.
Change some presets and glboals, and it should be good to go.
|
Sun Jul 26, 2009 10:30 pm |
|
|
zeno39
Joined: Fri May 30, 2008 9:38 pm Posts: 260 Location: Some Crack House
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
mail2345 wrote: I have a template in lua scripting.
Change some presets and glboals, and it should be good to go. That’s convenient that means the Lua is under control. However all I really have to worry about is the sprites and a good base to off on. Well all I can say is that I will be asking alot of questions.
|
Mon Jul 27, 2009 1:52 am |
|
|
wutangfan1990
Joined: Sun Apr 29, 2007 6:11 pm Posts: 543 Location: The hood
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
You could always just look at the pilotable actor code and change a few things in that.
|
Mon Jul 27, 2009 2:50 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
Topic icon added.
|
Wed Aug 12, 2009 5:14 am |
|
|
ZevN47
Joined: Fri Mar 13, 2009 2:31 am Posts: 217 Location: Earth... I think
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
WOW awesome I'm loving the Psy powers... I thought one up and thought it was interesting enough to voice so here it is I thought the Bullet/everything stop was awesome so why not expand on that and make it so you can Stop everything... fire a clip of bullets(that hang in the air stopped) and then send the entire swarm of bullets at them by letting go of stop!
OR...
Having it where anything entering the field of stoppification will be repelled when the stop is stopped
|
Mon Aug 17, 2009 10:22 am |
|
|
zeno39
Joined: Fri May 30, 2008 9:38 pm Posts: 260 Location: Some Crack House
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
I like the "bullets stoping in mid air and then being able to throw them/force push them back," idea ZevN just suggested.
|
Tue Aug 18, 2009 3:54 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
ZevN47 wrote: WOW awesome I'm loving the Psy powers... I thought one up and thought it was interesting enough to voice so here it is I thought the Bullet/everything stop was awesome so why not expand on that and make it so you can Stop everything... fire a clip of bullets(that hang in the air stopped) and then send the entire swarm of bullets at them by letting go of stop!
OR...
Having it where anything entering the field of stoppification will be repelled when the stop is stopped Auto repell is psystorm if you turn it down a bit. And uhh, the first really isn't that possible. You will have to track the bullet speed(laggy).
|
Tue Aug 18, 2009 5:20 am |
|
|
ZevN47
Joined: Fri Mar 13, 2009 2:31 am Posts: 217 Location: Earth... I think
|
Re: *Lua Tech Inc.* V2.31- Spike pistol fix!
mail2345 wrote: ZevN47 wrote: WOW bla bla bla...
Having it where anything entering the field of stoppification will be repelled when the stop is stopped Auto repell is psystorm if you turn it down a bit. And uhh, the first really isn't that possible. You will have to track the bullet speed(laggy). *sheds a few tears*... then goes and plays with psystorm But still awesome mod Also Completely off topic I have been looking for that giant robot you have in some of those movies (like the headhunting gun) and I CAN'T FIND IT!... where can i d/l it? or just tell me the name of the mod its in Edit: I LOVE THE HUMVEE its really buggy and kinda unstable (game crash) but its so much fun to give it 400hp and then just floor it through the flatlands or anything in your way really
|
Wed Aug 19, 2009 8:54 am |
|
|
|