Party Game Stats

Go down

Party Game Stats

Post by IMP1 on Tue Aug 24, 2010 9:54 am

Party Game Stats
By IMP1
Version 2.0

This script enables a stats window that you can call with $scene = Scene_Stats.new
Coming soon:
Calling Stats from the menu. Soon being, like, tomorrow? I just wanted to get this out there.

Party Game Stats Link:
http://www.files.evoxy.net/users/imp1/RMVX%20Scripts/Party%20Game%20Stats.txt

Instructions:
Spoiler:
* Edit as fit.
* Use the following event command:

$scene = Scene_Stats.new

to call the Stats window.

* Enjoy

Credits are in the Script.

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Tue Aug 24, 2010 4:56 pm

It looks good! I could see this being used in a plenthora of games! exellent job! Cant try it right now though... wrong CPU
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by crazedanimekid on Fri Aug 27, 2010 6:49 am

Looks great IMP.
avatar
crazedanimekid
Platinum Cookiez
Platinum Cookiez

Posts : 501
Gald : 1277

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Fri Aug 27, 2010 11:15 pm

Hmm, do you have any screenshots of it??
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by IMP1 on Sat Aug 28, 2010 1:55 pm

No, but it's a good idea. I'll whip some up later today, or tomorrow morning.

I think I'll also whip up a menu-customiser thingy. So you can add this (and anything else you guys can think of - quest systems, custom book things, etc) to your menu.

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Mon Aug 30, 2010 4:24 pm

Ah wow! That is amazing! It must have taken forever to do though... Exellent job! I hope to see more of you! Razz
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by Catcat on Mon Aug 30, 2010 4:26 pm

Wowza! I've been waiting for this ever since I heard of it! Very Happy

This is most exciting!
avatar
Catcat
Cookie Follower
Cookie Follower

Posts : 182
Gald : 548

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by IMP1 on Mon Aug 30, 2010 5:42 pm

Dawningstar and cat2. Thanks Very Happy

Oh, and it can now be accessed from the menu with my ECM script.

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by crazedanimekid on Mon Aug 30, 2010 7:48 pm

I think you could extrapolate from this and add on a ranking system that would award a grade based on the final party stats at the end of a game, or between each stage/chapter/etc.

I was doing something like that before, but never finished it, and this script just reminded me of that idea.

I'd be happy to expound upon this later, let me know.
avatar
crazedanimekid
Platinum Cookiez
Platinum Cookiez

Posts : 501
Gald : 1277

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Tue Aug 31, 2010 6:06 am

Yeah, actually that would be pretty cool... I wouldnt mind seeing something like that!
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by Kyle? on Sat Sep 18, 2010 7:42 pm

Ummm I got this Error

Code:

Script 'PGS[IMP1]' Line: 641 NoMethodError occured.
undefined method `impcomma' for 0:Fixnum

Oh and I'm using the ECM
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by IMP1 on Sun Sep 19, 2010 10:44 am

Aha. You need my Ruby and RGSS2 Methods

http://www.files.evoxy.net/users/imp1/RMVX%20Scripts/Ruby%20%26%20RGSS2%20Methods.txt

Place it above any script of mine.

I thought I included the necessary methods in the script, but obviously not... :/

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Sun Sep 19, 2010 3:57 pm

Hrmm... I didnt get a chance to try it until now... got the same error!

* Edit: Lol, didnt see your post XD thanks! *
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by Kyle? on Sun Sep 19, 2010 8:02 pm

Another Error IMP when I use the "Get All Items" script code from the Tankentai Demo

I get this
Code:

line 266: NoMethodError occured
undefined method `*' for nil:NilClass
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Sun Sep 19, 2010 8:04 pm

Hmm, it works fine for me!! Thanks!
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by Kyle? on Sun Sep 19, 2010 8:08 pm

The Creator wrote:Hmm, it works fine for me!! Thanks!
Do you use this code in an event?
Code:

for i in 0...$data_items.size
$game_party.gain_item($data_items[i],99)
end
for i in 0...$data_weapons.size
$game_party.gain_item($data_weapons[i],99)
end
for i in 0...$data_armors.size
$game_party.gain_item($data_armors[i],99)
end
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Sun Sep 19, 2010 8:22 pm

Oh lol... I didnt use the Takenai code or anything... it just seemed to work well with all the other scripts I had though...
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by IMP1 on Mon Sep 20, 2010 4:47 am

Well I aliased that method...

try going to the beginning of line 251, which should be
Code:
imp_pgs_gain_item(item, n, include_equip)
and pressing return to make line 251 blank, and entering in this code:
Code:
worth = 0

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by Kyle? on Mon Sep 20, 2010 5:52 pm

IMP1 wrote:Well I aliased that method...

try going to the beginning of line 251, which should be
Code:
imp_pgs_gain_item(item, n, include_equip)
and pressing return to make line 251 blank, and entering in this code:
Code:
worth = 0
Um... That's on line: 248
This is line 251:
Code:

worth = $data_items[item.id].price

Do I replace 251? or 248?
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Mon Sep 20, 2010 6:11 pm

Go with 251... I assume that would work since that is what he said.
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by Kyle? on Mon Sep 20, 2010 6:37 pm

Ok I tryed 251 didn't work I tryed 248 it said something about line 252 and a +
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by The Creator on Mon Sep 20, 2010 7:58 pm

Hmm, then I would try 248 like you said! and if that wont work then just wait for IMP1 to reply!
avatar
The Creator
Legendary
Legendary

Posts : 786
Gald : 920

Stats
Cookies: 0

View user profile

Back to top Go down

Re: Party Game Stats

Post by IMP1 on Tue Sep 21, 2010 8:37 am

Don't be replacing anything. Just stick the line
Code:
worth = 0
1 line before the
Code:
imp_pgs_gain_item(item, n, include_equip)
Of course I don't know if this will work. If it doesn't try putting my code underneath the Tankentai and vice versa (to see which one works).

__________________________________
Code:
"haystack".scan(/needle/)
avatar
IMP1
Coding Moderator
Coding Moderator

Posts : 503
Gald : 1399

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by Kyle? on Fri Sep 24, 2010 1:50 am

IMP1 wrote:Don't be replacing anything. Just stick the line
Code:
worth = 0
1 line before the
Code:
imp_pgs_gain_item(item, n, include_equip)
Of course I don't know if this will work. If it doesn't try putting my code underneath the Tankentai and vice versa (to see which one works).
The Tankentai code is in game not in the script of Tankentai

EDIT: Oh and it's working now
avatar
Kyle?
Platinum Cookiez
Platinum Cookiez

Posts : 500
Gald : 418

Stats
Cookies: 5

View user profile

Back to top Go down

Re: Party Game Stats

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum