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 / Scoring System

Author
Message
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 27th Apr 2012 16:50
Hi there

I'm just wandering if there is a possibily to conjure up a scoring system (XP if u will) in fpsc script?

I'll give you an example:

Say the player clears a level he can gain certain xp from shooting enemies and getting secrete packages, thus after hitting a certain level the player can proceed to the next level, if the player hits the winzone but doesent have the required amount of points then he has to redo the level and try and get the points he missed. does that sound feasable? if so who here wants to do it for cash? lol

[url="http://raptr.com/k2indahouse?src=em_forum"][/url]
Ross tra damus
3D Media Maker
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Looking to Escape London
Posted: 27th Apr 2012 16:59
Check out the link below its along those lines.

http://forum.thegamecreators.com/?m=forum_view&t=130281&b=24
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 27th Apr 2012 17:05
is that script easier to modify it for what i want?

[url="http://raptr.com/k2indahouse?src=em_forum"][/url]
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 27th Apr 2012 17:07 Edited at: 27th Apr 2012 17:09
*Ross beat me to it..*

Hi,

This would be very easily done using either the new or even the old global variable system.

Have an entity launch this first.



To add to the score, use something like this.



Finally use this to the winzome main script.



I've not tested this and it won't work as you'll need to alter the middle script for the required conditions, but it should work with a little effort.

SC
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 27th Apr 2012 17:17
okay thanks alot people


I'm not any good at scripting, and i would realy apreciate it if some one run me a step by step how to do it, if that seems alittle off then i would happily composate some one for thir hard work. i need this script really bad, make or break stuff here fellas

[url="http://raptr.com/k2indahouse?src=em_forum"][/url]
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 27th Apr 2012 17:28
The problem is is that the 'scoring' script will vary depending on what you need. For example the script for entering a zone, would be different from picking up an object, or activating an entity. So without knowing exactly what you'll need it's not as straight forward as writing you a script.
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 27th Apr 2012 17:35
I need two types of scoring:

A. I need a way for the player to get scores for killing foes. that score with coincide with score two

B. mega scores can be taken from picking up objects (Briefcases full of money and gold, that ort of thing.

Both those scores with emerge to form the level score. so for example to beat level one, you must reach 5000 score.

you can kill 25 odd foes in level 1 for 100 each. but for the rest of the 2500 you must go easter egg hunting. on each level there will be a mega scorer so if you find this amazing item you get the score to finish the level (automatic pick up means its an objective so ends game.)

I want the score to apear on the screen and carry over to the next level. i hope that explains with out giving away my game disclosure lol

[url="http://raptr.com/k2indahouse?src=em_forum"][/url]
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 27th Apr 2012 17:49
Yes, that's clear.

I don't have time this weekend to look at this, but I might be able to next week.

Maybe someone else has more spare time. In the meantime I really recommened that you have a go at scripting this yourself, it's not that difficult and you've been given a very helpful link and some code from me that really will set you on the right path. You'll only benefit from it
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 27th Apr 2012 17:52
i apreciate that but im on a very tight shedule, i think this script needs to be done by some one who really knows what they are doing. i really do believe some one with experience would maximize the potential of the game with this script, so id apreciate any ones help. but obviousley ill try it my self aswell.

[url="http://raptr.com/k2indahouse?src=em_forum"][/url]

Login to post a reply

Server time is: 2024-11-24 00:06:48
Your offset time is: 2024-11-24 00:06:48