Page 1 of 3
Selfdestructing vehicles - Freecam - Bomb damage
Posted: Wed Jan 30, 2013 8:05 pm
by Scoop M
All SSM
Vanilla BF1942
# 1 - Is it possible to make a vehicle selfdestruct after x amount of time, even if it’s occupied by a player ? It could be instant destruction or damage over time.
Example : I’d like the M10 to always start selfdestruct five minutes after it has spawned. Even if it has a player in it.
# 2 – Freecam ..... The default speed is one, is it possible to make it faster ? And what about :
game.freeCameraBaseSpeed
game.freeCameraSlowSpeed
game.freeCameraFastSpeed
can that be implemented too ?
# 3 – I’d like maps such as Battle of Britain and Coral Sea to last longer. I’ve heard that it isn’t possible to increase hitpoints for factories, radar stations and carriers, etc. Are there other solutions ? I’ve read that bomb damage against those can me reduced instead. Can somebody explain how ?
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Wed Jan 30, 2013 9:19 pm
by fo0k
game.freecamerabasespeed 1 will give you default speed. changing the 1 value higher or lower will change the speed
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Wed Jan 30, 2013 9:56 pm
by Scoop M
Where in the RFA files is game.freeCameraBaseSpeed located ?
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Thu Jan 31, 2013 2:10 am
by freddy
Code: Select all
game.freeCameraBaseSpeed 20
game.freeCameraSlowSpeed 0.0001
game.freeCameraFastSpeed 50
Apache Thunder wrote:For those who can't find the freecam files in the vanilla files you can find them in the Objects\MOVE_FILES\ folder under "FreeCamera".
Code: Select all
ObjectTemplate.Active DiveBomberBomb
ObjectTemplate.minDamage 0.85
ObjectTemplate.distToStartLoseDamage 1
ObjectTemplate.distToMinDamage 2
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Thu Jan 31, 2013 1:31 pm
by Pigauchiu
#1 - ObjectTemplate.criticalDamage (max hp of any vehicle + 1) makes the vehicle always start self-destroy.
ObjectTemplate.hpLostWhileCriticalDamage manipulates the speed of losing hp. Its unit is per second. Do the math yourself for desired time.
#3 - for longer BoB, consider spawning factories and radar stations. They are normal PCOs which use normal spawners.
for coral sea, how about 2 carriers for each side?
http://bfmods.com/viewtopic.php?f=43&t=1271
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Sun Feb 10, 2013 12:50 am
by Scoop M
# 1 Is it possible to delay the auto-sefldestruct, so that the vehicle takes no damage in the beginning, and then after x amount of time starts taking damage, or instantly blows up ?
# 2 The default key for freecam speed x 10 is [left control]. Is it possible to to reassign this key to another ?
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Sun Feb 10, 2013 5:54 pm
by Swaffy
Scoop M wrote:Is it possible to delay the auto-sefldestruct, so that the vehicle takes no damage in the beginning, and then after x amount of time starts taking damage, or instantly blows up?
Spawners do this for vehicles, but the vehicle has to be unoccupied.
Scoop M wrote:The default key for freecam speed x 10 is [left control]. Is it possible to to reassign this key to another ?
You would have to change it in the menu. But I doubt you can do it in the way you're asking.
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Fri Feb 15, 2013 11:19 pm
by freddy
there is
http://www.battlefieldsingleplayer.info ... recid=3973
but i dont know if its any good for vehicles or how to apply it
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Fri Feb 15, 2013 11:26 pm
by Scoop M
If that code can be set to work, it could be perfect if it could be linked with a timer in some way.
What I'm looking for, is a mechanism that after x amount of time starts dealing damage to a vehicle or just instantly destroys it.
Example : M10 that behaves normally, then after 5 minutes suddenly starts taking damage or instantly destroys.
Re: Selfdestructing vehicles - Freecam - Bomb damage
Posted: Fri Feb 15, 2013 11:37 pm
by freddy
lol code
Code: Select all
ObjectTemplate.fireDelay
ObjectTemplate.autoFire 1
objectTemplate.disableWhenFired
objectTemplate.destroyVehicleWhenNoAmmo
objectTemplate.startUnloaded
edit: 1 more
edit2