HALO Style Weapon System

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

Re: HALO Style Weapon System

Post by metal_head »

Thaks, I think that integrating the script in the death order of the pawn would be the best thing that I could make.
And about question number one, I think that showing a screen won't be a bad Idea, just take a look, however I rotate the pawn, the weapon accessory stays unaffected by the rotation and it looks really unreallistic, I'll need to use different rotations for the guns in the game and even a vertical rotation in the weapon deploys (or whatever's it called :D )
Attachments
weapon_rotation.jpg
(54.91 KiB) Not downloaded yet
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: HALO Style Weapon System

Post by Juutis »

Indeed, the accessory rotation seems a bit weird. I found two solutions to it:

1) Change the accessories to pawn weapons. Weapons can be rotated with the actorrotation line in pawn.ini. All you need to do is change the type of all your accessories to 'weapon' and change every AttachAccessory() command in your scripts to SetWeapon().

2) Rotate the weapon in the modeler so you don't need to rotate it in RF.
Pain is only psychological.
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: HALO Style Weapon System

Post by metal_head »

Thanks, I'll do it (that way it won't appear on the radar too I think)! What if I want to rotate the weapon vertically (pointing upwards) would this work, or it will rotate only horizontaly?
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: HALO Style Weapon System

Post by Juutis »

You should be able to rotate it to any direction you like.
Pain is only psychological.
Post Reply