|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 6 posts ] |
|
How to get something to move in the way of bullets?
Author |
Message |
caekdaemon
Data Realms Elite
Joined: Sun Nov 01, 2009 3:00 pm Posts: 4144 Location: Hell.
|
How to get something to move in the way of bullets?
Well, like the title says, how whould I try to get something to detect the inbound bullet, then move itself in front of the bullet before it has a chance to hit the object the defense satallite is orbiting?
You see ive got a idea to make a small satalite that connects to your character when you use the item. It then orbits your character. When a shot is fired, the satallite goes infront of the bullet to take the damage instead.
The main idea is to give units who dont have alot of armour such as clone lights or brain bots a better chance to survive, as bullets whould be stopped by the orbiting satallite, which has alot of health.
Now here are the problems, How whould I do A.Get it to orbit the Character B.Make it intercept the Inbound projectile?
Any help whould be appreciated.
|
Thu Aug 12, 2010 8:25 pm |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: How to get something to move in the way of bullets?
You'd have to run a fairly frequent check for any MOPixels in the vicinity, which is almost guaranteed to lag. Moving it is just a question of checking the velocity vector and doing some maths, and probably also a raycast to ensure that a pixel going into your area check is actually going to hit your actor.
Short answer: It's really quite complicated and is going to lag a lot if it's going to be effective at all.
|
Thu Aug 12, 2010 8:35 pm |
|
|
caekdaemon
Data Realms Elite
Joined: Sun Nov 01, 2009 3:00 pm Posts: 4144 Location: Hell.
|
Re: How to get something to move in the way of bullets?
Grif wrote: Short answer: It's really quite complicated and is going to lag a lot if it's going to be effective at all. Then I guess theres no real point in following up the idea, as you whould need more then one for it to be effective at all, to stop you from getting shot from 2 sides yet the shield can only go in the way of one of them. Or using it en masse.
|
Thu Aug 12, 2010 8:57 pm |
|
|
Contrary
Joined: Mon Mar 16, 2009 10:50 pm Posts: 2175 Location: Neverwhere
|
Re: How to get something to move in the way of bullets?
couldn't you just have an invisible object that check if something is hitting it (and where) and draw the shield or whatever at the point where the invisible forcefield is getting shot?
|
Thu Aug 12, 2010 11:39 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: How to get something to move in the way of bullets?
Or even better, don't bother with Lua at all and make the invisible object have a wound that emits a MOSParticle shield.
|
Fri Aug 13, 2010 12:00 am |
|
|
caekdaemon
Data Realms Elite
Joined: Sun Nov 01, 2009 3:00 pm Posts: 4144 Location: Hell.
|
Re: How to get something to move in the way of bullets?
But the objects not ment to be invisible, and your talking to someone with not even a dots worth of editing .ini files or the lua. The most things ive ever done was make Tartarus go from Coalition VS Dummies to Coalition VS Zombots.
|
Fri Aug 13, 2010 12:53 am |
|
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|