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 / Ammo question

Author
Message
Nrx
15
Years of Service
User Offline
Joined: 27th Jan 2009
Location:
Posted: 13th Feb 2009 13:28
Hi everyone, I wanted to ask you does anyone know how to make weapon NOT to reaload. I thinked something like in Unreal Tournament, where ther is no reloading animation but when you pick an ammo, ammo increases. Is there any script that could delete the reloading animation, and to remove the numbers in hud you know something like 12/36, to remove those numbers, and to be something like in UT. So its no reloading animation, and no numbers to show how much bullets you got left,
Thanks in advance,
-Nrx
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Feb 2009 15:48 Edited at: 13th Feb 2009 15:49
Go to:
Files/languagebank/<your language>/gamebank/mygame

Open the "setuplevel.fpi" file in Notepad.

Look for this line:


Put a semicolon ( ; ) in front of that line. This will "comment it out" making it so FPSC ignores it. Now, the numbers will no longer appear to show ammo count.

To make a gun HAVE ammo, but NOT require a reload:
Go to:
Files/gamecore/guns

Find the folder and subfolder for the gun you want to edit.
For demonstration, I'll choose the scifi/blaster. Go into that folder and open the "gunspec.txt" file.

Now, directly underneath where it says ";GUN Settings", add the following line:



You're now set. If you place a Blaster in your level and run the game, you'll see that not only do the ammo numbers NOT show up, but your blaster no longer reloads, it will simply shoot until it is completely out of ammo.


HAVE FUN!!!


[EDIT]

Can a Mod please rename this thread to something more specific? Thank you!

[/EDIT]


The one and only,


Nrx
15
Years of Service
User Offline
Joined: 27th Jan 2009
Location:
Posted: 13th Feb 2009 20:13
Thanks a lot !!!! I'am new to FPSC, so this is coming realy handy, thanks a lot!!!!

-Nrx
Nrx
15
Years of Service
User Offline
Joined: 27th Jan 2009
Location:
Posted: 14th Feb 2009 12:36
One thing Plystire, I thiked as I wrote in first post, is there a script, that CAN show how many ammo I got, but WITHOUT the ammo in resrve. Something like you have 16 bullets, and when you pick ammo to have 32 bullets. Thanks in advance, and sorry for the time I have taken from you,

-Nrx

Login to post a reply

Server time is: 2024-11-24 19:44:19
Your offset time is: 2024-11-24 19:44:19