[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 - Trouble getting bots to use nitrous

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 3:46 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 25 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Mon Dec 10, 2007 11:02 pm 
Offline
User avatar

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

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Dec 10, 2007 11:17 pm 
Offline

Joined: Wed Oct 10, 2007 10:01 pm
Posts: 43


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Dec 10, 2007 11:19 pm 
Offline
User avatar

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

_________________
Image

Image


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Dec 11, 2007 12:28 am 
Offline

Joined: Wed Oct 10, 2007 10:01 pm
Posts: 43


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Dec 16, 2007 9:01 am 
Offline

Joined: Wed Oct 10, 2007 10:01 pm
Posts: 43
This does work. Step in front of this mutt while it's driven by an enemy bot, and he'll honk his horn, punch the nitro, and run you down. Here it is; "The Car". :twisted:

weaponTemplate.create mutthornai
weaponTemplate.burst 1
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 5.0

weaponTemplate.weaponActivate PINone
weaponTemplate.weaponFire PIFire
weaponTemplate.ExitVelocity 999.0
weaponTemplate.UseAimerOnly 1

weaponTemplate.setStrength Infantry 18.0
weaponTemplate.setStrength LightArmour 4.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Structure 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.precision 500

rem *** Plugins ***
aiTemplatePlugIn.create Mobile MuttMobile
aiTemplatePlugIn.LodHeight 0.45
aiTemplatePlugIn.vehicleNumber 4
aiTemplatePlugIn.maxSpeed 60.0
aiTemplatePlugIn.turnRadius 5.0
aiTemplatePlugIn.coverSearchRadius 50.0

aiTemplatePlugIn.create Physical MuttPhysical
aiTemplatePlugIn.setStrType LightArmour

aiTemplatePlugIn.create Cover MuttCover
aiTemplatePlugIn.coverValue 2.0

aiTemplatePlugIn.create Unit MuttUnit
aiTemplatePlugIn.setStrategicStrength 0 9
aiTemplatePlugIn.setStrategicStrength 1 0
aiTemplatePlugIn.equipmentType 0 <----- Tank Behavior
aiTemplatePlugIn.setHasExposedSoldier 1
aiTemplatePlugIn.setAlwaysTargetSoldier 1

aiTemplatePlugIn.create Armament MuttHornArms

aiTemplatePlugIn.create ControlInfo MuttCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIYaw <--- Aim with vehicle
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
rem aiTemplatePlugIn.pitchSensitivity 0.021817
rem aiTemplatePlugIn.rollSensitivity -0.021817
aiTemplatePlugIn.pitchSensitivity 0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
rem aiTemplatePlugIn.lookVerticalSensitivity 0.021817
rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817
aiTemplatePlugIn.lookVerticalSensitivity 0.21817
aiTemplatePlugIn.lookHorizontalSensitivity -0.21817
aiTemplatePlugIn.throttleLookAhead 1.0
aiTemplatePlugIn.pitchLookAhead 1.0
aiTemplatePlugIn.rollLookAhead 1.0
aiTemplatePlugIn.yawLookAhead 1.0
aiTemplatePlugIn.lookVerticalLookAhead 1.0
aiTemplatePlugIn.lookHorizontalLookAhead 1.0
aiTemplatePlugIn.throttleScale 1.0
rem *** Angle in radians ***
aiTemplatePlugIn.pitchScale 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 2.0

aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg -110/-40/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 110/10/0

rem *** AITemplate ***
aiTemplate.create Mutt
aiTemplate.addType ITBiological
aiTemplate.addType ITGround
aiTemplate.addType ITMobile
aiTemplate.degeneration 15
aiTemplate.allowedTimeDiff 2
aiTemplate.basicTemp 15
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn MuttMobile
aiTemplate.addPlugIn MuttPhysical
aiTemplate.addPlugIn MuttCover
aiTemplate.addPlugIn MuttCtrl
aiTemplate.addPlugIn MuttUnit
aiTemplate.addPlugIn MuttHornArms

rem *** MuttHorn ***
ObjectTemplate.create FireArms MuttHorn
ObjectTemplate.aiTemplate mutthornai
ObjectTemplate.loadSoundScript Sounds/horn_mutt.ssc
ObjectTemplate.projectileTemplate BinocularsProjectile
ObjectTemplate.projectile2template knifeprojectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize -1
ObjectTemplate.numOfMag 1
ObjectTemplate.magType 0
ObjectTemplate.fireOnce 1
ObjectTemplate.reloadtime 1
ObjectTemplate.roundOfFire 4
ObjectTemplate.AmmoType 6
ObjectTemplate.velocity 100
ObjectTemplate.addFireArmsPosition -0.5/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.25/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.25/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.5/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.35/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 0/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.35/0/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.5/-0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.25/-0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.25/-0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.5/-0.5/0 0/0/0
ObjectTemplate.InputFire c_PIFire

ObjectTemplate.create Engine MuttNitro
ObjectTemplate.networkableInfo MuttEngineInfo
ObjectTemplate.minRotation 0/0/-90
ObjectTemplate.maxRotation 0/0/90
ObjectTemplate.maxSpeed 0/0/900000
ObjectTemplate.acceleration 0/0/900000
ObjectTemplate.inputToRoll c_PIFire
ObjectTemplate.automaticReset 1
ObjectTemplate.engineType c_ETPlane
ObjectTemplate.torque 500
ObjectTemplate.differential 50
ObjectTemplate.numberOfGears 2
ObjectTemplate.gearUp 0.95
ObjectTemplate.gearDown 0.4

ObjectTemplate.create Bundle MuttComplex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.addTemplate MuttHook
ObjectTemplate.setPosition 0/0.7/0
ObjectTemplate.addTemplate lodMuttCockpit
ObjectTemplate.addTemplate MuttCamera
ObjectTemplate.setPosition -0.38/0.92/-0.468
ObjectTemplate.addTemplate MuttSeat
ObjectTemplate.setPosition -0.399/0.58/-0.133
ObjectTemplate.addTemplate MuttHorn
ObjectTemplate.setPosition 0/0.3/1.3
ObjectTemplate.addTemplate MuttNitro
ObjectTemplate.setPosition 0/0/0

ObjectTemplate.addTemplate MuttEntry
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.addTemplate MuttEntry
ObjectTemplate.setPosition 0/0/-1
ObjectTemplate.addTemplate MuttPassengerPCO
ObjectTemplate.setPosition 0/0.35/-0.25
ObjectTemplate.addTemplate MuttTOWPCO
ObjectTemplate.setPosition 0/0.092/-1.031
ObjectTemplate.addTemplate MuttTOWBaseLOD
ObjectTemplate.setPosition 0/-0.067/-1.031
ObjectTemplate.addTemplate MuttEngine
ObjectTemplate.setPosition 0/0.75/-0.25
ObjectTemplate.addTemplate MuttSteeringDummy
ObjectTemplate.setPosition -0.399/0.31/0.58
ObjectTemplate.setRotation 0/33/0
ObjectTemplate.addTemplate MuttMusicPlayer

CSM, currently, because of the added nitro engine, but could probably be made ssm. A custom ai behavior could make this evil where the fire behavior outweighs it's moveto behavior, so it would prefer to drive around seeking victims rather than capping flags. LOL. Still tweakin' ...


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Dec 18, 2007 5:15 am 
Offline

Joined: Wed Oct 10, 2007 10:01 pm
Posts: 43
Update: Bong, i added your negative ForceOnExplosion to a new custom projectile so the victim would do a brief spasm before getting mowed down, and the driver now gets credit. No more [killed]. Too bad there wasn't more of a vacuum effect so you could make it a "woodchipper" and do your Steve Buscemi impression. LOL.

ObjectTemplate.create FireArms MuttHorn
ObjectTemplate.aiTemplate mutthornai
ObjectTemplate.loadSoundScript Sounds/horn_mutt.ssc
ObjectTemplate.projectileTemplate MuttHornProjectile
ObjectTemplate.projectilePosition 0/0/0
ObjectTemplate.magSize -1
ObjectTemplate.numOfMag 1
ObjectTemplate.magType 0
ObjectTemplate.fireOnce 1
ObjectTemplate.reloadtime 1
ObjectTemplate.roundOfFire 4
ObjectTemplate.AmmoType 6
ObjectTemplate.velocity 100
ObjectTemplate.addFireArmsPosition -0.5/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.25/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.25/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.5/0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.35/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 0/0/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.35/0/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.5/-0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition -0.25/-0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.25/-0.5/0 0/0/0
ObjectTemplate.addFireArmsPosition 0.5/-0.5/0 0/0/0
ObjectTemplate.InputFire c_PIFire

ObjectTemplate.create Projectile MuttHornProjectile
ObjectTemplate.geometry bullet_m1
ObjectTemplate.timeToLive CRD_NONE/0.18/0/0
ObjectTemplate.gravityModifier 0
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.hasOnTimeEffect 0
ObjectTemplate.invisibleAtEndEffect 1
ObjectTemplate.dieAfterColl 1
ObjectTemplate.stopAtEndEffect 1
ObjectTemplate.invisible 1
ObjectTemplate.material 210
ObjectTemplate.damageType 1
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.ForceOnExplosion -15


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Dec 18, 2007 7:26 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: Tue Dec 18, 2007 7:39 am 
Offline

Joined: Wed Oct 10, 2007 10:01 pm
Posts: 43


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.  [ 25 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 22 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