Anyone can help me with Perks Plugin

Luminous

Veteran
Veteran
Joined
May 24, 2012
Messages
122
Reaction score
43
I try to use perks system on my project. But I'm not use actor parameter as requirement, I change the requirement with variable or swith requirement.


The question is, the requirement always show a text "secret" and not showing the variable name and value. Just like this.




And this is my notetag setup


<perk>


<name: test>


<requirements>


variable: 1 == 5


</requirements>


<rewards>


state: 11


</rewards>


<description>


Just testing


</perk>


Am I do something wrong? Because I already do everything listed on help page.


And for people willing to help me, the plugin is posted in this page





I hope anyone can help me with this because if true we can expand switch and variable use for this plugin perfectly (like show the requirements text) it's like every perks on skyrim or fallout will possible to implement in our project, like bribe perks, communication with NPC perks, etc.
 
Last edited by a moderator:

kiriseo

Veteran
Veteran
Joined
Oct 27, 2015
Messages
245
Reaction score
82
First Language
German
I've looked through the script code, and the "Req: Secret" is hard coded.


You'll get this when you use variables or switches.


And it makes sense, at least for me.


'Cause it would look kind of weird to have something like "SlimeKills == 5" in there, don't you think?
 

Luminous

Veteran
Veteran
Joined
May 24, 2012
Messages
122
Reaction score
43
I've looked through the script code, and the "Req: Secret" is hard coded.


You'll get this when you use variables or switches.


And it makes sense, at least for me.


'Cause it would look kind of weird to have something like "SlimeKills == 5" in there, don't you think?


Thanks for the reply,


Is there any way I can write the requirements with the only show text notetag? just like the description tag.


Oh that's make sense but if we can change the "secret" text to give a hint to our player it will be a good implementation.
 

kiriseo

Veteran
Veteran
Joined
Oct 27, 2015
Messages
245
Reaction score
82
First Language
German
Thanks for the reply,


Is there any way I can write the requirements with the only show text notetag? just like the description tag.


Oh that's make sense but if we can change the "secret" text to give a hint to our player it will be a good implementation.


It's not possible with the current state of the plugin.


But you could suggest this to the creater of this plugin.


You also could write the hints in the description tag.
 
Last edited by a moderator:

Luminous

Veteran
Veteran
Joined
May 24, 2012
Messages
122
Reaction score
43
It's not possible with the current state of the plugin.


But you could suggest this to the creater of this plugin.


You also could write the hints in the description tag.


Oh thanks, yes he still not reply my comment at his topic.


Oh it's a nice sugestion, I can just make a trash stats requirement to wipe out the "secrets" text


and then re-write my variable or switch hints on the description tag.


Thanks bro ^^
 

kiriseo

Veteran
Veteran
Joined
Oct 27, 2015
Messages
245
Reaction score
82
First Language
German
Oh it's a nice sugestion, I can just make a trash stats requirement to wipe out the "secrets" text


and then re-write my variable or switch hints on the description tag.


That would'nt work.


'Cause it uses the <requirements> tag to determine if you can get the perk.


If you don't use the variable/switch as a requirement, your characters can't get the perk when the condition of the variable/switch is met.
 

Luminous

Veteran
Veteran
Joined
May 24, 2012
Messages
122
Reaction score
43
That would'nt work.


'Cause it uses the <requirements> tag to determine if you can get the perk.


If you don't use the variable/switch as a requirement, your characters can't get the perk when the condition of the variable/switch is met.


yes, but how if we make stats requirement as low as possible like atk: 3, every player will easily take this. And then they read the description below, "you also need variable x: >= 150" they will said, oh ****, now I must grind for this variable value to unlock this perks. How about that?
 

kiriseo

Veteran
Veteran
Joined
Oct 27, 2015
Messages
245
Reaction score
82
First Language
German
If you only can use the perk when atk is at least 3 and variable x >= 150, you have to use the variable in the requirements tag, too.


The req text would then look like this: "ATK 3, Secret".


There is no way around that "Secret" in the req line when you want to use variables.


You have to be creative in case of the hints.


I'll make an example.


Let's say I have a perk that increases ATK by 30. The requirement for that would be killing at least 36 Slimes.


In the menu you'll only see "Secret" as requirement.


In the description, you'll see this:

Code:
You conquered a few dozens Slimes and survived.
You've got stronger through those encounters and gain +30 ATK.
 

Luminous

Veteran
Veteran
Joined
May 24, 2012
Messages
122
Reaction score
43
If you only can use the perk when atk is at least 3 and variable x >= 150, you have to use the variable in the requirements tag, too.


The req text would then look like this: "ATK 3, Secret".


There is no way around that "Secret" in the req line when you want to use variables.


You have to be creative in case of the hints.


I'll make an example.


Let's say I have a perk that increases ATK by 30. The requirement for that would be killing at least 36 Slimes.


In the menu you'll only see "Secret" as requirement.


In the description, you'll see this:



You conquered a few dozens Slimes and survived.
You've got stronger through those encounters and gain +30 ATK.


Oh my, so that would not remove the "secrets" text as well.


oh yeah that's nice idea. It's look like I must accept that secrets text as well and try to bring attractive word to make the player curious about the requirement grinding.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top