Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Naruto (Didnt know where to put this)

Hello Ive newly started a project, but its now made enough to be publiced. Instead I want to get some help.
First of all I made the system of learning skills through scrolls. its simple
First you gain/buy a scroll of your class, then when used you get a shop menu to buy for free the jutsus.
EX.
Naruto buys a Scroll of Genin,
When used according to Narutos "Chakra Level/Level" he can learn the following jutsu "Sexy no jutsu"
Naruto obtained "Sexy no Jutsu"
Naruto uses "Sexy no Jutsu"
Naruto learned Jutsu "Sexy no Jutsu"

The problems I have right now are!
1. how to make the scrolls class needed, meaning that a genin cant use a jounins scroll

2. how to make that when the shop menu appearing by using the scroll, then how to make so if im level 3 i cant use level 5 genin jutsu.
EX
Naruto is level 3
He buys a scroll of Genin
Naruto used it and learn level 3 Sexy no Jutsu
But since the level block doesnt exist (i dont know how to event it)
naruto also learn level 6 Replacement jutsu

3. What do you think would be better.
I have scrolls for every basic element, meaning.
Fire Scroll
Water Scroll
Wind Scroll
Lightning Scroll
Earth Scroll
So the question is
should the fire scroll teach you fire jutsus OR
should the fire scroll be needed for the fire jutsus in battle?


If anyone has solutions or Hints/Tips Please answer as fast as possible!
Thanks

Third333Strike: well as it states in the topic i didnt really get the where i should put this so if it needs to be moved the moderators will do it in a short matter of time, mean while just try to help me out? :)

EDIT: OMG IM GETTING MAD! 51 viewers and not ONE answer that has been to any progress ._. man am I that bad :down:
 

regi

Sponsor

I'd suggest the use of common events.

In Database->Items, make a scroll correspond to a CE. Then in the CE, have a bunch of conditional branches checking the level of the player. Also, if you don't have a "Name Input Processing" anywhere, you can use the "Name- Naruto is applied" conditional branch too, instead of the class.

Tell me if that wasn't clear enough.
 
Regi I thank you REALLY much for answering xD
well if you could make guide, cause i get what you mean but not enough so I could make it :down: im stupid :down:

Also if you would then please tell me what you think about problem .3
And again THANK YOU
 

regi

Sponsor

Okay, well, here's an example.

In Database->Common Events, put something like this:
Code:
@>Control Variable: [0001: Level] = [Naruto]'s Level
@>Conditional Branch: Variable [0001: Level] == 3
  @>Learn Level 3 Skill
 : End Processing
@>Conditional Branch: Variable [0001: Level] == 6
  @>Learn Level 6 Skill
 : End Processing

etc.

Then call the common event in Database->Items.
 
Thank you regi that was an easily understanable guide :) got it now! :)
But now to a harder question atleast to me.

now i didnt really need it to be level based, it was supposed to be class based but thats easily fixed with your guide :)

the problem was that when i used the Scroll Of Genin
1. it checks if im the class of Genin
2. if I am it opens a shoping menu
3. here I "learn" the skills, and I can learn as many as I like as long as im high level enough

theres the problem how can I make it not possible for my lvl 3 naruto-genin to learn a lvl 4 genin skill :S
 

regi

Sponsor

You can try, but it'll be extremely annoying, though.
Code:
@>Show Text: What do you want to buy?
@>Show Choices: "Scroll Level 1 for 5 gold", "Scroll Level 2 for 10 gold", "Scroll Level 3 for 30 gold"
       : If "Scroll Level 1 for 5 gold"
         @>Conditional Branch: Gold 5 or more
             @>Change Items: +Scroll Level 1
             @>Change Gold: - 5 gold
          : Else
             @>Show Text: You don't have enough gold!
       : If "Scroll Level 2 for 10 gold"
         @>Conditional Branch: Gold 10 or more
            @>Control Variables: [0001: Level] = Actor's Level
            @>Conditional Branch: Variable [0001: Level] >= 2
               @>Change Items: +Scroll Level 2
               @>Change Gold: - 10 gold
            : Else
               @>Show Text: You're not high enough level!
         : Else
            @>Show Text: You don't have enough gold!

You'll have to keep doing that for every single item you want to sell. It's probably easiest to just get a script, but if you want to try this method, go for it.
 
ohh regi i still dont seem to think you get the system.
the scrolls are "ranks/class" based and then when you use the scrolls you open a shop with all the "skills" for that class. then I want it to be so that some skills are disabled of buying because I dont have the required level
 
Okay sure I can
Code:
@>Conditional Branch: Varialbe [0001: Rank]>== 1
  @>Shop Processing: [Ice Style: Black Dragon Blizzard]
    :                        : [Ice style: Twin Black Dragon Blzzard
  @>
 : Else
  @>Text: You are not the rank of Genin
  @>
 : Branch End
@>

then I use a CE for the skill that i bind to the Ice Style: Black Dragon Blizzard that i buy from the shop, so when used i Learn the abillity if level is right
 

regi

Sponsor

Ahh, there's the problem. You can't set limitations for items you buy. You'll be able to buy the "skill" no matter what level you are.

You'll probably want to request a script that disallows you to buy an item if you're not high enough level. Otherwise, you'll have to go with the long method I posted above.
 
Well

CE Variable Rank=01
If
  CE variable level=02
if
    CE Variable level=03
If

    Else
Shop processing
Level 1 jutsu
Level  2 jutsu
  Else
Shop processing
level 1 jutsu
Else
Your not the rank of genin
 

regi

Sponsor

How about trying something like this?

Code:
@>Conditional Branch: Variable Rank == 1
  @>Conditional Branch: Variable Level == 1
     @>Shop Processing: All Level 1 skills for Rank 1
  @>Conditional Branch: Variable Level == 2
     @>Shop Processing: All Level 1 and 2 skills for Rank 1

@>Conditional Branch: Variable Rank == 2
  @>Conditional Branch: Variable Level == 1
     @>Shop Processing: All Level 1 skills for Rank 2

etc.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top