[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - burn soldier
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

burn soldier
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=5236
Page 2 of 2

Author:  Iced Earth [ Fri Sep 11, 2009 6:19 pm ]
Post subject:  Re: burn soldier

Init.con

rem *** placeable fire ***
ObjectTemplate.create Bundle VehicleFire
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasArmor 1
ObjectTemplate.maxhitpoints 25
ObjectTemplate.hitpoints 25
ObjectTemplate.Material 40
ObjectTemplate.addArmorEffect 25 e_KubelFire 0/0/0

rem *** placeable fire ***
ObjectTemplate.create Bundle VehicleFire
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.addArmorEffect 25 e_KubelFire 0/0/0
ObjectTemplate.addTemplate firedamage

ObjectTemplate.create SupplyDepot firedamage
ObjectTemplate.radius 1.5
ObjectTemplate.team 0
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.setHealth -1 -4.0 0


^ You are making 'VehicleFire' twice...delete the first one...so this is all you have:


rem *** placeable fire ***
ObjectTemplate.create Bundle VehicleFire
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.addArmorEffect 25 e_KubelFire 0/0/0
ObjectTemplate.addTemplate firedamage

ObjectTemplate.create SupplyDepot firedamage
ObjectTemplate.radius 1.5
ObjectTemplate.team 0
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.setHealth -1 -4.0 0

Author:  anselmus [ Fri Sep 11, 2009 9:30 pm ]
Post subject:  Re: burn soldier

OK, i did but, if I add the lines that you sent, does not appear the fire, and nothing happens.

"init.con"
rem *** placeable fire ***
ObjectTemplate.create Bundle VehicleFire
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.addArmorEffect 25 e_KubelFire 0/0/0
ObjectTemplate.addTemplate firedamage

ObjectTemplate.create SupplyDepot firedamage
ObjectTemplate.radius 1.5
ObjectTemplate.team 0
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.setHealth -1 -4.0 0


if I add the lines again with the new lines

rem *** placeable fire ***
ObjectTemplate.create Bundle VehicleFire
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasArmor 1
ObjectTemplate.maxhitpoints 25
ObjectTemplate.hitpoints 25

ObjectTemplate.addArmorEffect 25 e_KubelFire 0/0/0
ObjectTemplate.addTemplate firedamage

ObjectTemplate.create SupplyDepot firedamage
ObjectTemplate.radius 1.5
ObjectTemplate.team 0
ObjectTemplate.workOnVehicles 0
ObjectTemplate.workOnSoldiers 1
ObjectTemplate.setHealth -1 -4.0 0

..appear the fire, but nothing happens

??????.

Author:  anselmus [ Mon Sep 14, 2009 1:56 pm ]
Post subject:  Re: burn soldier

Hi, Iced Earth!

I found what was missing..this line: ObjectTemplate.hasArmor 1

Now, work nice and burn.

rem *** placeable fire ***
ObjectTemplate.create Bundle VehicleFire
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasArmor 1
ObjectTemplate.addArmorEffect 25 e_KubelFire 0/0/0
ObjectTemplate.addTemplate firedamage

ObjectTemplate.create SupplyDepot firedamage
ObjectTemplate.radius 1.5
ObjectTemplate.team 0
ObjectTemplate.setHealth -1 -4.0 0


Thank very much.

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