Ambrosia Garden Archive
    • Class Picts?


      How do I make each of my classes have a different pict like in trinity with the ranger, wiz and swordsman all having different pics when they start?

      ------------------
      Lineage..... Online internet game..... any of you guys play??? IT ROCKS!!!(www.lineage.com)

    • When you enter your first map, have a local initialisation event check the conditional of tag &&Job.; If it is equal to, say, sorceror, then have it call a Player Map Icon event. And so on.

      -Andiyar

      ------------------
      "Any good that I may do here, let me do now, for I may not pass this way again"

    • Quote

      Originally posted by Tarnćlion Andiyarus:
      When you enter your first map, have a local initialisation event check the conditional of tag &&Job.; If it is equal to, say, sorceror, then have it call a Player Map Icon event. And so on.

      And don't forget the obvious that he needs to first create all the pictures for all the classes. That, I believe, is the lion's share of the work. Once you have all the pictures and have set up the animation, then you can simply switch between them based on class by using the Player Map Icon as Tarn pointed out.

      ------------------
      (url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
      (url="http://"http://stark.evula.net")Stark.evula.net(/url) now on (url="http://"http://www.evula.net")EVula.net(/url)

    • Quote

      Originally posted by Tarnćlion Andiyarus:
      **When you enter your first map, have a local initialisation event check the conditional of tag &&Job.; If it is equal to, say, sorceror, then have it call a Player Map Icon event. And so on.

      -Andiyar

      **

      How do I do this, like what event and how do I use it?

      ------------------
      Lineage..... Online internet game..... any of you guys play??? IT ROCKS!!!(www.lineage.com)

    • Quote

      Originally posted by Trunks:
      **How do I do this, like what event and how do I use it?

      **

      Simple. In your very first location (map, that is, not the main screen) hit the 'local initialisation event' button. Once here, set up your conditionals and checks to change the player's graphics.

      -Andiyar

      ------------------
      "Any good that I may do here, let me do now, for I may not pass this way again"

    • Quote

      Originally posted by Tarnćlion Andiyarus:
      **Simple. In your very first location (map, that is, not the main screen) hit the 'local initialisation event' button. Once here, set up your conditionals and checks to change the player's graphics.

      -Andiyar

      **

      Yes, but when I go into the conditional it lets me choose something like a global event of screen or stat and then I can ckeck if it is equal to whatever, but how do I make the picts change for classes without using globals?

      ------------------
      Lineage..... Online internet game..... any of you guys play??? IT ROCKS!!!(www.lineage.com)

    • Quote

      Originally posted by Trunks:
      Yes, but when I go into the conditional it lets me choose something like a global event of screen or stat and then I can ckeck if it is equal to whatever, but how do I make the picts change for classes without using globals?

      You can't check class(&&Job;) directly. You have to first create a global, define the global by making it equal to &&Job;, and then use a conditional to check the value of your global.

      ie:

      • Create a global named &&gb;_PlayerClass
        In your first location click on the local event and put the following into the event:

      • Change Globals : set &&gb;_PlayerClass to be equal to &&Job;

      • Player Map Icon : In the linked list(right side) place this event object and select the icon you wish for the thief picture.

      • Conditional : Select "&&gb;_PlayerClass" from the menu at the left, select the operator "is equal to" and then insert "thief" into the value field. Press + to add this comparison to the list. Then, select the Player Map Icon event object from within the "true" comparison event list.

      ------------------
      (url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
      (url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url)

    • As Stark has said, you can't change the class picts without using globals... but it's relatively easy.

      An easier way than Starks is, in Main.cet, to add a Set Globals event first on the list that does the following:

      Set gb_Character (or whatever) to &&Job.;

      Then merely do the checks like I described and it will work fine. 🙂

      -Andiyar

      ------------------
      "Any good that I may do here, let me do now, for I may not pass this way again"