Author Topic: [XP] Character Races  (Read 18757 times)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
[XP] Character Races
« on: January 29, 2010, 03:34:35 AM »
Character Races
Authors: game_guy
Version: 1.0
Type: Character Customization
Key Term: Actor Add-on

Introduction

Adds character races to your game. If you've played oblivion its a lot like that. Pretty much each race has its own stat bonuses, skill bonuses, and name.

Features

  • Have unlimited races
  • Have stat bonuses
  • Have skill bonuses

Screenshots

N/A

Demo

MediaFire

Script

(click to show/hide)

Instructions

In the script.

Compatibility

Not tested with SDK.
Tested with Blizz-Abs and works. (It was actually made for Blizz-Abs but it works for most battle systems as well.)

Credits and Thanks

  • game_guy ~ for making it
  • Bethesda ~ for making oblvion which this script is based from

Author's Notes

Please do give proper credit for the maker. This script was made for a game I'm working on with a friend. I thought it'd be cool to release it though.
Enjoy!
« Last Edit: January 29, 2010, 04:21:08 AM by game_guy »

Offline ShinyToyGuns

  • Awakened Visionist
  • **
  • Posts: 71
  • LV: 1
  • Gender: Male
  • Avid Shiny Toy Guns fan
    • View Profile
Re: [XP] Character Races
« Reply #1 on: January 29, 2010, 03:50:45 AM »
I'm definitely gonna have to try this out :D

I personally LOVE the Elder Scrolls series, and this seems like it would be a great addition to my game :D

I'll let you know what I think ;)

One question...does this script go below all others?

Another question just came to mind...is there a way to show the race name in-game, and how do I assign each actor a different race? (i.e. Orc Fighter)
« Last Edit: January 29, 2010, 04:05:08 AM by ShinyToyGuns »
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Character Races
« Reply #2 on: January 29, 2010, 04:07:29 AM »
if you read the instructions you'd know to use this.
Code: [Select]
$game_actors[actor id] = race id
Place it above blizz's scripts and below all others.

and glad you like it :)

Offline ShinyToyGuns

  • Awakened Visionist
  • **
  • Posts: 71
  • LV: 1
  • Gender: Male
  • Avid Shiny Toy Guns fan
    • View Profile
Re: [XP] Character Races
« Reply #3 on: January 29, 2010, 04:10:50 AM »
Apparently, there's some sort of syntax error on line 75...I didn't make any changes to the script either...Would the actors have to have skills assigned to them for this to work?
Days
I've missed so many days
In a world that has become an unfamiliar place
Now to you, I'm just an unfamiliar face

~Shiny Toy Guns, Blown Away (2008)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Character Races
« Reply #4 on: January 29, 2010, 04:21:16 AM »
My bad. I fixed it.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Character Races
« Reply #5 on: January 29, 2010, 12:45:54 PM »
There's much sex in this young one. :V: *levels up*
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline WhiteRose

  • Trying to code in Ruby
  • Moderator
  • Lexima Warrior
  • ***
  • Posts: 2341
  • LV: 127
  • Gender: Female
  • <3
    • View Profile
Re: [XP] Character Races
« Reply #6 on: January 31, 2010, 05:58:01 PM »
Just a suggestion for the next version, maybe you should make it so certain races have weaknesses to certain elements (Orcs and goblins are weak against fire, etc.) This would also allow the creation of weapons more effective against certain races, such as silver weapons being strong against demonic races. That's just an idea that you might want to implement if you update in the future, though; the script is already great.

Offline Eternal

  • Trained Member
  • *
  • Posts: 33
  • LV: 1
    • View Profile
    • RMXP Stuff
Re: [XP] Character Races
« Reply #7 on: February 01, 2010, 07:38:00 PM »
wait a second, couldn't you just give the actor the bonuses from the start...? and with the skill bonuses, wouldn't it just be a simple matter of assigning a unique class for every actor so that their skills could be unique or "with a bonus"?

lol, I'm most likely gonna use it, but to me it kinda seems as pointless as the existance of for example hannah montanna, or the thinking of the us government...

Offline [Faint]

  • Transcended Spirit
  • ***
  • Posts: 182
  • LV: 6
  • Gender: Male
  • "Sit upon the frozen heavens."
    • View Profile
