A line that reflect projectiles

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: A line that reflect projectiles

by Jack » Fri Jun 16, 2006 6:44 am

ace wrote:Perhaps what you're trying to do would work better with the activation "projectile hits" rather than "projectile passes through"?
If possible, with both activation would be better.

Now I've been tinking about 3 arguments (speed, mode, fixed):

speed: speed ratio:
0 - Stop projectile
50 - Half speed
100 - Keep speed
200 - Double speed
...

mode:
0 - Keep angle (just accelerate or brake projectile)
1 - Reverse angle (projectile turns back, no mater the angle of the line)
2 - Bounce (as I said before)
3 - Fixed angle

fixed:
if mode = 3, the new angle of the projectile

by ace » Thu Jun 15, 2006 6:55 pm

Perhaps what you're trying to do would work better with the activation "projectile hits" rather than "projectile passes through"? Otherwise, a feature like this might come in handy, especially for things like forcefileds and such.

by solarsnowfall » Thu Jun 15, 2006 5:54 pm

Jack wrote:Maybe I need to update the configuration files.
Specifically ACS.cfg. You could add the extra arguments yourself, it's just text.

by Zippy » Thu Jun 15, 2006 5:51 pm

Doom Builder just uses unusual names for things. What it is refering to as "thing_thrust" is indeed ThrustThing. It takes up to four arguments as listed on the wiki, regardless of what Doom Builder says it takes.

by Jack » Thu Jun 15, 2006 5:09 pm

Anakin S. wrote:Don't you mean ThrustThing? Thing_Thrust uses a tid whereas ThrustThing thrusts whatever crosses the line.

I'm using Doom builder 1.67, special 72 and it appears as "thing_thrust", with 2 argumments (thrust angle and thrust distance). Maybe I need to update the configuration files.

by Anakin S. » Thu Jun 15, 2006 12:40 pm

Don't you mean ThrustThing? Thing_Thrust uses a tid whereas ThrustThing thrusts whatever crosses the line.

A line that reflect projectiles

by Jack » Wed Jun 14, 2006 6:57 pm

I work ALMOST all right using the special "thing_trust" in the line, activated when projectile passes over, but is not perfect...

My idea is an line special that return the projectile at the same speed and at a calculated angle, as if the projectile bonces in the line.

The special would be called "line_bounce", and would be based on the "thing_trust" special.

Thanks for atention

Top