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 / gunspec file (rate of fire etc)

Author
Message
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 25th Mar 2006 15:49
Ive been editing the gunspec file for my weapon. No matter what I do, it rapid fires.

I have even gave the colt gunspec to my gun, and it still rapid fires. I can click the mouse button, and have it fire slowly, but if I hold it down, after one second it releases rapid fire. Its annoying me now, so I need help.

Question

1) How do I set the rate of fire? So the gun will only fire one bullet, say every 2 seconds?
Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 25th Mar 2006 16:31
Has something to do with the MODEL. and it's animations. Beyond that, I don't know. I have only obserbed that changing the animation numbers for the mp-40 causes it to lose it's ability to autofire.

Also, the Sound may be tyied in somewhere.

Mosillivo: Fires Rage, Earth Rumble, Evil Reigns, Cities Tumble
Join the NJL: The War Has Begun, Which Side Are You On?
Nunticaelitusphobic (Scared of Internet)
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 25th Mar 2006 17:33
Ive got it to fire like the colt, but it fires right at the start of the animation. So in all, the fire and animation dont match.

Could it be that melee is really impossible to create, well thats how I feel right now.
Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 25th Mar 2006 17:46 Edited at: 25th Mar 2006 17:51
Please elaborate with descriptive words and pictures.

Mosillivo: Fires Rage, Earth Rumble, Evil Reigns, Cities Tumble
Join the NJL: The War Has Begun, Which Side Are You On?
Nunticaelitusphobic (Scared of Internet)
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 25th Mar 2006 18:09
My attack animation is 25 frames long. When you fire the weapon, it does the damage on the first frame of the animation, leaving 24 frames playing.

The damage does not match the animation. When the weapon gets to the hit part, the damage had already been done.
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 26th Mar 2006 02:26
Doesnt any one even care? Some one must know how to get a good result for melee.
300 win mag
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: USA
Posted: 26th Mar 2006 02:27
well i thenk you need to shorten up the frames because i had the same problum with my grnade loncher and now it works grate

Survivor a game in the making
BULLSHOCK 2
Retired Moderator
18
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 26th Mar 2006 02:38
the property your loking for is Fireloop.

the higer this property is, the longer it takes between shots.



Note: i beleive its in milliseconds (1000 ms = 1 second)

SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 26th Mar 2006 02:39
I might lowwer the frames to 90 then, 3 seconds. If that doesnt help, I might have to lowwer it to 60!
transient
18
Years of Service
User Offline
Joined: 22nd Apr 2005
Location: Australia Zoo
Posted: 26th Mar 2006 02:39
Maybe your better off using a rocket launcher or grenade as a basis for melee attacks.

These use physics, so you could theoretically have more realistic whacks, and they never rapid fire. You can also change the speed of the missile and it's trajectory, so you have more control over the timing and placement of the hit.

There's no point complaining because somebody else hasn't worked this out yet. You'll just have to keep at it, or wait.

Some of the things I've done in FPSC have taken me ages to test properly.

I'm working on a melee system, but it has a low priority for me and may never make my final game.

instinct is more valuable than intelligence.....
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 26th Mar 2006 03:12
Iam going to dance around, because Ive got my melee sorted.

It fits really well with my sound too, and its only 41 frames!

I do have another question though. How do I stop the bullet holes appearing?
matttess
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location:
Posted: 3rd May 2006 21:55
you cannot stop the bullet holes appearing lol....unless u edit the original bulletholes or make your own with a grey (i used white)background then it might become invisible,try it? just make a copy of it b4 u mess with things,and its in Files\gamecore\bulletholes

FOR FREE STATIC MODELS FPSC READY AND IN .MS3D FORMAT GO TO [href]http//:WWW.FREE3DMODELS.FREEWEBSITEHOSTING.COM[/href] !!!!!!
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 4th May 2006 17:15
or just set the damage/scorch type to like 5000, then it wont find a bullet hole to use....

"Guns for show, knives for a pro."
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 4th May 2006 18:41
My old threads are being dug up

Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 4th May 2006 22:41
dig...
dig...
dig...

"Guns for show, knives for a pro."
code master
20
Years of Service
User Offline
Joined: 4th Dec 2003
Location: Illinois
Posted: 4th May 2006 23:18
Quote: "Fireloop."


Fireloop controls the loop back position in bytes, within the fire sound file. (According to the manual.)

Quote: "How do I stop the bullet holes appearing? "


Easy. Just put this line in your gunspec:

"Decal = Blah"

Just relpace blah with the path to a 1x1 pixel bitmap.
(I think this'll work, though I'm not sure.)

"I don't bite her, i just slobber on her" "I remember things as well as a retarded goldfish, who just swam through the chicago river"

Login to post a reply

Server time is: 2024-03-28 12:13:10
Your offset time is: 2024-03-28 12:13:10