Chaos Project

RPG Maker => Event Systems => Event System Database => Topic started by: GAX on June 30, 2008, 07:23:50 pm

Title: [WIP] [TUTORIAL]Affection System
Post by: GAX on June 30, 2008, 07:23:50 pm
Affection System
Version: 1.0
Type: Gameplay Enhancement



Introduction

Many people have played atleast one Dating Simulator game in their lives, so you should know how this works.  The affection system relies on variables for individual people in order to provide different outcomes in the game.  The higher the affection, the more a girl likes you.  This affection variable can be used for many things, from being items to events involving the two character that could be entering a contest, going on a date, or going to a love hotel and...nevermind.

This affection system is meant to help within RPGs to assist in adding somre more functions into the game, and can be especially useful in games where a character does not have an established love interest, but you want some form of romance in the game.


Features




Screenshots

I'll include some later...


Demo

No Demo ready as of yet, be on the lookout.


Instructions

Create a Sample Character.  Depending on what you're using the system for, choose the style of character.  In this case a girl using the 118-Civilian18 character set.  Since this character is going to be a Love Interest character, we'll use two variables for her, a Friendship Variable and a Love Variable.  The Love Variable comes in later, for now let's start with the Friendship Variable.   Make the following conditional branch.

Conditional Branch: Variable [000X: Girl 1 Friendship]==0
@>Text: (This girl dresses fairly plain, but she's extremely adorable.)
@>Show Choices:  Introduce, Leave Alone
  : When [Introduce]
   @>Text: [Young Girl]
    :   :Um....hi...
    :   :(She looks extremely cute, but very shy too.)
   @>Control Variables: [000X: Girl 1 Friendship] +=1
   @>
  :When [Leave Alone]
  @>
: Branch End
Else
@>
Branch End
@>


By saying hi to the character, you've added the initial variable for the girl, so her friendship level would be "Introduced Self".  For this system, you can determine your own level values, but a simple one would be a 15 level system with a few ranks.



Now, as seen there's a point where it says Comfortable with Accepting Basic Gifts.  This would be just normal stuff, like food, accessories, etc., but nothing exravagant.  This will be explained in detail later.

(Working on Next Part...)



Credits and Thanks




Author's Notes

This is a work in progress, so please bear with me, I may not be able to update it a lot but it'll be done eventually.  Also, there is chances it may be buggy, so please, if you have any ways to improve this, I'll add your improvements and credit you in the creation of the system.


Title: Re: [WIP] [TUTORIAL]Dating Simulation/Affection System for Games
Post by: Calintz on June 30, 2008, 11:48:03 pm
Ooh...
I am keeping in touch on this one.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: GAX on July 26, 2008, 05:44:42 pm
Bumping for great  :^_^':
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Fantasist on July 27, 2008, 12:33:38 am
Nice :)
You might also want to involve some 'luck' in the system by using the random function in the variable operations. How well the maker uses it might go a long way in replay value.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Starrodkirby86 on July 27, 2008, 12:54:49 am
This would be an original turn on the Dating Sims formula, but unfortunately of the ones I played (Albeit suck-ish) they never had a luck element. It was mainly choose the right choice/get it on. :naughty:

This is rather a suggestion supporting Fantasist, but if luck is involved, maybe the girl should some "AI". This would help all those lame otakus who think Dating Sims are like real women.  :roll:

This I know how to do already, but I'm watching closely. Enterbrain's old company part, ASCII made a Dating Sim Maker 95. I can't find it, but I heard it was notorious for H-Games. :/
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Fantasist on July 27, 2008, 01:10:45 am
Well, the luck IS a primitive means of AI. We can code use many variables for a 'character' and change them too, which would be a pain not worth taking. I don't know about dating sims but this system can be used in other ways in games, like allies whose stats depend on the friendship, etc.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Blizzard on July 27, 2008, 06:09:53 am
Here's an idea for the system structure:



