Page 1 of 1

How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 12:11 pm
by wishihadaname
Its always a bit lackluster when this huge walker steps on you and nothing happens, is there a way to make it so that the ATST's legs have the same collision values as the speederbikes nose? I've looked up their odfs but I don't know which lines affect collision, has anyone done this before and if so how?

And another quick question, is there a way to make only the player immune to headshots? I've been testing out conquest mode and the biggest buzzkill is getting one shotted by corellian militia, its fun when you play as them, but sucks if your imperial. Their rifles aren't meant to be that good but I don't want to nerf their accuracy or damage. I know the droideka is immune to headshots, is there a way to have the lua apply that same property only to the player when he spawns?

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 12:19 pm
by THEWULFMAN
@Walker quashing people:

It can't be done.

@Immune to headshots:

The model would need to have a new skeleton, without the bone_head. That, in theory, would allow there to be no headshots. You could have a different bone name, as long as it is not hone_head. This would require new animations.

Long story short: It's possible, but not worth the trouble.

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 3:10 pm
by Darth_Spiderpig
THEWULFMAN wrote:@Walker quashing people:

It can't be done.
Isn't the AT-AT able to kill units by "walking at them", or was that BF1?

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 3:12 pm
by THEWULFMAN
Darth_Spiderpig wrote:
THEWULFMAN wrote:@Walker quashing people:

It can't be done.
Isn't the AT-AT able to kill units by "walking at them", or was that BF1?

Pretty sure it's BF1 only.

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 3:27 pm
by Dakota
THEWULFMAN wrote:
Darth_Spiderpig wrote:
THEWULFMAN wrote:@Walker quashing people:

It can't be done.
Isn't the AT-AT able to kill units by "walking at them", or was that BF1?

Pretty sure it's BF1 only.
its swbf2 also i know from experience :cpu:

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 3:32 pm
by Darth_Spiderpig
:lol:

Well then, check the AT-AT odf out then.

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 6:55 pm
by yuke5
Darth_Spiderpig wrote::lol:

