Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / enemy gun model question

Author
Message
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 13th Jun 2006 20:53
Could some one please clarify this for me? Here is my situation- i've created 2 weapons in my game so far, they work perfectly and work well with the pickup objects wich match the weapons. They were created useing other weapons as the templates. When I added an enemy model to the level and gave him a weapon I noticed that my weapons were available for use, so I tried them out. When I tested the enemies holing my weapons were accually holding the weapon models that they were based off of instead. When killed they dropped the incorrect model (the one they were holding) and when I picked it up it was the correct weapon that I specefied. How do I get the correct weapon to appear in the enemies hand and in the correct pose? ALso are there any requirements for the pickup object such as a "firspot" bone or model face for correct placement on enemies as well as decal positioning? Thanks in advance!

gps
19
Years of Service
User Offline
Joined: 16th Dec 2004
Location: England
Posted: 14th Jun 2006 00:36
VWEAP.x is the model that the enemies use (and drop). The pick-up is an entity, which is why it's showing up correctly. It sounds like you haven't overwritten the original template weapon's VWEAP file. It needs a single FIRESPOT bone for the muzzle flash. As for positioning, the weapon's centre of mass is attached to a bone in the character's hand, so it's really a matter of trial-and-error to get it in the right place. Also, this bone doesn't seem to be in exactly the same place in each character (I lined my FN P90 model up using the Model Pack 1 Specialist character, but in Aiko's hands it looks a bit off) so if the weapon is specific to a certain character, I'd use them for testing.

Hope this helps

- Graham

Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 14th Jun 2006 03:05 Edited at: 14th Jun 2006 03:07
It helped quite a bit. Thanks a milllion! i wondered what that vwep.x was for.

Login to post a reply

Server time is: 2024-11-22 14:29:32
Your offset time is: 2024-11-22 14:29:32