Hm... Maybe I exagarated it a bit (even though I'm not even close to reality)... :^_^': Anyway, the first four things are very easy to make. You simply need a few variables to keep track of when and how somebody gave gifts/met that person.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: GAX on July 27, 2008, 06:38:06 am
Man, you guys, let's just make this a collaborative work.  Setup the  ideas you have and post them, I'll add them into the main tutorial in sections and ther can be  really crazy event system.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Blizzard on July 27, 2008, 06:51:46 am
I'm starting to think that the engine should be rather a script which has script calls that are called from the event. =/ Well, only if you are going to use my advanced ideas. xD
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: GAX on July 28, 2008, 04:36:38 am
Might be a good idea.  Especially because if we work with a script, we could probably add something like an Affection Monitor or something like that.  Make it something that could have a call too, so you could either limit the monitor to a thing like a computer at your home area or save point, or put it in your menu.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Satoh on October 22, 2008, 06:41:57 am
Here's a thought, in order to make it versatile enough for an RPG, if you say or do too many bad choices, the character leaves the party entirely... (or refuses to ever speak with you or something...)

For that matter you could also use it as a way to recruit secret characters.... however, due to the scope of this idea... It probably would be better suited to a script...

I'd be willing to use it either way.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: legacyblade on October 22, 2008, 02:27:35 pm
I actually think I might make a script with some of the features blizz mentioned. Dang, that'd be cool! It would be even cooler if you had "people" events that had hearing and sight range, which effected what gossip got picked up by said person. And depending on that person's relationships and personality, it would effect who the gossip would spread too. I don't think I'm that ambitious, but a feature rich affection system would be cool.
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Blulightning on October 22, 2008, 05:36:00 pm
To add/comment on Blizzard's feature suggestions:

1) A script form would be nice. It would compact all the features, plus a cool window screen would be *sweet*
2) Different gifts for different people affect relationship differently. i.e. A girl who's allergic to chocolate would dislike you more if you got her chocolates
3) Marriage???
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: legacyblade on October 22, 2008, 05:39:16 pm
yeah, you could easily do a harvest moon style gift thing with an array. In fact, I think I have a few ideas on how to do it. If I'm not too busy over the weekend, I could try it (and the marriage would be easy with events.)
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Memor-X on October 22, 2008, 07:28:14 pm
really everything suggested could be done with only Events, you'll need a DDNS to get time and Blizzards DDNS Take 2 would be perfect since it manages time, date, days, months and years, so you could have birthdays, aniverseries, other special holidays, where you can get rewards for doing something to the friend (such as a hug, a gift in return, a kiss or something more) ofcause, the window would have to be scripted (then the whole thing becoems the SDK's bitch) unless someone can build a scripted windows using events

QuoteDifferent gifts for different people affect relationship differently. i.e. A girl who's allergic to chocolate would dislike you more if you got her chocolates

Quoteyeah, you could easily do a harvest moon style gift thing with an array

you could do it with a common event actuly, here's a rough idea how it would be

NOTE: this is in Pseudocode code
show choices: talk, give item, leave
     choice: give item
          show choice: flowers, chocolate, blue feather
               choice: flowers
                    if flowers is owned then
                         relationship level +1
                         chnage items -1 flowers
                    else
                         show message: you don't have any flowers to give
               choice: chocolate
                    if choclocate is owned then
                         if switch <friends name> is on
                              show message: "what are you trying to do, you know i'm allergic to chocolate"
                              relationship level -2
                         else
                              relationship level +1
                              chnage items -1 chocolates
                    else
                         show message: you don't have any chocolates to give
               choice: blue feather
                    if blue feather is owned then
                         if relationship level is <marrage level>
                              show message: "ofcause i'll marry you"
                              chnage items -1 blue feather
                         else
                              show message: "ummm, i think we're not realy for that yet"
                    else
                         show message: you don't have any blue feather to give


ofcause this is only the give gift system, i know how the rest would go (in theory)

you'll have this in a comman event and call with whem you talk to the character, before you call the common event, you would have a switch for that character turned on, and when the relation level incresses or decresses, you'll have a condition to check for the switch that is on

infact, i've been workin on theories only for a system like this ready for a game i'll make where at a stage, you'll be able to date a character and the two of you can fuse together, this fusion form is as power as the relationship, if you and the character are madly in love, your invincible, if you fail to treat the character right, this fusion form will be easy for your enemy to defeat, ofcause, the one i work working on the theories for was for only 1 character to date but with some mods to the theory, it can be used for many more character, GuardianAngelX72, if you need help with this system i'm your guy
Title: Re: [WIP] [TUTORIAL]Affection System
Post by: Blizzard on October 22, 2008, 07:35:43 pm
Yeah, ATES is based on the idea that you can use it interactively for different purposes. Sadly I don't have time to keep wokring on it and WcW seems to have disappeared again. ._.