Can the mines in BF1942 be modded to blow up soldiers as well as vehicles?
They would then be AP land mines.
And would the bots stand on them?
I play a lot of single-player...
Thanks..
ObjectTemplate.create Projectile NewClaymoreProjectile
ObjectTemplate.networkableInfo ProjectileInfo
ObjectTemplate.geometry claymore_PRJ_m1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.setHasMobilePhysics 1
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.setHasResponsePhysics 1
ObjectTemplate.setHasPointPhysics 0
ObjectTemplate.hasCollisionEffect 0
ObjectTemplate.invisibleAtEndEffect 1
ObjectTemplate.hasArmor 1
ObjectTemplate.hitPoints 1
ObjectTemplate.maxHitPoints 1
ObjectTemplate.explosionDamage 0
ObjectTemplate.timeToLive CRD_NONE/560/0/0
ObjectTemplate.dieAfterColl 0
ObjectTemplate.radius 6
ObjectTemplate.ForceOnExplosion 7
ObjectTemplate.explodeNearEnemyDistance 4
ObjectTemplate.proximityFusePrimer 5
ObjectTemplate.hasOnTimeEffect 1
ObjectTemplate.useMMOnEndEffect 1
ObjectTemplate.mass 20
ObjectTemplate.material 70
ObjectTemplate.material2 855
ObjectTemplate.damageType 4
ObjectTemplate.endEffectTemplate e_ExplGranade
ObjectTemplate.noFFSound 1
ObjectTemplate.projectileType 1
ObjectTemplate.addToProjectileList 1
NetworkableInfo.createNewInfo MineTriggerInfo
NetworkableInfo.setPredictionMode PMLinear
NetworkableInfo.createNewInfo DummyEngineInfo
NetworkableInfo.setPredictionMode PMLinear
rem *** Needed for HoldObject command to work. ***
ObjectTemplate.create Engine DummyEngine
ObjectTemplate.setNetworkableInfo DummyEngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-100
ObjectTemplate.setMaxRotation 0/0/100
ObjectTemplate.setMaxSpeed 0/0/100
ObjectTemplate.setAcceleration 0/0/1000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETCar
ObjectTemplate.setTorque 0
ObjectTemplate.setDifferential 0
ObjectTemplate.setNumberOfGears 1
ObjectTemplate.create ObjectSpawner SoldierMineTrigger
ObjectTemplate.setObjectTemplate 0 SoldierMineTriggerPCO
ObjectTemplate.minSpawnDelay 3
ObjectTemplate.maxSpawnDelay 3
ObjectTemplate.timeToLive 5
ObjectTemplate.distance 10
ObjectTemplate.setTeam 0
ObjectTemplate.damageWhenLost 0
ObjectTemplate.maxNrOfObjectSpawned 1
ObjectTemplate.resetWhenRemoved 1
ObjectTemplate.holdObject 1
ObjectTemplate.create PlayerControlObject SoldierMineTriggerPCO
ObjectTemplate.setNetworkableInfo MineTriggerInfo
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionForceMod 0
ObjectTemplate.drag 0
ObjectTemplate.mass 30
ObjectTemplate.explosionRadius 0
ObjectTemplate.explosionDamage 0
ObjectTemplate.hasArmor 1
ObjectTemplate.hitpoints 2
ObjectTemplate.maxhitpoints 2
ObjectTemplate.criticalDamage 1
ObjectTemplate.hpLostWhileCriticalDamage 1
ObjectTemplate.hpLostWhileUpSideDown 0
ObjectTemplate.hpLostWhileDamageFromWater 1
ObjectTemplate.fadeAtTimeToLiveAfterDeath 0
ObjectTemplate.damageFromWater 1
ObjectTemplate.material 0
ObjectTemplate.timeToLiveAfterDeath 0.1
ObjectTemplate.setMinimapIcon "Empty.dds"
ObjectTemplate.addToCollisionGroup c_CGProjectiles
ObjectTemplate.addToCollisionGroup c_CGLandScape
ObjectTemplate.addToCollisionGroup c_CGStaticObjects
rem -------------------------------------
ObjectTemplate.addTemplate DummyEngine
ObjectTemplate.active USSoldier
if v_arg1 == host
ObjectTemplate.addTemplate SoldierMineTrigger
ObjectTemplate.setPosition 0/2/0
else
endIf
Return to 1942 Modding Discussion
Users browsing this forum: Baidu [Spider] and 23 guests