• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Important Make a move.

Status
Not open for further replies.

Nomz

Bug Catcher
I'd love to get into this :D! I have a few questions though:

What does the number on the left of the comma within parenthesis mean?

What does SetAttackCategory mean? I assume it means that the move is either Physical, Special, or Status? If so, which numbers apply to the specific category?

What does SetAttackPriority mean?

I know what SetAttackAccuracy means, but the number on the right of the comma within the paranthesis is 255, and the move I'm looking at, SignalBeam, is 100% accurate. I assume this means that 255 means 100%, and half of that, 127.5 would mean 50%? Is it that cut and dry, or is there something else behind it?
 

Prince Vade

Champion
Trusted Support
Retired Mod
I'd love to get into this :D! I have a few questions though:

What does the number on the left of the comma within parenthesis mean?

What does SetAttackCategory mean? I assume it means that the move is either Physical, Special, or Status? If so, which numbers apply to the specific category?

What does SetAttackPriority mean?

I know what SetAttackAccuracy means, but the number on the right of the comma within the paranthesis is 255, and the move I'm looking at, SignalBeam, is 100% accurate. I assume this means that 255 means 100%, and half of that, 127.5 would mean 50%? Is it that cut and dry, or is there something else behind it?
The left most number in the parentheses is the ID of the move.

SetAttackCategory sets whether each move is Physical, Special or Status. And they are are follow:
0 - Physical
1 - Special
2 - Status
I believe you can also use: Attacks_GetCategoryIndexByName("status")
replacing "status" with whatever Name you are pulling from.

SetAttackPriority sets the priority in which the move is used.
Read here for more information on move priority: http://bulbapedia.bulbagarden.net/wiki/Priority

For accuracy information read here: http://bulbapedia.bulbagarden.net/wiki/Accuracy
But, to directly answer your question - 255 gives a move 100 accuracy, but also has a chance to miss.
256 is given to moves such a swift.
 

SACooper95

Pokémon Ranger
Contributor
Is there a way to add sound effects to attacks? I may be able to help with that :).

If so, you're going to need this, heheheee...

 

Nomz

Bug Catcher
I'll just post the move itself here, because it's basically just a Twineedle clone.

Kricketune, Beedrill, Ninjask, Escavalier, Ariados are the only ones that can use this move, it does twice the damage of Twineedle, has only 10 PP, max of 15, and has a 25% chance to Sleep, but it cannot inflict a Sleep status if the enemy Pokemon's health is below 50%. I didn't know how to add the last part, so that's another reason I figured I'd post here. Oh, and of course it does Bug damage, and is a Physical move. Contest category would be Cool.
 

Prince Vade

Champion
Trusted Support
Retired Mod
but it cannot inflict a Sleep status if the enemy Pokemon's health is below 50%. I didn't know how to add the last part, so that's another reason I figured I'd post here. Oh, and of course it does Bug damage, and is a Physical move. Contest category would be Cool.
You would have to set up an if statement that checks to see if the opponents HP is below 50%, similar to the way you check if the opp Pokemon already has a status affliction.
Also, I would suggest leaving LUA alone all together. Rumor has it that it won't last very long.
 

DARKKIRBY

Bug Catcher
I've already made moves and I can make more if required. At the moment I just made a few KO's for test purposes and only one failed, but that was just the message from after the pokemon had fainted. Contact me if you need my assistance or just information
 

SACooper95

Pokémon Ranger
Contributor
I would highly suggest making an entirely separate group in the Pokemon3D Team in charge of nothing but making the Pokemon moves. Not to discourage anyone, but their are (as of GENV) 559 Pokemon Moves.
That's alot seeing it probably takes a week alone to make a single move (Some longer than others).
To organize some things here are some Ideas.

First: Some moves take a long time...(Like Ember) it shows the attacker, then the attacked. Some things (Like status changes/ being confused/psn'd/Palz'd/Brn'd and "Gathering sunlight") don't really need that. We can show status changes as the "classic view" (Without changing the Camera angle)? And moves like Double team only need to show the user since it doesn't affect the opponent.

Second: Would it be possible to make moves that change the entire background entirely for a few seconds.
Moves that need this:
Trick Room, Sheer Cold, Confusion, Physic, Cosmic Power, Doom Desire, Draco Meteor, Moonlight, and Wonder Room. Their are probably more

Third: STABs. Now I'm not sure if this is programed in the moves yet... but yeah.

With so many different moves, I would advise that the TM's are reusable in the game.
 

Matixx

Starting Trainer
I recently got bored of playing with the limited battle animations, so in my spare time i made some animations and scripts for some moves. Its nowhere from being finished, even the done scripts, so I plan on updating this little mod every month or so.
You can find the download link and more info here: http://pokemon3d.net/resources/37/
Just swap the respective Attack and Battle folders with the downloaded ones. Enjoy.
 
Last edited:

Prince Vade

Champion
Trusted Support
Retired Mod
I recently got bored of playing with the limited battle animations, so in my spare time i made some animations and scripts for some moves. Its nowhere from being finished, even the done scripts, so I plan on updating this little mod every month or so.
You can find the download link and more info here: http://pokemon3d.net/resources/37/
Just swap the respective Attack and Battle folders with the downloaded ones. Enjoy.
Also, I would suggest leaving LUA alone all together. Rumor has it that it won't last very long.
 

Matixx

Starting Trainer
Well its just a "Rumor". So at the moment ill keep writing scripts till theres no lua interface. I cant understand why they would implement a lua interface just to toss it. Even if they replace lua it shouldnt be that hard to transfer to another scripting language that they interface the engine with.
 

Prince Vade

Champion
Trusted Support
Retired Mod
Well its just a "Rumor". So at the moment ill keep writing scripts till theres no lua interface. I cant understand why they would implement a lua interface just to toss it. Even if they replace lua it shouldnt be that hard to transfer to another scripting language that they interface the engine with.
There won't be another scripting language. I'm simply attempting to save people time. Feel free to continue working on it until an update.
 

Matixx

Starting Trainer
So the game will no longer be moddable in the future? and if theres gonna be no scripting language how are the devs gonna implement abilities and attacks unless they hardcode it into a dat file like the towns are.
 
Status
Not open for further replies.
Top