[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

Battlefield Modding Tutorials
It is currently Tue Apr 16, 2024 9:23 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: burn soldier
PostPosted: Fri Sep 11, 2009 6:19 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
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


Top
 Profile Send private message E-mail  
 
 Post subject: Re: burn soldier
PostPosted: Fri Sep 11, 2009 9:30 pm 
Offline

Joined: Sat Aug 08, 2009 7:30 pm
Posts: 75
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

??????.

_________________
Image


Top
 Profile Send private message E-mail  
 
 Post subject: Re: burn soldier
PostPosted: Mon Sep 14, 2009 1:56 pm 
Offline

Joined: Sat Aug 08, 2009 7:30 pm
Posts: 75
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.

_________________
Image


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 62 guests


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

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group