[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/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 - Laser

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 7:06 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 23 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Laser
PostPosted: Fri Nov 17, 2006 6:06 pm 
Offline

Joined: Sat Sep 16, 2006 12:29 pm
Posts: 84


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 8:59 pm 
Offline

Joined: Sun Jun 18, 2006 3:07 pm
Posts: 319
Location: Ontario, Canada

_________________
xfire: bulletpr00fmonk


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Fri Nov 17, 2006 10:08 pm 
Offline

Joined: Sat Sep 16, 2006 12:29 pm
Posts: 84
i downloaded gc(galactic conquest)
i tried add a lasersight from there
The object file looks like so

ObjectTemplate.create HandFireArms DL44
ObjectTemplate.itemIndex 2
ObjectTemplate.networkableInfo HandFireArmsInfo
ObjectTemplate.projectileTemplate Dl44Projectile
ObjectTemplate.projectilePosition 0/0.067/0
ObjectTemplate.hasDynamicShadow 0
ObjectTemplate.magSize 50
ObjectTemplate.numOfMag 1
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 000000.1
ObjectTemplate.roundOfFire 6
ObjectTemplate.fireOnce 1
objectTemplate.aiTemplate ColtAI
ObjectTemplate.zoomFov 0.4
ObjectTemplate.altFireOnce 1
ObjectTemplate.soldierZoomFov 0.5
ObjectTemplate.soldierZoomPosition -0.01/-0.01/0.1
ObjectTemplate.soldierCameraPosition 0.02/-0.05/0.2
ObjectTemplate.AmmoType 1
ObjectTemplate.addRootSpeed 0
ObjectTemplate.setHasMag 0

ObjectTemplate.minDamage 0.5
ObjectTemplate.distToStartLoseDamage 25
ObjectTemplate.distToMinDamage 50

ObjectTemplate.useScope 1
ObjectTemplate.setScopeIcon "reb_dl-44scope.tga"
ObjectTemplate.unZoomBetweenFireTime 0

ObjectTemplate.setHudAmmoType ATIconAndHeatBar
ObjectTemplate.setAmmoIcon "ammo/icon_laser_64x32.dds"
ObjectTemplate.setCrossHairType CHTCrossHair

Rem *** Deviation Begin *****
ObjectTemplate.velocity 340
ObjectTemplate.setRecoilForceUp CRD_UNIFORM/0.4/0.6/0
ObjectTemplate.setRecoilForceLeftRight CRD_UNIFORM/-0.2/-0.2/0
ObjectTemplate.setHasRecoilForce 1
ObjectTemplate.setGoBackOnRecoil 1

ObjectTemplate.setFireDev 2.5 1.5 0.07
ObjectTemplate.setMinDev 0.2
ObjectTemplate.setTurnDev 0 0 0 0
ObjectTemplate.setSpeedDev 1.5 0.2 0.2 0.1
ObjectTemplate.setMiscDev 2.5 2.5 0.1
Rem *** Deviation End *****

ObjectTemplate.fireInCameraDof 1
ObjectTemplate.loadSoundScript Sounds/DL-44.ssc
ObjectTemplate.createSkeleton animations/DL44.ske
ObjectTemplate.useSkeletonPartAsMain Colt
ObjectTemplate.addTemplate DL44Lod
ObjectTemplate.setPosition -0.01/-0.06/-0.01

ObjectTemplate.addTemplate e_MuzzGun
ObjectTemplate.setInputId -1
ObjectTemplate.startoneffects 0
ObjectTemplate.setPosition 0/0.001/0.25
ObjectTemplate.setRotation 0/0/0

ObjectTemplate.create AnimatedBundle DL44Complex
ObjectTemplate.createSkeleton animations/DL44.ske
ObjectTemplate.addTemplate DL44Simple
ObjectTemplate.bindToSkeletonPart Colt

ObjectTemplate.create SimpleObject DL44Simple
ObjectTemplate.geometry Dl44_m1

ObjectTemplate.create LodObject DL44Lod
ObjectTemplate.lodselector HandWeaponLodSelector
ObjectTemplate.addTemplate DL44Complex
ObjectTemplate.addTemplate DL44Simple



Have you an idea?









Max


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sat Nov 18, 2006 11:32 am 
Offline

Joined: Sat Sep 16, 2006 12:29 pm
Posts: 84
that was a file which beside of handweapons


beginRem
rem *** LaserSightAddon ***
ObjectTemplate.create FireArms LaserSightAddon
ObjectTemplate.magSize -1
ObjectTemplate.numOfMag 1
ObjectTemplate.magType 0
ObjectTemplate.reloadtime 0.0001
ObjectTemplate.roundOfFire 10
ObjectTemplate.altFireOnce 0
ObjectTemplate.projectileTemplate LaserSightProjectile
rem ObjectTemplate.fireInCameraDof 1
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.setInputFire c_PIAltFire
ObjectTemplate.setFireDev 0 0 0
ObjectTemplate.setDevMod 0 0 0
ObjectTemplate.setTurnDev 0 0 0 0
ObjectTemplate.setSpeedDev 0 0 0 0
ObjectTemplate.setMiscDev 0 0 0
ObjectTemplate.setMinDev 0
ObjectTemplate.setIsFirstPersonPart 0

rem *** LaserSightProjectile ***
ObjectTemplate.create Projectile LaserSightProjectile
ObjectTemplate.geometry LaserSight_m1
rem ObjectTemplate.tracerScaler 50.0
ObjectTemplate.timeToLive CRD_NONE/5/0/0
ObjectTemplate.hasCollisionPhysics 0
ObjectTemplate.gravityModifier 0
ObjectTemplate.hasStartEffect 0
ObjectTemplate.hasCollisionEffect 0
ObjectTemplate.hasOnTimeEffect 0
ObjectTemplate.invisibleAtEndEffect 0
ObjectTemplate.dieAfterColl 0
ObjectTemplate.stopAtEndEffect 0
ObjectTemplate.invisible 0
rem ObjectTemplate.material -1
rem ObjectTemplate.addTemplate LaserSight
ObjectTemplate.setIsFirstPersonPart 0

ObjectTemplate.create SimpleObject LaserSight
ObjectTemplate.geometry LaserSight_m1



is the laser in maybe LaserSight_m1, if yes where?




Max


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sun Nov 19, 2006 3:57 pm 
Offline

Joined: Sun Jun 18, 2006 3:07 pm
Posts: 319
Location: Ontario, Canada

_________________
xfire: bulletpr00fmonk


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sun Nov 19, 2006 9:38 pm 
Offline

Joined: Sat Sep 16, 2006 12:29 pm
Posts: 84


Top
 Profile Send private message E-mail  
 
 Post subject:
PostPosted: Sun Nov 19, 2006 10:02 pm 
Offline

Joined: Mon Aug 16, 2004 12:00 am
Posts: 2120


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 1:04 am 
Offline

Joined: Mon Oct 09, 2006 12:51 pm
Posts: 782


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 37 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:
Powered by phpBB® Forum Software © phpBB Group