Projectiles....

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Projectiles....

Post by metal_head » Wed Aug 13, 2008 4:05 pm

I really don't know where to post this topic and I'm sure it's in the wrong place.
It's about projectiles.I made a plasma blaster in my game and made a long green projectile model for it.The problem is that when I shoot,the projectile shows at the crosshair and it's away from the gun.How can I make the projectile to shoot from the gun,not from the crosshair.Will it need a script for that,making the projectile shoot from the weapon's bone?

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Projectiles....

Post by Juutis » Wed Aug 13, 2008 4:07 pm

The manual:
viewlaunchoffset: offset in the X, Y and Z directions from screen center to the projectile launch point (Projectile weapon only)
viewlaunchbone: name of bone in viewactor to launch projectile from (Projectile weapon only)
Pain is only psychological.

User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: Projectiles....

Post by metal_head » Wed Aug 13, 2008 4:14 pm

... ........Maybe it's because of the sun....this month I asked several questions that I have just completely forgot the answer (and the answer is simple) thanks Juutis!

Post Reply