Jump to content


Photo

CSCA Professions

csca professions

  • Please log in to reply
28 replies to this topic

#1 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 26 April 2013 - 10:25 AM

CSCA Professions
By: Casper Gaming (Casper667)
Last Update: July 18, 2013
Latest version: 1.0.3

Introduction
Allows you to easily create a powerful profession system in your game. Should be compatible with most other scripts that add similar functions.

Screenshots

The profession menu. Call with SceneManager.call(CSCA_Scene_Professions)
profmenu.png

If using the CSCA Toast Manager, automatic level up/down messages are displayed:

proflvup.png

How to Use
Place in your materials section. Setup required. Instructions in script.

 

Updates

version 1.0.1

- Cleaned code up a bit.
- Can now disable toasts for this script.
- Added toast for profession discovery.
 
version 1.0.2
- Profession icons should draw at the correct y coordinate now.
 
version 1.0.3
- Added faster access to profession level for achievement system.

Script
Text file is found here(copy and paste everything into your script editor in the materials section): LINK
Requires CSCA Core Script to work properly - Get it here!

Optional: For the automatic level up windows, you'll need CSCA Toast Manager - Get it here!

Optional: To easily add this script to the menu, use the CSCA Menu Organizer - Get it here!

 

Credit
Casper Gaming

Terms
http://www.caspergam...rms_of_use.html


Edited by casper667, 18 July 2013 - 02:44 PM.


#2 Sievnn

Sievnn

    Advanced Member

  • Guests
  • PipPipPip
  • 186 posts
  • RM Skill - Jack of All Trades

Posted 26 April 2013 - 10:42 AM

Nice work!


I Like Constructive Criticism but I don't like Negative Criticism of people who just say some thing is bad without saying why.
Giving up the battle doesn't mean its over.
Favorite games to come : The Adventure of High School Student/Catharis.

#3 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 27 April 2013 - 09:58 AM

Quick update :)

version 1.0.1

- Cleaned code up a bit.
- Can now disable toasts for this script.
- Added toast for profession discovery.


#4 Markchapman

Markchapman

    Mapper

  • Member
  • 4 posts
  • Locationbfe
  • RM Skill - Jack of All Trades

Posted 04 May 2013 - 02:14 AM

Hello, and thank you for this great script that will eventually save me alot of time with events. Though I'm having a slight problem, When I use your call script change_prof_exp(1,5) I get an error

 

 errordv.png

 

 I have also tried just the Core, professions  organized menus, and toasts scripts in another project and I got the same error. I do have the Core above all the scripts. Any suggestions or has any one else had this problem? 


Nothing interesting here......


#5 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 04 May 2013 - 08:32 AM

Instead of using the array number, use whatever you set :symbol to for the profession.

for example:

change_prof_exp(:cooking, 5)


#6 Hororo

Hororo

    Home run King

  • Member
  • 106 posts
  • RM Skill - Jack of All Trades

Posted 04 May 2013 - 09:29 AM

this is neat! i will definitely use it :P

 

does each characters have diff/individual professions or its party-based professions?


bball_zpsdbaf041f.png


#7 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 04 May 2013 - 10:28 AM

It's party based.



#8 BOSSBERRY

BOSSBERRY

    Title: Half-Scripter

  • Member
  • 287 posts
  • Locationcheck your closet
  • RM Skill - Coder

Posted 04 May 2013 - 01:45 PM

Awesome like runescape this could be perfect for my survival game should it be compatible with falcao crafting/gathering?

titleshinobi-e1393778239576.png?w=200

emblem2.png?w=250


#9 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 04 May 2013 - 02:58 PM

You could always try it and see :)



#10 Markchapman

Markchapman

    Mapper

  • Member
  • 4 posts
  • Locationbfe
  • RM Skill - Jack of All Trades

Posted 04 May 2013 - 08:46 PM

Wow, thanks I'll try that. =]


Nothing interesting here......


#11 Markchapman

Markchapman

    Mapper

  • Member
  • 4 posts
  • Locationbfe
  • RM Skill - Jack of All Trades

Posted 06 May 2013 - 10:33 PM

I got it, One, I had the scripts in the wrong place, they should have been core, then toasts. I also wasn't reading the script comments close enough the symbol is how the profession is displayed... 

 

 

edit: is there a way of using the levels? Is there a script call? So that i can use the level in a conditional branch?


Edited by Markchapman, 07 May 2013 - 12:23 AM.

Nothing interesting here......


#12 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 07 May 2013 - 01:25 AM

You could try this, it should work but I didn't test:

 

$csca.get_profession(symbol).level

 

where symbol would be the profession's symbol.



#13 Markchapman

