[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 - LandmineProjectile popcorn

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Thu Mar 28, 2024 5:09 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: Mon Nov 23, 2009 1:40 am 
Offline

Joined: Sat Aug 08, 2009 7:30 pm
Posts: 75
Ok, I made a ObjectSpawner Projectile LandmineProjectile, but mine is like popcorn on the ground, if I leave "ObjectTemplate.setHasMobilePhysics 0", the landmine does not explode the vehicles
Can anyone help?

rem -----------------------------------------
rem --- Projectile ---
rem -----------------------------------------
ObjectTemplate.create ObjectSpawner Projectile
ObjectTemplate.active ObjectSpawner Projectile LandmineProjectile

ObjectTemplate.create ObjectSpawner Projectile LandmineProjectile
ObjectTemplate.networkableInfo ProjectileInfo
ObjectTemplate.geometry Landmine
ObjectTemplate.setHasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.setHasCollisionPhysics 1

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Nov 23, 2009 4:00 am 
Offline

Joined: Sat May 10, 2008 5:47 am
Posts: 85

_________________
You dont know who i am or what i do. im your friend, only if...


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Nov 23, 2009 11:05 pm 
Offline

Joined: Sat Aug 08, 2009 7:30 pm
Posts: 75
The problem is that I want mine does not move.

"ObjectTemplate.setHasMobilePhysics 1" = explode the vehicles
"ObjectTemplate.setHasMobilePhysics 0" = does not move and does not blow up the vehicles.

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Nov 24, 2009 3:04 am 
Offline
User avatar

Joined: Fri Oct 03, 2008 4:37 pm
Posts: 513
Location: Levelland, Texas

_________________
ImageImage
I have cameras in your head!


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Nov 29, 2009 9:24 pm 
Offline

Joined: Sat Aug 08, 2009 7:30 pm
Posts: 75
Ok, I created it and it works, but is not static but exploding the vehicles that pass over the mine, some explanation why mine does not blow up the vehicles to be static?


OBJECTSPAWNTEMPLATE.CON
rem -----------------------------------------
rem --- Projectile ---
rem -----------------------------------------
ObjectTemplate.create ObjectSpawner Projectile
ObjectTemplate.active ObjectSpawner Projectile LandmineProjectile

ObjectTemplate.create ObjectSpawner Projectile LandmineProjectile
ObjectTemplate.networkableInfo ProjectileInfo
ObjectTemplate.geometry Landmine
ObjectTemplate.setHasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.setHasCollisionPhysics 1

OBJECTSPAWN.CON

Object.create Projectile LandmineProjectileSpawner
Object.absolutePosition 536.28/76.16/463.95 ( example )
Object.rotation 0/0.00/0.00

_________________
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.  [ 5 posts ] 

All times are UTC


Who is online

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