Torchmodders

Mod Projects => Help Wanted => Topic started by: steffire3 on September 02, 2018, 08:15:24 pm


Title: Help: Korzeam's Sniper Rifles can't hit targets on slopes.
Post by: steffire3 on September 02, 2018, 08:15:24 pm
@Korzeam has an issue with our Sniper Rifle mod... can't get the projectile to hit any Target shot from a sloped uneven position only from flat surfaces...

Does anyone know of a worthwhile fix?
He has tried enlarging the projectile and decided that Homing was not an ideal option either.

This is a common problem with projectile mods in general as it should be noted.  ::)
Title: Re: Help: Korzeam's Sniper Rifles can't hit targets on slopes.
Post by: Korzeam on September 02, 2018, 09:01:59 pm
Technically I didn't try homing because I don't think it can work for a bullet.

This the code for the missile :

Code: [Select]
<STRING>DESCRIPTOR:Missile
<STRING>NAME:SniperShot
<INTEGER64>ID:6679944461338677726
<INTEGER64>PARENTID:-1
<FLOAT>POSITIONX:0
<FLOAT>POSITIONY:0
<FLOAT>POSITIONZ:-11.17
<STRING>RELEASE:MEDIA/PARTICLES/WEAPONS/PISTOLMUZZLEFLASH_OPPOSITE.LAYOUT
<STRING>ACTIVE:MEDIA/PARTICLES/PLAYERSKILLS/DARTS/PROJECTILE.LAYOUT
<STRING>HIT:MEDIA/PARTICLES/IMPACTS/BLASTHIT.LAYOUT
<FLOAT>RADIUS:0.4
<FLOAT>RADIUS FOR UNITS:0.4
<FLOAT>MAX VELOCITY:100
<STRING>MISSILE NAME:SNIPERSHOT
<FLOAT>TARGETING ANGLE:0
<BOOL>PIERCING:true
Title: Re: Help: Korzeam's Sniper Rifles can't hit targets on slopes.
Post by: Sch123 on September 02, 2018, 10:46:43 pm
I've discussed (http://torchmodders.com/forums/mod-showcase/ruination/msg8565/#msg8565) this, maybe you can see this "Command Code: Rifle_Ezro".