Re: [XP] Character Races
« Reply #8 on: February 01, 2010, 08:17:59 PM »
@Eternal : this script is great for orginization. Also it can be a pain  if you have a larger amount of classes in your game to sit there and and create another class for each race. Say for example you have 15 classes and 5 races, with this script you can easily setup the bonus for being a certain race, but using the method you suggest, you would have to make and configure 75 different classes. So which seems easier? :P
Scripts by me - State Requirement Skills
current project - Project: AURA

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Character Races
« Reply #9 on: February 01, 2010, 11:46:17 PM »
@faint: Thanks for backing me up!

Also for the custom version I have the stat multiplier done like STR * 1.5 but learning a skill at a different level isn't quite done. It will be though so just gotta wait.

Offline [Faint]

  • Transcended Spirit
  • ***
  • Posts: 182
  • LV: 6
  • Gender: Male
  • "Sit upon the frozen heavens."
    • View Profile
Re: [XP] Character Races
« Reply #10 on: February 01, 2010, 11:50:44 PM »
ok no problem man but just wondering how did you go about doing the multipliers? Only wondering because I am trying to get better at scripting myself and was trying to figure it out myself. I managed to get it it partially working =p
Scripts by me - State Requirement Skills
current project - Project: AURA

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Character Races
« Reply #11 on: February 02, 2010, 12:03:13 AM »
Well in the setup_race method I changed all the minuses to /= and all the pluses to *=. It was very simple. :D So you could go ahead and add that yourself. I'm trying to find a fairly easy way to setup the skill level.

Offline [Faint]

  • Transcended Spirit
  • ***
  • Posts: 182
  • LV: 6
  • Gender: Male
  • "Sit upon the frozen heavens."
    • View Profile
Re: [XP] Character Races
« Reply #12 on: February 02, 2010, 12:05:14 AM »
omg I actually got it right bwahahaha. I just hadn't tested it yet. I don't feel like such a noob anymore lol. For the skills I wonder if "skill_can_use?" would work? I am gonig to try and figure out my idea about elemental efficiencies for the races.
« Last Edit: February 02, 2010, 12:07:55 AM by [Faint] »
Scripts by me - State Requirement Skills
current project - Project: AURA

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Character Races
« Reply #13 on: February 02, 2010, 12:10:25 AM »
I already added that as well(element efficiancies) :S

I'm almost done with the levels hopefully I'll have it done tonight.

Offline [Faint]

  • Transcended Spirit
  • ***
  • Posts: 182
  • LV: 6
  • Gender: Male
  • "Sit upon the frozen heavens."
    • View Profile
Re: [XP] Character Races
« Reply #14 on: February 02, 2010, 12:15:46 AM »
well then I do believe I love you :P
Scripts by me - State Requirement Skills
current project - Project: AURA

Offline Eternal

  • Trained Member
  • *
  • Posts: 33
  • LV: 1
    • View Profile
    • RMXP Stuff
Re: [XP] Character Races
« Reply #15 on: February 02, 2010, 11:17:31 AM »
@faint aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhh. +@game_guy not too stupid actually...

Offline [Faint]

  • Transcended Spirit
  • ***
  • Posts: 182
  • LV: 6
  • Gender: Male
  • "Sit upon the frozen heavens."
    • View Profile
Re: [XP] Character Races
« Reply #16 on: February 02, 2010, 04:51:40 PM »
Everything is easier when you break it down  8)
Scripts by me - State Requirement Skills
current project - Project: AURA

Offline Godsigma

  • Trained Member
  • *
  • Posts: 20
  • LV: 1
    • View Profile
Re: [XP] Character Races
« Reply #17 on: February 03, 2010, 04:50:44 AM »
game_guy, you are my hero. you have made my job so much easier right now i could cry.... my game will pass though the troubled times of my lacking RGSS skills and shall become a blossoming sakura (Cherry) tree and shall bear fruit of wisdom and love for pain and suffering of gamers. truly this night has been blessed for me to return from my stupor and lack of internets... hail odin....

Offline Eternal

  • Trained Member
  • *
  • Posts: 33
  • LV: 1
    • View Profile
    • RMXP Stuff
Re: [XP] Character Races
« Reply #18 on: February 03, 2010, 11:02:07 AM »
 8-O

Offline phillip1756

  • Transcended Spirit
  • ***
  • Posts: 109
  • LV: -11
    • View Profile
Re: [XP] Character Races
« Reply #19 on: February 03, 2010, 08:54:25 PM »
cool