Battlefield Modding Tutorials BFMODS
http://battlefieldmodding.com/ssm/phpBB3/

Walkers takes no damage when falling?/
http://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=22&t=4267
Page 1 of 1

Author:  AwesomeATrain [ Sat Aug 09, 2008 7:44 pm ]
Post subject:  Walkers takes no damage when falling?/

Alright, here's my situation. I have a walker that flies and walkers super fast, like crazy fast, only problem is, the faster the walker walks, the larger steps he takes and thus the more damage it takes when he's going faster. Now, the major obstacle I'm trying to over come is the fact that my walkers will explode if they go too fast or land. I tried changing all the materials of the walker to 22 but it has no effect - I can just run into buildings at full speed now without blowing up or taking damage but it does nothing for landing.

How can I get the walkers to take no damage from falling?

Oh by the way, this is all done server side.

Author:  [TKO]Twist [ Sun Aug 10, 2008 10:54 am ]
Post subject:  Re: Walkers takes no damage when falling?/

Speedmod, that's how in works in '42 & Vietnam

Author:  AwesomeATrain [ Sun Aug 10, 2008 3:36 pm ]
Post subject:  Re: Walkers takes no damage when falling?/

I don't understand what that is. Can you elaborate?

Author:  [TKO]Twist [ Sun Aug 10, 2008 3:45 pm ]
Post subject:  Re: Walkers takes no damage when falling?/

SpeedMod Property

Usage:
ObjectTemplate.SpeedMod number

Argument values:
argument 1: range is 0.05 to 3; most commonly 2

Description: This property modifies the amount of damage due to a collision. Setting this value lower means the vehicle will take less damage from collisions. In general, tanks tend to use a value of 0.75, while some (but not all) lighter vehicles and planes use 2.

See the Damage Tutorial for more information.

Related properties: AddArmorEffect, CriticalDamage, ExplosionDamage, ExplosionForceMod, HasArmor, HasCollisionPhysics, HasResponsePhysics, Hitpoints, HpLostWhileCriticalDamage, HpLostWhileUpSideDown, Material

Used in object types (and how often in each type): PlayerControlObject (30%)

Used in a total of 94 .con files: Commonsoldierdata.inc, Objects.con

Parent directories of these .con files: objects/Vehicles, objects/Soldiers, Bf1942/Levels

Author:  AwesomeATrain [ Sun Aug 10, 2008 9:53 pm ]
Post subject:  Re: Walkers takes no damage when falling?/

I can't find anything like that in 2142/bf2

Author:  Losnar [ Sun Aug 10, 2008 10:46 pm ]
Post subject:  Re: Walkers takes no damage when falling?/

AwesomeATrain wrote:
I can't find anything like that in 2142/bf2


Post all the code you can find for the walker and I'll have a look.

Author:  AwesomeATrain [ Tue Aug 12, 2008 12:31 am ]
Post subject:  Re: Walkers takes no damage when falling?/

i figured it out. Walkers have their own material called something like veh_Mech_Falling or something and I changed that material. Thanks anyway guys!

Author:  [TKO]Twist [ Tue Aug 12, 2008 8:49 am ]
Post subject:  Re: Walkers takes no damage when falling?/

Weird future we got there in 2142...

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/