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 Product Chat / Player Stat System Implemented!

Author
Message
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 1st Dec 2005 16:55 Edited at: 1st Dec 2005 16:59
I posted a demo on the Showcase forum:
http://forum.thegamecreators.com/?m=forum_view&t=66145&b=25&p=0

Working Stats: Money, Armor, XP, Level

You can use one or all of the stats, just modify your setuplevel.fpi to remove whatever you don't want to show.

For those of you who wanted to script yourselves, I made some functions and conditions for use in your own .fpis, posting below.

Check for xp to implement your own level systems. I will add some gamewide modifiers soon for level to affect certain game mechanics.

I am not sure if this works for multiplayer, someone will have to test. Enjoy!!
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 1st Dec 2005 16:56
Sunflash
19
Years of Service
User Offline
Joined: 28th Jun 2005
Location: Seattle, Wa
Posted: 1st Dec 2005 21:29
Wow, this sounds great! Thanks for taking the time to share this with us!

When FPSC gets good enough, lets make a Redwall game!
=ChrisB=
19
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 1st Dec 2005 21:48
too bad it oesnt work in MP . But its still tricked out!!

Are you about to rock?

Then [b]I SALUTE YOU!!!
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 1st Dec 2005 22:00
at the risk of sounding geeky...

dim StatName$(50)
dim StatVal(50)
StatNum=0



tindex=aiactionseq(seq).value
Name$=actstring$(tindex)
for x=1 to StatNum
if StatName$(x)=Name$


I know you understand...
Now to start acting NON-Geeky!

My name is Lauren and you are funny. I like the funny Bunny!
=ChrisB=
19
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 1st Dec 2005 22:25
What the hell?

Are you about to rock?

Then [b]I SALUTE YOU!!!
Bloodeath 6 6 6
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: Sierra vista in indonesia
Posted: 1st Dec 2005 23:28 Edited at: 1st Dec 2005 23:30
Dph you rock! its a great idea... at the risk of sounding newbish where can we download just the normal files without an .exe?

---------
Dont hate
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 2nd Dec 2005 00:52
@OnePost, a generic stat system, certainly a great idea. I know simple greater less functions and conditions could also be made, I'm not sure what DB can handle yet, I've only had it a couple of weeks. If they had some sort of eval command that would be even better, we could move some powerful stuff into the .fpi scripts.

@Bloodeath. You mean the source? Sure, when I get back in tomorrow AM I will post it up.
Bloodeath 6 6 6
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: Sierra vista in indonesia
Posted: 2nd Dec 2005 03:46
Sweeeeeet you rock!

---------
Dont hate
smoked
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: USA - california
Posted: 2nd Dec 2005 04:04
nice!!! good work,
where do you get the dbp source code for FPSC?
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 2nd Dec 2005 15:29
It was released as part of the DBPro 5.9 BETA update.

For anyone who would like the source code for my modifications, here it is. It is different from the version I did last, in that it affects *just* players and not the whole entity structure. Ihad some problems introducing more than one custom stat on entities, haven't figured it out yet.

Attachments

Login to view attachments
smoked
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: USA - california
Posted: 3rd Dec 2005 05:15
so, when i updated DBP the installer placed the source code on my hard drive... correct?
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 3rd Dec 2005 05:23
If you downloaded the Extras, yes
smoked
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: USA - california
Posted: 3rd Dec 2005 07:59
grr..... looks like i'm going to need the expansion pack
Bloodeath 6 6 6
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: Sierra vista in indonesia
Posted: 3rd Dec 2005 08:19
im confused as to how to use the scripts

---------
Dont hate
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 3rd Dec 2005 13:16
You can use the .exe I provided to use the stat systems, don't need the source code unless you want to see how I did it.

Bloodeath, check out buyweapon.fpi... it is an example of using the new function. You assign it to the main script of a weapon pickup, and that weapon now costs 100!
Bloodeath 6 6 6
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: Sierra vista in indonesia
Posted: 3rd Dec 2005 19:02
oh okay i just thought youd just post the scripts we needed already in the format without a exe lol but thanks!

---------
Dont hate
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 3rd Dec 2005 20:47
I did Bloodeath, I'm not sure what you're asking I guess. The scripts are in the .zip
=ChrisB=
19
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 14th Dec 2005 02:40
I feel stupid but, what is "XP"?

Are you about to rock?

Then [b]I SALUTE YOU!!!
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 14th Dec 2005 03:14
XP is short for Experience....
Maybe I'm just getting old, but going waaaaaay back, you earned XP for doing things, and when that xp hits certain levels, you go up in level.

If you say 'what's "LEVEL"'... I'm gonna crumble.
=ChrisB=
19
Years of Service
User Offline
Joined: 23rd Jun 2005
Location: starring into a viewfinder
Posted: 14th Dec 2005 05:29
Whats level? HAHA! No, seriously. Could you implement a save/load feature?

Are you about to rock?

Then [b]I SALUTE YOU!!!
Sunflash
19
Years of Service
User Offline
Joined: 28th Jun 2005
Location: Seattle, Wa
Posted: 14th Dec 2005 07:29
Ok, I'm confused, what do I do to make it so I too can use these stat systems?

Would you want to make a tutorial on how to add stat systems?
This is really awesome!

When FPSC develops enough, lets make a Redwall game!

devild0g
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location:
Posted: 14th Dec 2005 11:21
Very good. I can already see the script to this! Keep up the great project you have going!

Semper Fidelis.
God Bless.
someonerules
19
Years of Service
User Offline
Joined: 12th Oct 2005
Location: In your closet.
Posted: 31st Mar 2006 05:19
What exe.?!

I hate sigs
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 1st Apr 2006 07:13 Edited at: 1st Apr 2006 07:14
brains for sell... 2 bucks each!


The link to the showcase thread... click it.

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)

Login to post a reply

Server time is: 2024-11-24 16:32:32
Your offset time is: 2024-11-24 16:32:32