Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been following this tutorial

all my code is the same as the page...

except here

Begin Object Name=GunMesh
end object


i had to replace begin object for this

Begin Object Class=SkeletalMeshComponent Name=GunMesh

i think i might have forgot to add a model/skeletal so i dont have anywhere to attach the weapon to? How can I do that??

Can some UnrealScript expert please look to it for me or give me a valid tutorial link for creating a custom weapon?

thank you very much

share|improve this question

closed as too localized by Byte56, bummzack, Sean Middleditch, Trevor Powell, Josh Petrie Feb 19 '13 at 16:06

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

I found out that I was missing a model to attach the weapon to like I suspected

just added this code to my default props on my pawn class and everything went ok

Begin Object class=SkeletalMeshComponent Name=SkeletalMeshComponent0
End Object
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.