[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/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/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/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 - Changing the name on a Spawner

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 11:12 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 81 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next
Author Message
PostPosted: Tue Oct 14, 2008 4:51 pm 
Offline

Joined: Sun Dec 09, 2007 4:31 pm
Posts: 54

_________________
Better the pride that resides in a citizen of the world
Than the pride that divides when a colorfull rag is unfurled

Neil Peart - Rush


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 14, 2008 6:34 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
There is a thread on this forum about spawning ripped out PCO's, I didn't find it in search.
Problem with spawning PCO's was that they didn't have hitpoints.
Therefor it was indestructable.
Now however M2A3 has hitpoints as shown below.

A rule is not a rule if it doesn't have an exception.

rem *** M2A3 ***
ObjectTemplate.create PlayerControlObject M2A3
ObjectTemplate.setNetworkableInfo M2A3_BodyInfo
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
objectTemplate.cullRadiusScale 5
ObjectTemplate.drag 2
ObjectTemplate.mass 25000
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 52
ObjectTemplate.criticalDamage 12
ObjectTemplate.explosionForceMod 5
ObjectTemplate.explosionRadius 5
ObjectTemplate.explosionDamage 2
ObjectTemplate.hpLostWhileCriticalDamage 0.5
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 5
ObjectTemplate.addArmorEffect 50 e_PanzDamage 0/0.5/-1.4
ObjectTemplate.addArmorEffect 50 e_warning_tank1 0/1.45/-.3
ObjectTemplate.addArmorEffect 25 e_warning_tank1 0/1.45/-.3
ObjectTemplate.addArmorEffect 25 e_PanzDamage 0/0.5/-1.4
rem ObjectTemplate.addArmorEffect 12 e_PanzFire 0/0.5/-1.4
ObjectTemplate.addArmorEffect 12 e_PanzFire 0/1.2/-1.4
ObjectTemplate.addArmorEffect 12 e_warning_tank2 0/1.45/-.3
ObjectTemplate.addArmorEffect 12 e_PanzDamage 0/0.5/-1.4
ObjectTemplate.addArmorEffect 0 e_ExplGas_tank 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect 0 e_ExFumeFact 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0

ObjectTemplate.damageFromWater 0
ObjectTemplate.speedMod 1
ObjectTemplate.submarineData 0 0 0 100 110 1 5
ObjectTemplate.timetoliveafterdeath 60
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.aiTemplate M2A3
rem -------------------------------------
ObjectTemplate.addTemplate lodM2A3
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -2.2/0/0 0/0/0
ObjectTemplate.GUIIndex 99
ObjectTemplate.setVehicleIcon "Vehicle/Icon_M2A3.tga"
ObjectTemplate.setVehicleIconPos 73/66
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_Rocket.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setHasTurretIcon 1
ObjectTemplate.setCrossHairType CHTCrossHair
ObjectTemplate.setVehicleCategory VCLand
ObjectTemplate.setVehicleType VTAPC
ObjectTemplate.setToolTipType TTAPC
ObjectTemplate.hasRestrictedExit 1
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_m2a3_16x16.tga"

-----------------------------------------------------------------------

rem *** M2A3Wreck ***
ObjectTemplate.create Bundle M2A3Wreck
ObjectTemplate.geometry Wreck_M2A3_m1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.addTemplate e_ExFumeFact
ObjectTemplate.startoneffects 1
ObjectTemplate.setPosition 0/1.3/-2

Oh my, no hitpoints on wreck.
Where is the hitpoint on wreck?
I think the wreck is an effect more then a spawnable object.
Why don't Megalo explain it for you.
Kit's you can spawn and they don't have hitpoints.

------------------------------------------------------------------------

BTW
Your suggestion...

What your avatar is...

But I thought Hamster sounded more sweet then Prarie Dog.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 14, 2008 7:27 pm 
Offline

Joined: Sun Dec 09, 2007 4:31 pm
Posts: 54

_________________
Better the pride that resides in a citizen of the world
Than the pride that divides when a colorfull rag is unfurled

Neil Peart - Rush


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Oct 14, 2008 8:12 pm 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Oct 15, 2008 3:31 am 
Offline

Joined: Sun Dec 09, 2007 4:31 pm
Posts: 54

_________________
Better the pride that resides in a citizen of the world
Than the pride that divides when a colorfull rag is unfurled

Neil Peart - Rush


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Oct 15, 2008 10:15 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Oct 15, 2008 5:54 pm 
Offline
User avatar

Joined: Thu Oct 19, 2006 5:03 am
Posts: 1209
This topic got way off topic and retarded.

I thought this was about creating new spawners for use server-side.

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Oct 15, 2008 6:07 pm 
Offline

Joined: Sun Dec 09, 2007 4:31 pm
Posts: 54
I was just trying figure out what made an object spawnable SSM.
I see no reason for personal attacks.

_________________
Better the pride that resides in a citizen of the world
Than the pride that divides when a colorfull rag is unfurled

Neil Peart - Rush


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.  [ 81 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next

All times are UTC


Who is online

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