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 / Working Kill Counter

Author
Message
YSG
14
Years of Service
User Offline
Joined: 31st Jul 2010
Location: In your head
Posted: 26th Mar 2011 17:22
As I have not been able to find a kill counter on the forums, I have created one for version 1.18.

Attachments

Login to view attachments
YSG
14
Years of Service
User Offline
Joined: 31st Jul 2010
Location: In your head
Posted: 27th Mar 2011 04:10
Comment if you download it.
sic1ne
14
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 27th Mar 2011 05:47
i downloaded havent used it yet how do i use this script proper im guessing a triggerzone?

[imghttp://img97.imageshack.us/img97/6489/sic1ne.jpg[/img]
[/img]
flaming chainsaw
13
Years of Service
User Offline
Joined: 26th Jan 2011
Location: NARNIA, BRB GOING TO A LAND OF ADVENTURE
Posted: 27th Mar 2011 06:59
i downloaded it, but im not quite sure how to use it, cause i opened the fpi editpad and its says place image or place fpi. do i have to add things for it to work? or does it work on its own without any adding to the script?
YSG
14
Years of Service
User Offline
Joined: 31st Jul 2010
Location: In your head
Posted: 27th Mar 2011 20:17
@sic1ne
Put the main script in a trigger zone and the destroy in an entity. Don't forget to add a death script to run at the end.

@flaming chainsaw
You will need image files of numbers. Just put the file path to the image in the bracketed area. Remove the brackets. It should look something like the file attached.

Attachments

Login to view attachments
Design Runner
14
Years of Service
User Offline
Joined: 16th Oct 2010
Location: In my own little world.
Posted: 27th Mar 2011 22:33
O jeez, wouldn't a numerical HUD be easier? Or at least a lot smaller

The quick brown fox jumps over the lazy dog
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 28th Mar 2011 14:46 Edited at: 28th Mar 2011 14:47
I agree with Design Runner. Assuming you are using x9 v118 there is now a much simpler way of doing this.

1) make a script that sets up a HUD and a user variable like this:



The important things to note are "huduservar=" (needed to link the numerical HUD to a user global variable) and "hudtype=6" (needed so that the numerical HUD looks for the user defined variable).

2) add a line to your death script that increments the KillCount variable using "addvar=KillCount 1"

I hope this helps.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
YSG
14
Years of Service
User Offline
Joined: 31st Jul 2010
Location: In your head
Posted: 30th Mar 2011 02:08
That is much shorter.
I of course, have taken the long confusing route like I always do.
Most of my large files are due to my lack of shortcuts...
sic1ne
14
Years of Service
User Offline
Joined: 23rd Sep 2010
Location:
Posted: 31st Mar 2011 04:18
i can not figure out how to get the scripts to work? mayb some more detailed directions would help?

[imghttp://img97.imageshack.us/img97/6489/sic1ne.jpg[/img]
[/img]
YSG
14
Years of Service
User Offline
Joined: 31st Jul 2010
Location: In your head
Posted: 9th Apr 2011 19:14 Edited at: 9th Apr 2011 19:14
You put the file path to your image for your numbers in the file path segment of the main script. Then you go to the death script. Add the destroy script you want in the file path. Then put the main script in a trigger zone and put the destroy script in the destroy script part of the entity. Hit test game. Kill your entities and the counter should go up. By default in the original script the counter maxes out at thirty kills. That is the most detailed explanation that I can give you.

1 kill
___________

Login to post a reply

Server time is: 2024-11-24 11:38:04
Your offset time is: 2024-11-24 11:38:04