Page 1 of 1

rifle bullet help

Posted: Mon Mar 20, 2006 5:30 pm
by neillomax
I had this posted over at tmt overnight. It got looked at, and thats it so far.

You are running across an inlet, the enemy is shooting at you, you have to
dive in the water to save your life. You fall into water over your head. It's
teeming with 30 foot great white sharks. One of them tries to attack you.
You lift your smg and begin to fire................ how do you create the illusion
of "bullet time" under the water, ( presumeably by a trigger ?, to slow the
bullets down, or some script of one sort or another), because they are flying
as they would if you were still in the atmosphere......... ?


Did I just answer my own question ? Still gonna need some input anyway

//////////////////

Thought about it over night, and thought the way to do it would be to set a trigger, and have it target a script, but I can't find more than one tik file aiming towards the rifle bullet (tik). It's useless. Is there another item or items pertaining to the rifle bullet that I haven't found ?

And is what I am proposeing to do logical ?

How do you slow down the rifle bullet, and only in your "triggered" area ?

http://www.tntreloading.com/tntinc.ivnu

water

Posted: Mon Mar 20, 2006 7:36 pm
by tltrude
I aways thought that bullets slow down automattically when fired into, or under, the water surface. So, it would be a property of the water.

You might try, "bulletrange" or "dmbulletrange" as keys in a trigger.

Posted: Mon Mar 20, 2006 9:19 pm
by neillomax
Yes, I tried that, didn't work. I just whipped together a map, jumped in the water, and the bullets still fly as fast as normal. All the range stuff only made them drop closer to the player. I'm not goint to give up on it though. When I can sit down, ( 2 hours a week ), I'll keep fartin' with it. If you think of anything else, please enter your input.....thanks

Posted: Mon Mar 20, 2006 9:50 pm
by Master-Of-Fungus-Foo-D
u could put this in the trigger thread:

Code: Select all

setcvar timescale .5
if you want time to go slower make the number a smaller fraction

and if you want it only inside the trigger:

Code: Select all

while(1)
{
  if($player.istouching $yourtrigger)
   {
    setcvar "timescale" "0.5"
   }
   else
   {
    setcvar "timescale" "0.5"
   }
wait 1
}
i think thats right, if im not too rusty

Posted: Tue Mar 21, 2006 12:59 am
by neillomax
Thanks, I'll give it a try this week sometime.