I know the priority was not very high on the totem pole for this stuff, but with Galkasmash's help I decided to put these together to practice scripting. 2 items were already completed (ghost cape + mandragora belt).
4 items have issues:
1) Chocobo beret will only turn you into a blue, juvenile chocobo. I am not a great scripter so couldn't script in the egg, the timer, the movement speed + or the random costume (1 of 5 chocobos), so I set it to just the blue one. If anyone can add to this .lua I would be most grateful (or tell me how I can do it, and I'll get it done!)
2+3) Nomad moogle shield and town moogle shield - Using this will turn you into a moogle. I can't script in 'Moogle's Japery', the chance of failure or the movement speed boost, so costume is all you get.
4)Detonator belt - This belt gives you a random costume from 3 choices (bomb or clusters). I couldn't script in randomization so the costume will turn you into a black cluster.
Everything else works fine, tested it on my server and I'm pretty sure I kept the format in the .lua's correct.
I'm sorry this isn't a fantastic contribution, but I'm working my way up... slowly! lol
Have a great day!
Costume Items!
Costume Items!
- Attachments
-
- Costumes.rar
- Bunch of .lua's!
- (8.29 KiB) Downloaded 313 times
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Costume Items!
Practicing the low priority stuff is how you learn the skills to do the higher priority stuff.
Re: Needing to randomize.
math.random(1,4) should produce a random integer between 1 and 4 (4 choices.) From there, it's a simple if/elseif/else or a select caseof.
Re: Needing to randomize.
math.random(1,4) should produce a random integer between 1 and 4 (4 choices.) From there, it's a simple if/elseif/else or a select caseof.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: Costume Items!
Sweet, Thanks for the tips Pr^^!
Re: Costume Items!
on retail, if you have worm costume, then you can't move.