Deku Nuts, Sticks, another button and Zelda's Letter.
#1
Posted 20 December 2010 - 05:56 PM
And does Zelda's Letter work like a bottle?
If then, I will need a code for a second "bottle"
Also, how would i script another button for rolling, and what button should I put it to?
--
And is there a way to change shields?
#2
Posted 22 December 2010 - 10:57 AM
http://www.purezc.co...showtopic=47671
The roll-code is a bit buggy, so I would not use it. But if you do, I would use the R-button (or the L-utton, if R is allready in use)
You can change shields in the item-editor, I think.
For Dekunuts and Dekusticks, I have no idea.
#3
Posted 23 December 2010 - 12:10 PM
And I meant change shields like equip different ones, like in Twilight Princess or Ocarina of Time.
I think Deku Nuts will have to do with a Time Clock with a short amount of time.
Not sure about the nuts though.
#4
Posted 23 December 2010 - 04:17 PM
EDIT: Quick and dirty (untested) version:
const int SFX_DEKUNUT_THROW = 1; //SFX_ARROW
const int SFX_DEKUNUT_FLASH = 3; //SFX_BOMB
const int SFX_ERROR = 12; //SFX_LOWHP
const int SPRITE_DEKUNUT = 100; //Or whatever you're using.
const int SPRITE_DEKUNUT_FLASH = 9; //Same as explosion
item script DekuNut {
void run() {
if (Game->Counter[CR_DEKUNUTS] > 0) {
Game->Counter[CR_DEKUNUTS] --;
lweapon flash = NextToLink(LW_BOMBBLAST, 48);
flash->UseSprite(SPRITE_DEKUNUT_FLASH);
flash->Damage = 0;
Game->PlaySound(SFX_DEKUNUT_FLASH);
}
else {
Game->PlaySound(SFX_ERROR);
}
}
}
See if that works reasonably well. I might improve upon it later.
Edited by Beefster, 23 December 2010 - 05:49 PM.
#5
Posted 23 December 2010 - 05:27 PM
#6
Posted 24 December 2010 - 04:59 AM
@Beefster: What Counter does the dekunuts use?
#7
Posted 25 December 2010 - 06:49 PM
#8
Posted 27 December 2010 - 10:08 AM
#9
Posted 27 December 2010 - 07:08 PM
Can I show the new counter on the subscreen?
#10
Posted 27 December 2010 - 07:28 PM
#11
Posted 28 December 2010 - 05:32 AM
Edit:
The Dekunuts are not working in my quest, don't know why...
@Lynker: Does the work in your quest?
Edited by Lord Settra!, 28 December 2010 - 06:12 AM.
#12
Posted 29 December 2010 - 04:46 PM
EDIT: Apparently, enemies have a stun parameter I didn't know about. I'll just set that instead... But then it will work on shielding enemies... Eh. I'll figure it out if FefeRawft doesn't first.
It's gonna have to wait until next year. I'm at my brother's house until then.
Edited by Beefster, 29 December 2010 - 04:49 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users