Well then, check the AT-AT odf out then.
quoted for truth.

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 7:42 pm
by Dakota
maybe changing the collision scale/threshold (i'm testing now).

also for pushing units i added in an extra seat on the republic hover tank that has an invisable emitterord fireing gun that fires from the turret but is invisable has a range of about 5 and is like force push (i added 50 damage to it) i set the angle to 180 so it hits all thats infront. the only problem is that the weapon is on auto fire and will knock you back when its not moving (i tried jumping in it... wow reminds me of that mean atat...)

Re: How do I make vehicles better at ramming units?

Posted: Fri Aug 19, 2011 9:51 pm
by Noobasaurus
It also happens with the AT-AT.

Re: How do I make vehicles better at ramming units?

Posted: Sat Aug 20, 2011 11:10 am
by wishihadaname
The only line I could find in the ATAT odf that is different from other files is this
LegRayHitLength = "16"
Adding it to the ATST however did not seem to do anything. How did that collision threshold experiment go?

Re: How do I make vehicles better at ramming units?

Posted: Sat Aug 20, 2011 11:54 am
by Dakota
wishihadaname wrote:The only line I could find in the ATAT odf that is different from other files is this
LegRayHitLength = "16"
Adding it to the ATST however did not seem to do anything. How did that collision threshold experiment go?
with the collision scale and threshold on the rep hover tank on 0 it wouldn't push into things, just bounce off sometimes or do nothing. when i raised it then it would push other hover tanks some.

also try chaning the legrayhitlength length 16 it the leg length of the atat i think so find the leg length of the atst.

Re: How do I make vehicles better at ramming units?

Posted: Sat Aug 20, 2011 2:24 pm
by sim-al2
I've gotten killed several times by an AT-AT, but you would have to get stuck in-between the collisions proxies which seems to be random in occurrence (I see more friendlies killed from somewhere along the right side than even standing under the feet.) :shock: As to running people over, it seems that there are no properties to affect that, only speed and the shape of the collision box (the AAT is good, probably better than anything else in the stock game due to it possessing both of those characteristics.) Having a small jump, just enough to be coming down at a angle and sort of landing on top of them is the most effective you can get.
Dakota wrote:
with the collision scale and threshold on the rep hover tank on 0 it wouldn't push into things, just bounce off sometimes or do nothing. when i raised it then it would push other hover tanks some.
Collision scale and the collision numbers are solely for hitting stuff and not units as you've noticed. Off-topic a bit, but by reducing the scales to 0 and adding a powerful jump, you get a really fun tank to drive. :D

Re: How do I make vehicles better at ramming units?

Posted: Sat Aug 20, 2011 3:04 pm
by Dakota
sim-al2 wrote:I've gotten killed several times by an AT-AT, but you would have to get stuck in-between the collisions proxies which seems to be random in occurrence (I see more friendlies killed from somewhere along the right side than even standing under the feet.) :shock: As to running people over, it seems that there are no properties to affect that, only speed and the shape of the collision box (the AAT is good, probably better than anything else in the stock game due to it possessing both of those characteristics.) Having a small jump, just enough to be coming down at a angle and sort of landing on top of them is the most effective you can get.
Dakota wrote:
with the collision scale and threshold on the rep hover tank on 0 it wouldn't push into things, just bounce off sometimes or do nothing. when i raised it then it would push other hover tanks some.
Collision scale and the collision numbers are solely for hitting stuff and not units as you've noticed. Off-topic a bit, but by reducing the scales to 0 and adding a powerful jump, you get a really fun tank to drive. :D
@the offtopic part: i set a tank to 0 gravity scale dispensed it at a strength of 10, got in it before it got away and then flew up and off the map a few miles then i started spinning like crazy.

Re: How do I make vehicles better at ramming units?

Posted: Sat Aug 20, 2011 4:50 pm
by Fiodis
sim-al2 wrote:(the AAT is good, probably better than anything else in the stock game due to it possessing both of those characteristics.)
I've found the Republic/Imperial hovertank very good for this if you catch them with the sharp edge between the two leading "spikes", for lack of a better term.

Re: How do I make vehicles better at ramming units?

Posted: Mon Aug 22, 2011 10:35 am
by DarthD.U.C.K.
i think the "rammability" of vehicles is controlled mainly through the collision rather than odf-lines. i guess for walkers its the terraincollisoon of the feet and for hovers the pure collisionmodel.

Re: How do I make vehicles better at ramming units?

Posted: Mon Aug 22, 2011 5:12 pm
by CressAlbane
When the player spawns maybe you could use the collisionheadoffset found in the Super battle droid odf via setproperty? Just an idea.

Re: How do I make vehicles better at ramming units?

Posted: Mon Aug 22, 2011 5:14 pm
by DarthD.U.C.K.
?! collisionheadoffset determinates where the headcolision is for headshotdetection as far as i know.

Re: How do I make vehicles better at ramming units?

Posted: Wed Aug 24, 2011 6:55 pm
by CressAlbane
iwishihadaname wrote:And another quick question, is there a way to make only the player immune to headshots?
iwishihadaname wrote:I know the droideka is immune to headshots, is there a way to have the lua apply that same property only to the player when he spawns
EDIT: quote names

Re: How do I make vehicles better at ramming units?

Posted: Wed Aug 24, 2011 9:27 pm
by Dakota
CressAlbane wrote:
And another quick question, is there a way to make only the player immune to headshots?
I know the droideka is immune to headshots, is there a way to have the lua apply that same property only to the player when he spawns
the driodeka is a cross of vehecal and unit, i think thats why you can't headshot it.

was that a question or just quotes?

Re: How do I make vehicles better at ramming units?

Posted: Wed Aug 24, 2011 10:16 pm
by wishihadaname
nice one! Didn't even think about the sbd. I can set the headshot point to be in the middle of the model so that headshots are impossible. I know I would use class properties for this, but doesn't anyone know how to make a class property that only applies to the player?