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.
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....
Those are your options.Code:lweapon l; l->UseSprite(sprite); l->Tile = tile; l->Flip = flip;
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
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....
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....
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.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
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....
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
*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....
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
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....
There are currently 1 users browsing this thread. (0 members and 1 guests)