Announcement
Announcement
| 2nd Quarter Contest Announcement posted! See the Community Announcements section. |
New threads (complete scripts) here will go into a moderation queue. You will not see your thread appear when you create it. A moderator will decide if it will be approved or denied.
![]() ![]() |
Jan 5 2010, 01:42 AM
Post
#1
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
Introduction This script adds a simple and easy-to-use alignment system to your game. This will allow the character to be good, evil, or anything in-between. You can even change it up from alignment to other stuff like Rank or Vampirism. Features - Adds Alignment - Easy to add/subtract points - Easy to make new alignment names - Adds alignment name in status menu - You can add tags to equipment/skills to require a certain alignment condition Screenshots ![]() ![]() Ignore the Hunger/Thirst/Nature parts on this one. They are from my other scripts. How To Use The alignment name and value match to the corresponding one in the other array. EX: In the default, "Very Evil" is the first name, and -100 is the first condition This means, if -100 or lower is the value of $game_system.alignment, the character will be "Very Evil". -------------------------------------------------------------------------------- How to change alignment: We have 2 command to change alignment points. sub_alignment(points) and add_alignment(points) In both commands, replace "points" with the amount of change you want in the character's alignment points. sub_alignment will subtract the amount of points. add_alignment will add the amount of points Script/Pictures Can be found here. Future Features - Weapons/armor/skills dependent on alignment DONE - Choose bewteen an in-game variable and add_alignment(points) DONE - Suggested Features FAQ Q: How do I add or subtract points? A: Read the Instructions! Q: How do I add more alignment names? A: Add the name, in quotes, where you want to. Then add the points requirement in the same place, but in the other array. EX: CODE ALIGNMENT_NAMES = ["Very Evil", "Kinda Evil", "evil", "neutral", "good", "very good"] I added "Kinda Evil" between "very evil" and "evil". Now I must add the requirement. CODE ALIGNMENT_CONDITION = [-100, -75, -50, 0, 50, 100] See how i added -75 between the requirement for "very evil" and "evil" just like i put "kinda evil"? Thats how. Credit and Thanks - Jet10985
- CrimsonSeas (rpgmakervx.net) - Piejamas (rpgmakervx.net) - Mithran (rpgmakervx.net) - Yanfly - OriginalWij - Synthesis This post has been edited by Jet: Sep 12 2010, 01:20 AM -------------------- ![]() Spoiler: |
|
|
|
Jan 5 2010, 03:21 AM
Post
#2
|
|
![]() The Interloper ![]() Type: Writer Alignment: Chaotic Evil |
This is cool. But, would it be possible to, instead of adding it to the status window, add it onto an HUD during the game? That would be cool.
(The only reason I request this is because I don't actually use a menu. XD.) -------------------- ![]() QUOTE "You die a lot. That's not healthy." QUOTE Real life contains glitches, what the %&$@? |
|
|
|
Jan 5 2010, 05:21 AM
Post
#3
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
This is cool. But, would it be possible to, instead of adding it to the status window, add it onto an HUD during the game? That would be cool. (The only reason I request this is because I don't actually use a menu. XD.) If you already have some sort of HUD script, I'd be happy to add it onto there for you. -------------------- ![]() Spoiler: |
|
|
|
Jan 5 2010, 10:05 AM
Post
#4
|
|
![]() Meowthos the zombie cat!! ![]() Type: Coder Alignment: Lawful Good |
nice script
-------------------- I've been away for a while. Here's my really quite old stuff
Spoiler: |
|
|
|
Jan 5 2010, 10:07 AM
Post
#5
|
|
![]() ![]() Type: Coder |
This is quite nice. Simple, but nice indeed
-------------------- |
|
|
|
Jan 5 2010, 10:57 AM
Post
#6
|
|
|
Pump up the pie, yo! ![]() Type: Coder Alignment: Neutral Good |
Lots of potential in this script
a few suggestions? - Adding the draw_alignment method to Window_Base for use in other scripts - Making skills/equipmenmt dependant on alignment - Making the alignment points a game variable(better for use in branches) - Making killing certain enemies affect alignment Good luck lol |
|
|
|
Jan 5 2010, 02:52 PM
Post
#7
|
|
|
Click the Pokémon Banner! ![]() Type: Undisclosed Alignment: Chaotic Neutral |
I really like this. But how Would I put this into Yanfly Scene Status Redux?
-------------------- |
|
|
|
Jan 5 2010, 07:14 PM
Post
#8
|
|
![]() Every Moogle's Worst Nightmare; plus ramen ![]() Type: Coder Alignment: Chaotic Neutral |
I really like this. But how Would I put this into Yanfly Scene Status Redux? I'm pretty sure you need to add the draw command from this script to the yanfly script. If that doesn't work, try changing script placement in your script list; aka, moving the script either above or below it. The draw command would be one of these lines: CODE def refresh jet5839_refresh # calls the old method self.contents.font.color = system_color # redefines the self contained font color self.contents.draw_text(290, 110, 500, 500, NAME_OF_ALIGNMENT + ":") # draws the name of alignment self.contents.font.color = normal_color # redefines the self contained font color self.contents.draw_text(400, 110, 500, 500, draw_alignment) # draws the alignment name in the window end # ending definition alias Alternatively, you could try Synthesize's Good VS Evil script (Good VS Evil). I myself use Synthesize's, in conjunction with the yanfly script, but this one looks simpler. Great script, Jet10985! This post has been edited by ???nOBodY???: Jan 5 2010, 07:16 PM -------------------- *It is time to update the Master Script List! Stop by and help out at the Master List Update Project.
*Oh? You have feedback for me? Take it to The Shadowed Topic. *By entering the RGSS2/Ruby Scripting section, you are agreeing to abide by The Coder's Creed. My Scripts Spoiler: ACK Script Requests Spoiler: My Heart (Resources) Spoiler: Projects Project AMBROSIA *something generically clever* Support Bars Spoiler: |
|
|
|
Jan 5 2010, 08:17 PM
Post
#9
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
@mithos: Thanks
@CrimsonSeas: Also thanks @Piejamas: -Next version -In a couple versions -I'll add an option for it -Can be evented @ZeroManArmy: I'll write up a patch to show it on YERD status Redux and YEZ status change thing. It''l be compatible is what i'm saying. @???nOBodY???: Thanks for trying to help him out, thanks for the compliment, and i understand you keeping Synthesis's since you probably already evented many alignment changes. @Everybody: If you need a patch to show the alignment anywhere, feel free to post a request here. EDIT: Added YERD Patch. Someone please tell me if it works. I'm too busy to grab the status ReDux. This post has been edited by Jet10985: Jan 5 2010, 08:41 PM -------------------- ![]() Spoiler: |
|
|
|
Jan 5 2010, 09:14 PM
Post
#10
|
|
![]() I'm in Despair! ![]() Type: Designer Alignment: Chaotic Neutral |
This is really good and simple I could use this for my next game that uses the ABS system.
-------------------- |
|
|
|
Jan 5 2010, 09:15 PM
Post
#11
|
|
|
Click the Pokémon Banner! ![]() Type: Undisclosed Alignment: Chaotic Neutral |
@ZeroManArmy: I'll write up a patch to show it on YERD status Redux and YEZ status change thing. It''l be compatible is what i'm saying. EDIT: Added YERD Patch. Someone please tell me if it works. I'm too busy to grab the status ReDux. I will test it right now! Where should the bar come up in the menu? Cause I didn't see it -------------------- |
|
|
|
Jan 5 2010, 09:57 PM
Post
#12
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
It's not a bar, it's text. I grabbed a copy of the redux and it appears under weight. Grab the newer patch i just posted.
-------------------- ![]() Spoiler: |
|
|
|
Jan 5 2010, 10:02 PM
Post
#13
|
|
|
Click the Pokémon Banner! ![]() Type: Undisclosed Alignment: Chaotic Neutral |
Still no luck.
-------------------- |
|
|
|
Jan 5 2010, 10:05 PM
Post
#14
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
Did you put the patch below both the ReDux AND alignment system? The order it goes in is...
Yanfly ReDux Alignment System Patch -------------------- ![]() Spoiler: |
|
|
|
Jan 5 2010, 10:12 PM
Post
#15
|
|
|
Click the Pokémon Banner! ![]() Type: Undisclosed Alignment: Chaotic Neutral |
Oh there we go. I Alphabitize my scripts because I so many. Alright thanks!
-------------------- |
|
|
|
Jan 9 2010, 05:01 PM
Post
#16
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
UPDATE: v.2 released.
Now includes the option to add note tags to skills and equipment. This allows you to set an alignment requirement so that the players cannot use/equip the items without being at that requirement or past it. -------------------- ![]() Spoiler: |
|
|
|
Jan 9 2010, 06:21 PM
Post
#17
|
|
![]() The Interloper ![]() Type: Writer Alignment: Chaotic Evil |
If you already have some sort of HUD script, I'd be happy to add it onto there for you. Sorry for the late reply, I've been kind of busy. I DO have a HUD script, can you tack it on there? Spoiler: -------------------- ![]() QUOTE "You die a lot. That's not healthy." QUOTE Real life contains glitches, what the %&$@? |
|
|
|
Jan 9 2010, 07:24 PM
Post
#18
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
Oh, the vampyr HUD. I'll make sure to write up a patch for you soon. Where do you want the alignment name to appear?
EDIT: Fixed some script-breaking bugs in v.2. Please obtain the newest version. This post has been edited by Jet10985: Jan 10 2010, 02:27 AM -------------------- ![]() Spoiler: |
|
|
|
Jan 10 2010, 04:26 AM
Post
#19
|
|
![]() ![]() |
Can someone help me
Every time i start the game an error pops up. ![]() ![]() I dont know if it because i added a few alignment names but this is what i have in my script. CODE ALIGNMENT_NAME = ["Scourge of Humanity", "Evil", "Fiend", "Outlaw", "Neutral", "Good", "Defender", "Saint", "Legand"] ALIGNMENT_CONDITION = [-100, -50, -25, -10, 0, 10, 25, 50, 100] # What the value of $game_system.alignment # needs to be to correspond to the alignment name NAME_OF_ALIGNMENT = "Alignment" # This is what alignment will be called altogether -------------------- |
|
|
|
Jan 10 2010, 05:06 AM
Post
#20
|
|
![]() He Who Jets ![]() Type: Coder Alignment: Lawful Neutral |
That's complete my fault. I apologize, but i spelled initialize wrong. AGAIN. The script has been fixed of THAT bug, but there is another that will be fixed soon. Please get the new version.
-------------------- ![]() Spoiler: |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 20th May 2013 - 10:38 AM |
|
|