Markchapman

    Mapper

  • Member
  • 4 posts
  • Locationbfe
  • RM Skill - Jack of All Trades

Posted 07 May 2013 - 02:17 AM

Got it thanks again. I linked it to A variable. =]


Edited by Markchapman, 07 May 2013 - 02:20 AM.

Nothing interesting here......


#14 Bunni89

Bunni89

    i shall rise like a phoenix... or a loaf of bread

  • Member
  • 770 posts
  • LocationCardiff, Wales
  • RM Skill - Jack of All Trades

Posted 12 May 2013 - 04:38 PM

Just wondering, is there a way to make this work with battles? I had some ideas and I'm not sure how to make them happen:
Profession gains EXP whenever you use a certain skill in battle.

Profession gains EXP whenever you win a battle with a certain character in the party. (Was gonna use this for a beastmaster character that gives you Demonology points by observing monsters.)

Profession gains EXP whenever you defeat a certain monster. (Something like you train Exorcism by killing zombies, etc)


.:: PERPETUAL NEWBIE ::.
...Like a million ideas but for now I need to practise...
My deviantART account: bunni89.deviantart.com


#15 poundcakery

poundcakery

    Newbie

  • Member
  • 7 posts

Posted 12 May 2013 - 04:43 PM

Nice script! I think I found a glitch, though: when I opened the professions menu, the icons were right on top of each other: 

 

post-21963-0-00453500-1368398545_thumb.p

 

I'd fix it myself, but my scripting ability is embarrassingly bad:)

Attached Files



#16 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 13 May 2013 - 09:28 AM

Just wondering, is there a way to make this work with battles? I had some ideas and I'm not sure how to make them happen:
Profession gains EXP whenever you use a certain skill in battle.

Profession gains EXP whenever you win a battle with a certain character in the party. (Was gonna use this for a beastmaster character that gives you Demonology points by observing monsters.)

Profession gains EXP whenever you defeat a certain monster. (Something like you train Exorcism by killing zombies, etc)

Well for the skills, you could add the change_exp script call into a common event associated with the skill. For the other 2 though I can't think of any easy way to do it. This script wasn't really made with combat "professions" in mind. Perhaps later on I'll make an add on with these features, but likely not any time soon.

 

 

 

Nice script! I think I found a glitch, though: when I opened the professions menu, the icons were right on top of each other: 

 

I'd fix it myself, but my scripting ability is embarrassingly bad:)

Script updated! :)
 

version 1.0.2
- Profession icons should draw at the correct y coordinate now.


#17 DarthVollis

DarthVollis

    Moogle Master

  • + Sponsor
  • 445 posts
  • LocationSivart's Casino
  • RM Skill - Pixel Artist

Posted 16 May 2013 - 12:13 PM

I have another script for fishing and I wanted the experience to increase each time that I caught a fish. Before your script I was using


def fish_experience
return $game_variables[24] += 1 if $game_variables[24] < 100
$game_variables[24] -= 100
$game_variables[100] += 1
end

My fishing experience was variable 24 and the level of fishing was variable 100.

Can you help me fix this so that I can use it for fishing using information from your script? I will also need this for any other profession that I create.

By the way your script says that it requires your core script of version 1.0.6+ but I cannot find a link to that version. I found the link to 1.0.5.

Edited by DarthVollis, 16 May 2013 - 12:14 PM.

MoogleFantasy_zpse4aab1d3.gif


#18 casper667

casper667

    Advanced Member

  • Member
  • 548 posts
  • RM Skill - Jack of All Trades

Posted 16 May 2013 - 03:08 PM

@DarthVollis Your fish_experience method would probably look like this:

def fish_experience
 $csca.change_profession_exp(:fishing, 1)
end

 

replace :fishing with your profession symbol and 1 with the amount of exp you want the party to gain. Level up/down will be handled automatically.

 

I also updated the core script to 1.0.6 now. It's nothing major though, only more detailed error/warning reporting.


Edited by casper667, 16 May 2013 - 03:59 PM.


#19 DarthVollis

DarthVollis

    Moogle Master

  • + Sponsor
  • 445 posts
  • LocationSivart's Casino
  • RM Skill - Pixel Artist

Posted 16 May 2013 - 06:39 PM

Thanks for that.


MoogleFantasy_zpse4aab1d3.gif


#20 WillianPDX

WillianPDX

    Newbie

  • Member
  • 1 posts

Posted 22 May 2013 - 02:51 PM

i can use for a condition ?
like : i'm lvl 2 and i need lvl 3 to cut a tree

' Sorry about my bad english i'm brazilian '







Also tagged with one or more of these keywords: csca, professions

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users