Author Topic: A few things: Muzzle flash location, image problem, ammo count  (Read 1132 times)

0 Members and 1 Guest are viewing this topic.

Offline Jayge

  • Major(1)
  • Posts: 25
Right, so, I've been working on a mod for a bit and I have some trouble with a few things that I thought I'd ask about.

First, I changed some weapons around and added a silencer on a weapon. My problem is that now when the weapon fires, the flash appears at the base of the silencer, as opposed to the end. I was wondering as to how I would relocate the origin to the correct position.

Next, I changed the Desert Eagles into Dual Socoms. The problem is, when I drop them, or if I am killed and they fall to the ground, they revert to the origional picture of desert eagles. I checked the images, and all the files are changed to look like Socoms. I have no idea what is causing this, so I thought I'd ask. :p

Lastly (for now), I made a bolt action rifle replacing the Ruger 77, and I lowered the ammo count to 1 per clip. However, when I play, it is still at four shots. The weapons file is correct, but the game isn't dropping down that low. Is there a minimum of ammo allowed for certain guns?

Thanks for any help.  ;D

Offline xtishereb

  • Flagrunner
  • ****
  • Posts: 908
  • I swear, my chainsaw killed you on its own.
Re: A few things: Muzzle flash location, image problem, ammo count
« Reply #1 on: March 13, 2007, 04:51:07 pm »
Alright, to answer your questions:

1. Just move the fire image to the right, adding new columns of green pixels equal to the length of the silencer.
For example, using Paint, if your silencer in mp5.bmp is 3 pixels long, you would increase the length of mp5-fire.bmp by 3 pixels, move the entire image over 3 pixels (so that any white created when you extended the image is covered) then fill in the left side with the invisible green.

2. The image for when the Deagles are dropped is n-deserteagles.bmp, and its reverse is n-deserteagles-2.bmp.

3. Are you playing on a local server or an internet server? If you're playing on a local server, be sure your weapon mod is loaded. If you're playing on an internet server, they are probably using the defaults.
Soldat has no restriction on ammo, except the most you can have is 255.
<3*xwd
love conquers all

Offline Jayge

  • Major(1)
  • Posts: 25
Re: A few things: Muzzle flash location, image problem, ammo count
« Reply #2 on: March 13, 2007, 05:14:14 pm »
Alright, thanks! I think I have everything (temporarily) fixed!
« Last Edit: March 14, 2007, 10:37:57 am by Jayge »