Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [Eventing] How to Implement Karma / Alignment, People react differently to you depending on your Karma
diamondandplatin...
post Jun 3 2012, 08:04 AM
Post #1


Level 5
Group Icon

Group: Member
Posts: 72
Type: Writer
RM Skill: Skilled
Rev Points: 45




This is a tutorial on how to implement Karma into your game.

Karma is similar to alignment in Fable, in that people will react differently to you depending on how your Karma is.

You may also see the attached project for the finished set-up of this system (including comments).




Full Screen Here: http://www.youtube.com/watch?v=Ui30cK2yxow


Full Screen Here: http://www.youtube.com/watch?v=rNBnzY3jGlk



Good Luck to you.


Attachment ~ Karma Eventing.exe

This post has been edited by diamondandplatinum3: Jun 6 2012, 05:55 AM


__________________________
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Night_Runner
post Jun 4 2012, 02:57 AM
Post #2


Level 50
Group Icon

Group: +Gold Member
Posts: 1,529
Type: Scripter
RM Skill: Undisclosed




Nice tutorial, I just had a suggestion about your method though.

You've used
CODE
Conditional Branch: Variable [Karma] >= 200
  Control Variables [Karma] = 200
Branch End
Conditional Branch: Variable [Karma] <= 0
  Control Variables [Karma] = 0
Branch End


I would recommend changing 'greater than or equal to' to 'greater than' and 'less than or equal to' to 'less than'.
Whenever you set a variable, every single event on the map refreshes, (they load through every page, checking if the page is valid and should be shown, and then all the event sprites get regenerated, and all their commands get reset, ect), which is effectively trashing the entire map and reload everything, which can obviously lead to a lot of lag. Especially if it's done 60 times per second.

Otherwise, thanks for the tutorial happy.gif I watched both, you're really good at teaching.


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
diamondandplatin...
post Jun 4 2012, 06:52 AM
Post #3


Level 5
Group Icon

Group: Member
Posts: 72
Type: Writer
RM Skill: Skilled
Rev Points: 45




You are correct 'Night Runner'

It was one of those things that I noticed after I ended the initial video, so that little error was panicking on my part ;_;
I'll edit the video on youtube to show an annotation correcting this.

Thank you smile.gif


__________________________
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 09:32 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker