Page 1 of 1

bouncing lasers?

Posted: Sat Feb 07, 2009 6:18 pm
by ryukaji
is there a way to make pistol bullets bounce of terrain because the
rebound = "1" doesnt seem to do it

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 6:38 pm
by Fiodis
That's because it has classlabel = "bolt". Bolt's can't bounce. You can get around this by making it as....well, I forget, but check out the ODF of Skyhammer's snoutgun. It has ordance that rebounds off terrain and sticks to units.

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 7:27 pm
by ryukaji
well thats not exactly the same bounce I meant, I meant like rebound off the terrain once not bounce like a bouncy ball

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 8:21 pm
by Fiodis
Oh, that bouncy ball effect can be tweaked via some ODF line, I think it's "Gravity = "*something, not sure what*".

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 8:56 pm
by MileHighGuy
gravity doesnt make things bonce, it makes the have gravity,so it makes them go down

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 8:58 pm
by ryukaji
No, read what I said again I dont want the bouncy ball effect I want the bullet to ricochet off walls and terrain

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 9:00 pm
by MileHighGuy
i was just explaining that the gravity line doesnt do what your asking, sorry for the misunderstanding

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 9:10 pm
by ryukaji
MileHighGuy wrote:i was just explaining that the gravity line doesnt do what your asking, sorry for the misunderstanding
Actually i was talking more to Fiodis because he misread what I had posted before, and yeah gravity doesnt make someting bounce.

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 9:15 pm
by Fiodis
Really? I always found that setting that line to "0" made them unaffected by gravity, travelling in a straight line. Then, if they bounce off walls....well, that's a ricochet, yes?

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 9:35 pm
by Null_1138
Skyhammer 216 made a disc gun that shoots discs that bounce of walls and terrain. I guess all you have to do is change the .msh of the disc. Ask him (Not over PM, that's against the rules).

Re: bouncing lasers?

Posted: Sat Feb 07, 2009 10:38 pm
by Fluffy_the_ic
And then there's assajj's starblades. They're pretty darn similar. But I know that Sky released the discgun. Search through its odf for some sort of function that seems to make sense for it.

Re: bouncing lasers?

Posted: Sun Feb 08, 2009 6:31 am
by Sky_216
Discgun ord ODF:
Hidden/Spoiler:
[OrdnanceClass]
ClassLabel = "sticky"

[Properties]
GeometryName = ""
ExplosionName = "her_weap_discgun_exp"
ExplosionExpire = "her_weap_discgun_exp"
TrailEffect = "spa1_sfx_lasertrail"

LightColor = "43 43 253 150"
LightRadius = "4.0"

Damage = "150.0"

LifeSpan = "1.0"
Velocity = "200.0"
Gravity = "0.7"
Rebound = "1.0"
Friction = "1.0"

Push = "3"
PushDeadOnly = "0"

MinRange = "20"
OptimalRange = "60"
MaxRange = "100"

StickPerson = 0
StickAnimal = 0
StickDroid = 0
StickVehicle = 0
StickBuilding = 0
StickBuildingDead = 0
StickBuildingUnbuilt= 0
StickTerrain = 0

CollisionOtherSound = "com_weap_inf_grenade_bounce"
CollisionWaterSound = "imp_inf_trooper_land_water"

ImpactEffect = "com_sfx_sabredehit"
How to make it work for lasers:

1)Make a particle effect that looks like a lasar. Set it as the trail.
2) Put gravity to 0.1 (do not put it to 0).
3) Increase velocuity, decrease lifespan.
4)It'll bounce until lifespan expires. The higher the velocity (don't set it to high or your effect won't work!)and shorter the lifespan, the less you'll get the bouncy ball effect.

Sticky type weapons are very versatile......

Re: bouncing lasers?

Posted: Mon Feb 09, 2009 4:27 pm
by ryukaji
Thanks I should have thought of the discgun cause i downloaded that ( and I used it in my Sulon: Canyon Wars map) but then i wouldnt have known how to make it lasery so ill try it out when i get the chance