Class Graphics

This script allows you to change an actor’s face and character graphics
depending on the actor’s current class. Each class that your actor can change
to can potentially have its own set of faces and character graphics.

classGraphics1

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

Note-tag actors with

<class face: class_id face_name face_index>
<class char: class_id char_name char_index>

Where

`class_id` is the ID of the class you are assigning the face/char to
`face_name` is the name of the face graphic to use
`face_index is the index of the specific face on the face graphic
`char_name` is the name of the character graphic to use
`char_index` is the index of the specific character on the graphic

You can setup note-tags for each class that the character can change to.

The indexes are 1-based, so for example suppose you have the following face sheet (Ace specifications, 8 faces per sheet). The indexes are assigned as

classGraphics2

So assuming this sheet is stored as “Actor10” and we wanted to assign the two faces depending on whether we are class 1 or 2, we would have the following note-tags for an actor:

<class face: 1 Actor10 2>
<class face: 2 Actor10 8>

You may also like...

4 Responses

  1. Hi, It has come to our attention that you are using our client’s photographs on your site without a valid licence. We have already posted out all supporting documents to the address of your office. Please confirm once you have received them. In the meantime, we would like to invite you to settle this dispute by making the below payment of £500. Visual Rights Group Ltd, KBC Bank London, IBAN: GB39 KRED 1654 8703, 1135 11, Account Number: 03113511, Sort Code: 16-54-87 Once you have made the payment, please email us with your payment reference number. Please note that a failure to settle at this stage will only accrue greater costs once the matter is referred to court. I thank you for your cooperation and look forward to your reply. Yours sincerely, Visual Rights Group Ltd, Company No. 11747843, Polhill Business Centre, London Road, Polhill, TN14 7AA, Registered Address: 42-44 Clarendon Road, Watford WD17 1JJ

  2. Soul says:

    Help me, i put your script on my game, and i use comon events to change
    my character graphic and i change,and the event graphic disapear,and i get back to
    the first…. e.e My english is a crap xD

    Ayudame,puse tu script en mi juego, y todo funciona perfecto,pero cuando
    deseo cambiar el grafico de mi personaje con un evento,no por clase,el personaje
    desaparece al dar 3.4 etc pasos,y vuelve a mi character normal.
    Ejemplo= Item que me transforma en lobo y cambia el grafico del personaje,
    Lo uso y al momento vuelvo a ser normal… Ayuda,gracias.

  3. Anonymous says:

    What if we have more than 8 classes?

Leave a Reply to Soul Cancel reply

Your email address will not be published. Required fields are marked *