Make a proyectile that bounces of ground

Ask questions, discuss ideas, get answers
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Make a proyectile that bounces of ground

Post by Swaffy »

I tried messing with a tracer to see if it'd work, but the tracer acted normal just as beforehand and died when hitting the ground. The tracer is a normal tracer I made for the Walther P-38, so it is my temporary test subject. This is the coding I used, which didn't give me the outcome I wanted:

Code: Select all

rem ----- [P38 Tracer] -----
ObjectTemplate.create Projectile P38TracerProjectile
ObjectTemplate.geometry TLight_m1
ObjectTemplate.timeToLive CRD_NONE/1/0/0
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.gravityModifier 1.0
ObjectTemplate.hasStartEffect 0
ObjectTemplate.hasCollisionEffect 1
ObjectTemplate.hasOnTimeEffect 0
ObjectTemplate.invisibleAtEndEffect 1

ObjectTemplate.dieAfterColl 0
ObjectTemplate.dieAtObjectHit 1

ObjectTemplate.stopAtEndEffect 1
ObjectTemplate.invisible 1
ObjectTemplate.material 215
ObjectTemplate.tracerScaler 25.0
ObjectTemplate.invisible 0
I segregated the two lines of code that I edited.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply