Author Topic: How can I change the initial bullet spawing point on a gun?  (Read 1415 times)

Read the last posts if you came here to figure this out.

Title sums it up. I don't know where in the code (MilkShape) to find where a bullet spawns. It spawns at the 0, 0, 0 point of my gun. This is my first gun, so there are problems. Here's some pictures of my gun:



« Last Edit: October 21, 2012, 12:00:51 PM by Race Pro Kid »


muzzlePoint armature.

muzzlePoint armature.

Where's that at? I can't find it in any file in my addon.

Let me rephrase:

How can I do that in MilkShape?
« Last Edit: October 20, 2012, 06:20:23 PM by Race Pro Kid »

Anyone? I'm brand new at this.

« Last Edit: October 20, 2012, 07:39:18 PM by Race Pro Kid »

Steps I took to figure it out:

Trying to figure it out
Google
forum.blockland.us/index.php?action=search
Asking around on Blockland
Trying to figure it out
Posting on the Blockland forums

What else do I have to do?
« Last Edit: October 20, 2012, 08:15:17 PM by Race Pro Kid »

Nevermind. I just moved the muzzle to the center of the model and set an offset in the server.cs file. If anyone has a better idea, please tell me.

Make 2 joints, mountPoint(where the model mounts) and muzzlePoint(where the weapon fires)

Make 2 joints, mountPoint(where the model mounts) and muzzlePoint(where the weapon fires)

Thanks you so much! It works flawlessly! :D