crzyone9584 Posted May 30, 2011 Share Posted May 30, 2011 Thanks lightning. This is really nice. I'll have to add it to [The World] and have some nice boss battles. It will take a while for me to actually get the entire system up and running. Although this base system you have posted is really nice. Can't wait till I play around with it. Link to comment Share on other sites More sharing options...
Yxxe Posted May 31, 2011 Author Share Posted May 31, 2011 @Rose:> You forgot to add this:> > ```> .txtBossNum.text = Npc(EditorIndex).BossNum> > ```> In the NpcEditorInit of modGameEditors. :PThanks for the spot, Rose. ;]@crzyone9584:> Thanks lightning. This is really nice. I'll have to add it to [The World] and have some nice boss battles. It will take a while for me to actually get the entire system up and running. Although this base system you have posted is really nice. Can't wait till I play around with it.No problem and thanks for the comment. Best of luck with "[The World]". I've just seen there's a Beta coming along this weekend, so I'll see if I can play a little, as long as there's a boss or two in there. :] Link to comment Share on other sites More sharing options...
crzyone9584 Posted May 31, 2011 Share Posted May 31, 2011 Thanks for the best of luck wishes. With Kinjiru "gone" I'm working on the game myself. And I'll be trying to get some bosses in there. Once again thanks for the piece of code. Link to comment Share on other sites More sharing options...
Socuine Posted May 31, 2011 Share Posted May 31, 2011 @Lightningso i tryd to do dis wit html an' id didn wurk? halp! Link to comment Share on other sites More sharing options...
crzyone9584 Posted June 1, 2011 Share Posted June 1, 2011 Seem you forgot a little more.When the behavior is set to Boss you dont have it showing the frame (unless you dont have it hidden to begin with)```'Boss System  If (cmbBehavior.ListIndex = NPC_BEHAVIOUR_BOSS) Then    fraBoss.Visible = True  Else    fraBoss.Visible = False  End If```also the setting of it being visible by default or not. Just something pointed out. Link to comment Share on other sites More sharing options...
The New World Posted June 1, 2011 Share Posted June 1, 2011 So far, with my own framework quite similar to this one, it's been possible to make a boss that can stun you, push you back spaces away from it, and warp behind you, all in a sophisticated manner.It really does open up possibilities for epic boss battles. You just have to be creative. Link to comment Share on other sites More sharing options...
crzyone9584 Posted June 2, 2011 Share Posted June 2, 2011 Thats good to know. I'll be working on the first boss this entire weekend. Its going to be so much fun!!! Link to comment Share on other sites More sharing options...
The New World Posted June 2, 2011 Share Posted June 2, 2011 Lol, have fun, my Test boss has ~600 lines of code for two special attacks and an AI for when to do them. xP Link to comment Share on other sites More sharing options...
crzyone9584 Posted June 2, 2011 Share Posted June 2, 2011 yea i actually may not get to it. Seems that my text wrapping is not working… hopefully i can get that done tonight. but back on topic 600 lines for only two special attacks... Gah I'm so not going to like this. Along with not going to like creating map instances lol Link to comment Share on other sites More sharing options...
The New World Posted June 2, 2011 Share Posted June 2, 2011 Map instances are easy peasy. And it's only 600 lines because theres a version of the attack to affect all party members in the npc's range and one to affect the single target if they're in range.One of my special attacks is a push attack that calculates the distance between the npc and it's target(s) and loops through each target to see if they're within the npcs range or not. If they are, the npc launches it's attack that pushes the players a few tiles away, and shows a little animation on the npc, if they're not in range, the animation still shows but nothing happens to the players.It's just checking and handling the position each target could be in. xD You'll develop your own systems the more you play with it. Link to comment Share on other sites More sharing options...
Darth Tyllo Posted June 21, 2011 Share Posted June 21, 2011 At the risk of looking stupid, I must ask, why do I get a compile error on the line```Call SendAnimation(#mapnum#, #animation#, GetPlayerX(i), GetPlayerY(i))```, directly after 'Show animation, in the setup for the stunning special attack? vb6 says it expects an expression and highlights the very first pound symbol/number sign. I'd say I had written it down wrong, but i copy/pasted so it couldn't be, could it?(thats an actual question, btw) Anyone know the answer to my problem? Am I supposed to fill a number in there? Link to comment Share on other sites More sharing options...
erkro1 Posted June 21, 2011 Share Posted June 21, 2011 @Darth:> At the risk of looking stupid, I must ask, why do I get a compile error on the line```> Call SendAnimation(#mapnum#, #animation#, GetPlayerX(i), GetPlayerY(i))> ```, directly after 'Show animation, in the setup for the stunning special attack? vb6 says it expects an expression and highlights the very first pound symbol/number sign. I'd say I had written it down wrong, but i copy/pasted so it couldn't be, could it?(thats an actual question, btw) Anyone know the answer to my problem? Am I supposed to fill a number in there?You must change #mapnum# to the map you want the animation on, if you want it on thesame map as the player is use this : GetPlayerMap(i)And #animation# must be changed to the animation you want to use, when opening the Animation Editor you see the numbers on the left (before the names), you need to add that number in the call thing.Example :```Call SendAnimation(GetPlayerMap(i), 1, GetPlayerX(i), GetPlayerY(i))```PS : I don't know or this works, because I don't have EO on my mobile :P Link to comment Share on other sites More sharing options...
Darth Tyllo Posted June 21, 2011 Share Posted June 21, 2011 Ah, thank you, I shall try it now.It worked :D I've gotten farther down the code, and now I've hit a bit of a speedbump. How do I add "Boss" to cmbBehaviour?(Sorry I have a lot of questions, I'm still trying to learn vb6) Link to comment Share on other sites More sharing options...
erkro1 Posted June 21, 2011 Share Posted June 21, 2011 @Darth:> Ah, thank you, I shall try it now.> > It worked :D I've gotten farther down the code, and now I've hit a bit of a speedbump. How do I add "Boss" to cmbBehaviour?(Sorry I have a lot of questions, I'm still trying to learn vb6)1\. Click on cmbBehaviour on frmNpcEditor2\. Scroll down the properties window untill you see 'List'3\. Click on the arrow next to '(List)' and add 'Boss' under 'Guard' Link to comment Share on other sites More sharing options...
Darth Tyllo Posted June 21, 2011 Share Posted June 21, 2011 <3 you Erkro! You've answered what, 3 questions for me in like 2 hours! :cheesy: Link to comment Share on other sites More sharing options...
erkro1 Posted June 22, 2011 Share Posted June 22, 2011 @Darth:> <3 you Erkro! You've answered what, 3 questions for me in like 2 hours! :cheesy:Your welcome, if you've more questions, PM me or post something in Q&A thread, I'll help you as soon as possible. ;) Link to comment Share on other sites More sharing options...
Darth Tyllo Posted June 22, 2011 Share Posted June 22, 2011 Alright, I'll be sure to do that, but I'll try not to bug you too much. Link to comment Share on other sites More sharing options...
RyokuHasu Posted October 19, 2011 Share Posted October 19, 2011 marsh isn't really a developer… and I don't think he use VB very much =P Link to comment Share on other sites More sharing options...
lexkymbeth Posted November 23, 2011 Share Posted November 23, 2011 When my npc attacks me. the npc froze me like million times. am i doing something wrong? Link to comment Share on other sites More sharing options...
Taegan Posted November 23, 2011 Share Posted November 23, 2011 I would never be patient enough to test something a million times before asking for help. *praise* Link to comment Share on other sites More sharing options...
Yxxe Posted November 24, 2011 Author Share Posted November 24, 2011 @lexkymbeth:> When my npc attacks me. the npc froze me like million times. am i doing something wrong?I purposely left out attack timers. You have to do that bit yourself. Link to comment Share on other sites More sharing options...
lexkymbeth Posted November 24, 2011 Share Posted November 24, 2011 ohhh ok thanks for telling Link to comment Share on other sites More sharing options...
Whackeddie99 Posted December 23, 2011 Share Posted December 23, 2011 Lightning, how does one go about creating a timer to make the stun's not repeat? trying to improve my knowledge on this, but I'm not the best programmer :/ can you guide me through the timer mechanism? Link to comment Share on other sites More sharing options...
Quartz Posted December 23, 2011 Share Posted December 23, 2011 Great tutorial, this makes it easy to add new Boss Attack AI's. :) Link to comment Share on other sites More sharing options...
Whackeddie99 Posted December 24, 2011 Share Posted December 24, 2011 Lightning please help me mate! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now