[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/bbcode.php on line 112: 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 112: 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 - Deadly Medpack & Wrench..?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Mon Apr 29, 2024 10:24 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Tue Jan 27, 2009 3:29 am 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jan 27, 2009 4:00 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
What about something like this

objectTemplate.healFactor -0.25
objectTemplate.selfHealFactor 0.15


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jan 27, 2009 4:38 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Heres the medpack objects.con, nothing about healing factors or bubbles, just the magtype. Aparently, magtype 1 just creates a bubble of health for both teams.
ObjectTemplate.create HandFireArms MedPack
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.loadSoundScript Sounds/MedPack.ssc
ObjectTemplate.itemIndex 5
rem ** Magtype == 1 is healing type
ObjectTemplate.magType 1
ObjectTemplate.numOfMag 1
ObjectTemplate.magSize 1800
ObjectTemplate.GUIIndex 9
ObjectTemplate.setHudAmmoType ATIconAndHeatBar
ObjectTemplate.setAmmoIcon "Ammo/Icon_medkit_64x32.tga"
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setHasMag 0
ObjectTemplate.aitemplate MedPackAI
ObjectTemplate.soldierCameraPosition 0/-0.05/0.3

rem *** Recover time
ObjectTemplate.reloadtime 1.5
rem *** Use medpack time
ObjectTemplate.roundOfFire 10

ObjectTemplate.autoReload 0
ObjectTemplate.createSkeleton animations/MedPack.ske
ObjectTemplate.useSkeletonPartAsMain base
ObjectTemplate.addTemplate MedPackLod

rem *** Objects ***
ObjectTemplate.create SimpleObject MedPackSimple
ObjectTemplate.geometry Shad_MedPack

ObjectTemplate.create AnimatedBundle MedPackComplex
ObjectTemplate.geometry MedPack
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.createSkeleton animations/MedPack.ske

ObjectTemplate.create LodObject MedPackLod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate MedPackComplex
ObjectTemplate.addTemplate MedPackSimple

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jan 27, 2009 4:51 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jan 27, 2009 6:32 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Ah! That's for the soldier, not the medpack, which means that will affect mediclockers as well, and vehicle supply depots, so basically, wouldn't making those lethal make any sort of healing device lethal ? To all soldiers? I'm confused. I don't want my halftracks killing me....
EDIT: Never mind, I read again a little more carefully and understand now...maybe.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jan 27, 2009 6:43 pm 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
How fast a medic


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jan 27, 2009 7:32 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
Yes, Yes I said after reading it more carefully....I just skimmed the first time because I didn't assume it worked that way I assumed it was standard for all healing devices.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Jan 27, 2009 8:48 pm 
Offline
User avatar

Joined: Sat May 10, 2008 3:00 am
Posts: 1877
This:
objectTemplate.healFactor -0.25
objectTemplate.selfHealFactor 0.15
Has no effect, now the medpack does nothing. Should it not kill them at 7.5 hitpoints a second? Cause it doesn't.
EDIT: Never mind, I'm an idiot. I tried it before I uploaded it to the server. I packed it and everything and then changed the map and joined. Must be tired :roll:

_________________
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.  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 157 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