Robin Posted May 31, 2010 Author Share Posted May 31, 2010 @EclipseStalker:> I have a few questions,> 1\. Why wont my goodies attack my baddies?> 2\. How do I add more factions?> 3\. Can you explain a lil further on making the animated items in the inventory/on ground?**1.** No idea. I'll look into it.**2.** Simply add more to the list box in the Npc editor.**3.** Add more frames to the item bitmap image. Here's an example of an animated item.![](http://i38.photobucket.com/albums/e112/Kite_Minase/4-14.png) Link to comment Share on other sites More sharing options...
qwertybobo Posted May 31, 2010 Share Posted May 31, 2010 1 question. how do i get the npc vs npc working? what catorgrys do i have to select? i have made 2 npcs set 1 as goodies and 1 as baddies. i put them on a map together and nothing. thanks for all help ^^ Link to comment Share on other sites More sharing options...
Robin Posted May 31, 2010 Author Share Posted May 31, 2010 @qwertybobo:> 1 question. how do I get the npc vs npc working? what catorgrys do I have to select? I have made 2 npcs set 1 as goodies and 1 as baddies. I put them on a map together and nothing. thanks for all help ^^Well they need to be attack on sight, obviously. ;P Link to comment Share on other sites More sharing options...
qwertybobo Posted May 31, 2010 Share Posted May 31, 2010 i have done that. here ill show you my npc editor:![](http://i48.tinypic.com/2ltkk8l.jpg)and![](http://i46.tinypic.com/2d9wpl3.jpg)i don't know what i have done wrong. thanks for all help ^^ Link to comment Share on other sites More sharing options...
Robin Posted May 31, 2010 Author Share Posted May 31, 2010 Their endurance and strength are both 1.That means they do 1 damage but the other NPC can block 1 damage.Endurance needs to be lower than strength. Link to comment Share on other sites More sharing options...
qwertybobo Posted May 31, 2010 Share Posted May 31, 2010 they still are not attacking DX Link to comment Share on other sites More sharing options...
Robin Posted May 31, 2010 Author Share Posted May 31, 2010 Their range means how far away they can see another NPC. If it's 0 they can't see each other. Link to comment Share on other sites More sharing options...
qwertybobo Posted May 31, 2010 Share Posted May 31, 2010 ty robin :3 Link to comment Share on other sites More sharing options...
horsehead Posted May 31, 2010 Share Posted May 31, 2010 Robin what will come whit the next version of origins and when it will come out? :PA quest system and more type of spells like dots and buffs whould be nice Link to comment Share on other sites More sharing options...
shadowwulf Posted May 31, 2010 Share Posted May 31, 2010 Robin: I noticed another oddity… not really a bug or anything but I dont beleive it existed before. If i walk up to the edge of a map, then rap that direction, i will go to the next map, and walk one space... not just load into the next map on the first space. I am sure I could fix it, but thought other people might find it weird too. Link to comment Share on other sites More sharing options...
Robin Posted June 1, 2010 Author Share Posted June 1, 2010 Added a bank system.![](http://i38.photobucket.com/albums/e112/Kite_Minase/bank-4.png) Link to comment Share on other sites More sharing options...
Harris6310 Posted June 1, 2010 Share Posted June 1, 2010 It's pretty cool how you have made pretty much everything visual. Link to comment Share on other sites More sharing options...
Robin Posted June 1, 2010 Author Share Posted June 1, 2010 Any other way is impractical.Old Eclipse developers did it in their weird ways simply because they didn't understand DD7\. It's much easier to do it this way.Look at how simple the rendering code is for the bank.> If frmMainGame.picBank.Visible = True Then> frmMainGame.picBank.Cls> > For I = 1 To MAX_BANK> ItemNum = GetBankItemNum(I)> If ItemNum > 0 And ItemNum <= MAX_ITEMS Then> > sprite = Item(ItemNum).Pic> > With sRECT> .Top = 0> .Bottom = .Top + PIC_Y> .Left = DDSD_Item(sprite).lWidth / 2> .Right = .Left + PIC_X> End With> > With dRECT> .Top = BankTop + ((BankOffsetY + 32) * ((I - 1) \ BankColumns))> .Bottom = .Top + PIC_Y> .Left = BankLeft + ((BankOffsetX + 32) * (((I - 1) Mod BankColumns)))> .Right = .Left + PIC_X> End With> > If DDS_Item(sprite) Is Nothing Then> Call InitDDSurf("Items\" & sprite, DDSD_Item(sprite), DDS_Item(sprite))> End If> > Engine_BltToDC DDS_Item(sprite), sRECT, dRECT, frmMainGame.picBank, False> > ' If item is a stack - draw the amount you have> If GetBankItemValue(I) > 1 Then> Y = dRECT.Top + 22> X = dRECT.Left - 4> > Amount = CStr(GetBankItemValue(I))> ' Draw currency but with k, m, b etc. using a convertion function> If CLng(Amount) < 1000000 Then> colour = QBColor(White)> ElseIf CLng(Amount) > 1000000 And CLng(Amount) < 10000000 Then> colour = QBColor(Yellow)> ElseIf CLng(Amount) > 10000000 Then> colour = QBColor(BrightGreen)> End If> DrawText frmMainGame.picBank.hDC, X, Y, ConvertCurrency(Amount), colour> End If> End If> Next> > frmMainGame.picBank.Refresh> End If Link to comment Share on other sites More sharing options...
Sr_Sirius Posted June 1, 2010 Share Posted June 1, 2010 Very great work Robin :) Link to comment Share on other sites More sharing options...
Aydan Posted June 1, 2010 Share Posted June 1, 2010 Tested it out a few mins ago. Works great, very simple to use and just feels 'right' and 'clean' if you can understand what I mean.Everything about the source is fantastic. When some of the more difficult features are added in and things finished it will be THE source/engine to use for your game. I can't wait to see what people make using this.I've already started working on a small hobby game with it already. For the first time in a long time I'm enjoying playing with it.A shame not many people have made a game with it yet anyway, it's pretty much usable for a game minus advanced things like quests which will come sooner or later.Anyway enough talking, good work Robin and I'm sure I speak for everyone here when I say thank you for your hard work and giving us such a great piece of software for FREE. Link to comment Share on other sites More sharing options...
meowton Posted June 1, 2010 Share Posted June 1, 2010 this is damned interesting. i really REALLY like this engine, and i cant wait for you to take it to the LIMIIIIT. i have one question though. for the items and sprites, do you always have to use the neon green color as the background? and the items use a mask type thing where the grey and green cancel eachother out right? Link to comment Share on other sites More sharing options...
Robin Posted June 1, 2010 Author Share Posted June 1, 2010 Thanks Aydan, I appreciate it. As long as people enjoy the thing I'll keep building on it. :]Anyway, finished the bank. You can now deposit/withdraw currencies using the drop menu (Which is now renamed to the more generic 'Currency Handler') and you can drag & drop the items around switching their spots and the like.![](http://i38.photobucket.com/albums/e112/Kite_Minase/bank_fin2.png)@meowton:> this is damned interesting. I really REALLY like this engine, and I cant wait for you to take it to the LIMIIIIT. I have one question though. for the items and sprites, do you always have to use the neon green color as the background? and the items use a mask type thing where the grey and green cancel eachother out right?The mask colour is whatever colour is set in the top left pixel. In the items you have two copies of the item. The one on the left is the masked item which appears on the map. The one on the right appears in your inventory & bank as it is, meaning you can have some sort of texture or block colour behind it which differs from the mask colour. Link to comment Share on other sites More sharing options...
balliztik1 Posted June 1, 2010 Share Posted June 1, 2010 @meowton:> this is damned interesting. I really REALLY like this engine, and I cant wait for you to take it to the LIMIIIIT. I have one question though. for the items and sprites, do you always have to use the neon green color as the background? and the items use a mask type thing where the grey and green cancel eachother out right?The pixel in the top left corner of the item's sheet is the mask color. Link to comment Share on other sites More sharing options...
gaming ace Posted June 1, 2010 Share Posted June 1, 2010 Great to hear banks were added, they're looking awesome too. Seems i just keep getting pulled back to Origins xD. Can't thank you enough Robin! Link to comment Share on other sites More sharing options...
Sousuke Posted June 1, 2010 Share Posted June 1, 2010 Hm, i have a stupid question, how to add scripts? Any realesed scripts have line> add it to main.txt, but I'can find it here. How it works in EO? o: Link to comment Share on other sites More sharing options...
meowton Posted June 1, 2010 Share Posted June 1, 2010 @Ballie:> @meowton:> > > this is damned interesting. I really REALLY like this engine, and I cant wait for you to take it to the LIMIIIIT. I have one question though. for the items and sprites, do you always have to use the neon green color as the background? and the items use a mask type thing where the grey and green cancel eachother out right?> > The pixel in the top left corner of the item's sheet is the mask color.that is SICKMAZING. very flexible. is it the same for the items?EDIT: meant to say sprites instead of items right here ^^^^ Link to comment Share on other sites More sharing options...
Robin Posted June 1, 2010 Author Share Posted June 1, 2010 @Sousuke:> Hm, I have a stupid question, how to add scripts? Any realesed scripts have line> > > add it to main.txt> > , but I'can find it here. How it works in EO? o:EO doesn't have a scripting engine.@meowton:> that is SICKMAZING. very flexible. is it the same for the items?> EDIT: meant to say sprites instead of items right here ^^^^It's like this in all of the graphics. Link to comment Share on other sites More sharing options...
Helladen Posted June 1, 2010 Share Posted June 1, 2010 Very nice engine Robin. You really have a gift for VB6 programming. :)I noticed a little bug with multi-selection for the map editor if you didn't notice it. If you select from right to left or down to up it will not select right.Keep up the good work! Link to comment Share on other sites More sharing options...
Robin Posted June 1, 2010 Author Share Posted June 1, 2010 That's not a bug, it's just how it's programmed.It'd require 4-point locking on the shape and I really can't be bothered messing around with that just yet. xDIt's a very minor thing though, so it can wait. Link to comment Share on other sites More sharing options...
Helladen Posted June 1, 2010 Share Posted June 1, 2010 Ah, that's fine. Just pointing it out if you didn't notice. :) 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