Finishing touches on Serverside map.

Ask questions, discuss ideas, get answers
Post Reply
modserver
Posts: 13
Joined: Sat Jan 16, 2010 3:29 am

Finishing touches on Serverside map.

Post by modserver »

I'm modding El Alamein 1942, and was wondering if anyone can help out with my final problems:


1.) I want a repulsion gun, but I want it to work for the JohnsonLMG, but I can only get it to work with the knife. Also, I want it to bounce players when you shoot the ground, rather than having to shoot a wall they are near. (Code below)
--Also, if I have this, should I give land vehicles speedMod 0? Also, what are good numbers to use when using this code?


Rem ---(Knife Projectile)---
ObjectTemplate.active KnifeProjectile
ObjectTemplate.material 998
ObjectTemplate.radius 15
ObjectTemplate.ForceOnExplosion 250
ObjectTemplate.YModOnExplosion 10.0
ObjectTemplate.DamageType 1
ObjectTemplate.explosionDamage 0
ObjectTemplate.timeToLive CRD_NONE/0.2/0/0
ObjectTemplate.hasOnTimeEffect 1


REM *** ( PROJECTILE POSITIONS ) ***
active JohnsonLMG
ObjectTemplate.projectilePosition 0/0/2
ObjectTemplate.velocity 100

active KnifeAxis
ObjectTemplate.projectilePosition 0/0/2
ObjectTemplate.velocity 100













2.) I made the landmines spawn anti-aircraft guns, but how Can I make it so their is only 1 'landmine' per spawn, and you can't get more ammo?
Post Reply