|
Post by breakdancebob on Aug 6, 2007 21:09:16 GMT -5
ok, i made a visual attack of a lance stabbing the player not the enemy. now how do i go on from there by making a script and an event where the enemy will do a motion (attack A motion) and then the visual effect will follow and a certain amount of damage will be taken away from the player, NOT the enemy that is doing it, because the last time i tried, the enemy didnt even do anything and it got damaged.
|
|
|
Post by Rodak on Aug 7, 2007 1:52:34 GMT -5
ok, i made a visual attack of a lance stabbing the player not the enemy. now how do i go on from there by making a script and an event where the enemy will do a motion (attack A motion) and then the visual effect will follow and a certain amount of damage will be taken away from the player, NOT the enemy that is doing it, because the last time i tried, the enemy didnt even do anything and it got damaged. You set enemy VFX in the enemy action editor, not with scripts and events. As for damage - it sounds like you are trying to make an enemy from scratch. Don't. Just copy, Paste, and Modify existing enemies until you become Expert at this! Even I use this technique for my custom - All VFX - Enemies!
|
|
|
Post by breakdancebob on Aug 11, 2007 12:29:34 GMT -5
ok, but what would i need to do to apply damage to the party member?
|
|
|
Post by Rodak on Aug 12, 2007 8:26:47 GMT -5
If you use exiting creatures, all that should be pre-set. There is a lot to what you are asking if you want to do it from scratch. Direct effects for abilities and setting the "rate" therein are a good starting point. Read Dungeon Warden's Advanced FAQ for a great start on the more advanced features. It's here: www.doanthenado.com/files/RPGM2_ADV_FAQ.rtfDirect and indirect effects are not covered in detail, and they are something I have to learn more about myself. But I get by with Copy-Paste-and-Modify as an alternative to making these things too hard on myself. So... If you want the easy way, just modify existing enemies and drop these made from scratch ones! There is just too much to explain in a single post on a forum!
|
|
|
Post by Dungeon Warden on Aug 12, 2007 11:57:19 GMT -5
Yes, my FAQ is a good place to start. I have learned a lot more about direct and indirect effects since I wrote it and I planned to do an update but never did. I though someone else was going to do a more detailed Effects FAQ. I wonder whatever happened to that?
The best place to start is to look at all the preset weapons. You can find examples of several different types of effects by following the scripts. If the enemy is hitting himself, it is because you don't have the script that tells the damage script to apply to the target instead of the attacker. All the preset scripts are set up the same, so if your script isn't working, it's because you didn't follow the preset format.
As Rodak said, copy and paste the existing weapons, characters and enemies, and then change the things you want to change instead of starting from scratch. Ensure that everything is working before you try to modify it.
|
|