User Tag List

Results 1 to 10 of 10

Thread: Hold out

  1. #1
    Octorok Lelouche Vi Britannia's Avatar
    Join Date
    Oct 2015
    Location
    Britannia - Area 11
    Posts
    136
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    784
    Level
    9
    vBActivity - Bars
    Lv. Percent
    82.5%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    55.94%

    Question Hold out

    Quick script question. When scripting a weapon, how do I set what sprite is used when the weapon is held and visible when used (like swords and wands)? I can't find the function / command to do it.
    Lost my wings and grew 8 tentacles... I've seen enough Hentai to know where this is going....

    Help this cat on it's quest for world domination!

  2. #2
    Mad, Mad, Author ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    763
    Mentioned
    68 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    2,926
    Level
    17
    vBActivity - Bars
    Lv. Percent
    54.58%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    149.18%
    Code:
    lweapon l;
    l->UseSprite(sprite);
    l->Tile = tile;
    l->Flip = flip;
    Those are your options.


    Script Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | stdArguments.zh (v.6.9.9/1) | | Timers.zh (v.1.5)
    ZScript | ZC Dev | ZC 2.53 | Alucard's: stdCombos.zh (v1.1) | stdWeapons.zh | particles.z
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0.

  3. #3
    Octorok Lelouche Vi Britannia's Avatar
    Join Date
    Oct 2015
    Location
    Britannia - Area 11
    Posts
    136
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    784
    Level
    9
    vBActivity - Bars
    Lv. Percent
    82.5%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    55.94%
    I assume for sprite I'd use the sprites number found under graphics. When would I need to use Flip?
    Last edited by Lelouche Vi Britannia; 09-08-2016 at 06:16 PM.
    Lost my wings and grew 8 tentacles... I've seen enough Hentai to know where this is going....

    Help this cat on it's quest for world domination!

  4. #4
    Octorok Lelouche Vi Britannia's Avatar
    Join Date
    Oct 2015
    Location
    Britannia - Area 11
    Posts
    136
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    784
    Level
    9
    vBActivity - Bars
    Lv. Percent
    82.5%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    55.94%
    Answered question about multiple lweapons. New problem, getting the wand to face the right direction. It's stuck pointing up. Tried using Flip, but I guess I'm not doing it right.
    Last edited by Lelouche Vi Britannia; 09-08-2016 at 08:32 PM.
    Lost my wings and grew 8 tentacles... I've seen enough Hentai to know where this is going....

    Help this cat on it's quest for world domination!

  5. #5
    Mad, Mad, Author ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    763
    Mentioned
    68 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    2,926
    Level
    17
    vBActivity - Bars
    Lv. Percent
    54.58%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    149.18%
    Quote Originally Posted by Lelouche Vi Britannia View Post
    Answered question about multiple lweapons. New problem, getting the wand to face the right direction. It's stuck pointing up. Tried using Flip, but I guess I'm not doing it right.
    That's where you use l->Tile and l->Flip: You want to set up a pair of tiles, one facing up, the next tile on the page facing right. Set l->Tile to the first of the two, and if Link->Dir == DIR_DOWN, set its flip to flip down. If Link->Dir == DIR_LEFT or DIR_RIGHT, use l->Tile++ and set the Flip based on his direction.


    Script Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | stdArguments.zh (v.6.9.9/1) | | Timers.zh (v.1.5)
    ZScript | ZC Dev | ZC 2.53 | Alucard's: stdCombos.zh (v1.1) | stdWeapons.zh | particles.z
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0.

  6. #6
    Octorok Lelouche Vi Britannia's Avatar
    Join Date
    Oct 2015
    Location
    Britannia - Area 11
    Posts
    136
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    784
    Level
    9
    vBActivity - Bars
    Lv. Percent
    82.5%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    55.94%
    Ok, got that working now. Thanks for your help. But now I have a new question. How do I set up the auto flash. I'm trying to flash the projectiles between CSet 6and CSet 0 just like the wand magic does. I'm not good with bool so please bare with me.
    Lost my wings and grew 8 tentacles... I've seen enough Hentai to know where this is going....

    Help this cat on it's quest for world domination!

  7. #7
    Mad, Mad, Author ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    763
    Mentioned
    68 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    2,926
    Level
    17
    vBActivity - Bars
    Lv. Percent
    54.58%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    149.18%
    Quote Originally Posted by Lelouche Vi Britannia View Post
    Ok, got that working now. Thanks for your help. But now I have a new question. How do I set up the auto flash. I'm trying to flash the projectiles between CSet 6and CSet 0 just like the wand magic does. I'm not good with bool so please bare with me.

    The projectiles are sprites, so, in the sprite editor, tick 'Flash CSet'.


    Script Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | stdArguments.zh (v.6.9.9/1) | | Timers.zh (v.1.5)
    ZScript | ZC Dev | ZC 2.53 | Alucard's: stdCombos.zh (v1.1) | stdWeapons.zh | particles.z
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0.

  8. #8
    Octorok Lelouche Vi Britannia's Avatar
    Join Date
    Oct 2015
    Location
    Britannia - Area 11
    Posts
    136
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    784
    Level
    9
    vBActivity - Bars
    Lv. Percent
    82.5%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    55.94%
    *REDACTED* I shouldn't post just after waking up. I realized my stupidity after I posted it. As usual I'm making a mountain out of a molehill.
    Last edited by Lelouche Vi Britannia; 09-14-2016 at 05:33 AM. Reason: I'm a dumbass when I first wake up
    Lost my wings and grew 8 tentacles... I've seen enough Hentai to know where this is going....

    Help this cat on it's quest for world domination!

  9. #9
    Mad, Mad, Author ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    763
    Mentioned
    68 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    2,926
    Level
    17
    vBActivity - Bars
    Lv. Percent
    54.58%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    149.18%
    Quote Originally Posted by Lelouche Vi Britannia View Post
    *REDACTED* I shouldn't post just after waking up. I realized my stupidity after I posted it. As usual I'm making a mountain out of a molehill.
    Have it all sorted now, then?


    Script Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | stdArguments.zh (v.6.9.9/1) | | Timers.zh (v.1.5)
    ZScript | ZC Dev | ZC 2.53 | Alucard's: stdCombos.zh (v1.1) | stdWeapons.zh | particles.z
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0.

  10. #10
    Octorok Lelouche Vi Britannia's Avatar
    Join Date
    Oct 2015
    Location
    Britannia - Area 11
    Posts
    136
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    784
    Level
    9
    vBActivity - Bars
    Lv. Percent
    82.5%
    Daily Activity
    0%
    Weekly Activity
    10%
    Monthly Activity
    55.94%
    Yes. Just need to experiment with the x and y placement to make the weapon tile look right.
    Lost my wings and grew 8 tentacles... I've seen enough Hentai to know where this is going....

    Help this cat on it's quest for world domination!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social