The "Pulse Deflector Shield" sounds good.
To make it, you would need to use the "
push gun" , then have about 8 of them spawning together with their gun barrels all facing outward and their gun handles or butts ( oppossite end of where the projectile shoots from ) all positioned at a center point thus creating an 8 point star.
Of course all spawners would have to be team assigned.
ObjectTemplate.teamOnVehicle 1
So that it doesn't effect friendly vehicles or players.
ObjectTemplate.workonteam 1 to repell red guys
ObjectTemplate.workonteam 2 to repell blue guys
Also, friendly fire would have to be set to zero.
To activate it or to make it fire automatically when an enemy enters it's proximity, an AI code could be added like this might be needed.
aiTemplate.commonKnowledge 1
aiTemplate.FireNearEnemy 1
ObjectTemplate.ProximityFusePrimer 0.1
ObjectTemplate.explodeNearEnemyDistance 15
ObjectTemplate.ProximityFusePrimer 0.1
ObjectTemplate.FireNearEnemyDistance 256
ObjectTemplate.radius 32
Or spawn a few ZPU-4s around the base and change it's projectile to the "
push / repelling" thingy, then have AI bots spawn in them where they ( the AI bots ) cannot exit the ZPU because they're 'locked in' it.
To keep the shield up, set it up so it cannot be damaged or destroyed.
ObjectTemplate.hasCollisionPhysics 0
ObjectTemplate.hasResponsePhysics 0
ObjectTemplate.hasArmor 0
ObjectTemplate.speedMod 0
ObjectTemplate.exitTimer -1
ObjectTemplate.hitpoints -1
ObjectTemplate.maxhitpoints -1
ObjectTemplate.material 0
ObjectTemplate.criticalDamage -1
Assuming that the "
-1" = infinite
The "Lock In" or "Freeze Enemy Bubble" would effect the enemie's
ObjectTemplate.hasMobilePhysics 1
and then changes the
1 to a
0
ObjectTemplate.hasMobilePhysics 0
within it's effect radius.
ObjectTemplate.workonteam 1
ObjectTemplate.workonsoldiers 1
ObjectTemplate.workonvehicles 1
With additional coding, thus "
freezing" the enemy in your base.
The codes shown above are NOT exactly what would work, but it may point you in the direction of what code
may work.
Not sure if this could be done server sided but you have some good ideas there.
Good luck and let us know if you got it to work.