Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Nifflr

Members
  • Posts

    54
  • Joined

  • Last visited

    Never

Everything posted by Nifflr

  1. > read the replyes there you got an "Fix" I don't think that's true. The .mp3 format completely replaces the .mid format in the map editor. I can't see anywhere in this thread where it explains how to fix this. But I just never really thought it was a problem because .mp3s are superior to .mids.
  2. > Im not sure you should add Items and Maps yet I added them from my head and didnt tested them yet. If you do, let me know the result. Yeah, I'm going to wait until this tutorial is complete before I make any changes to my source. But I'll follow this topic so that I can see when you update this ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons//biggrin.png)
  3. I've never used this tutorial, but perhaps you could find it of use: [http://www.touchofdeathforums.com/community/index.php?/topic/117005-eo-locked-classes/page__hl__%2Blocked+%2Bclass](http://www.touchofdeathforums.com/community/index.php?/topic/117005-eo-locked-classes/page__hl__%2Blocked+%2Bclass)
  4. > Wasn't the event system created just to do this kind of stuff? Aye, but the event system can't script items and it would appear that this can.
  5. Since there are only two states that the chest can be in (filled or empty) wouldn't it be more simple to use switches instead? Or am I misunderstanding the difference between switches and variables.
  6. I have a question. In modScripts, why do you call each of the subs things like "npcSc**ir**pt" rather than "npcSc**ri**pt"? Also, I don't believe that you meant to include and within the code.
  7. Okay, well then it sounds like a really good Idea. I definitely think I'll try adding this to my game.
  8. This looks really useful, thanks for making this tutorial. ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons//biggrin.png) I'm sure it will be very helpful. Although I haven't tried it yet. I think I might wait to hear what more experienced users think. From what I've heard scripting isn't a good thing to do because it slows down your game – which is why it wasn't included in the vanilla engine of EO.
  9. > > For now there is only 2 item combination, to make more item combination I need add Data4, Data5 as example? I know its not only in one place where need to add but is that the best way to do this? > > That is one way of doing it, but I think the best way is to use an array. > > Example: > > ``` > Item(ItemNum).RecipeItem(Index) > ``` I too would like to be able to create a recipe that requires more than two items (preferably four) but I'm not familiar with arrays. Could somebody please explain to me how to do this in more depth?
  10. If you mean that you want the skill to only be usable by one class, go into the skill editor and where it says "class required" select which class you want to have that skill.
  11. Okay, well thank you so much for all the help you have given me. I'll see if maybe I can figure the rest out on my own. Or else hope for someone who has VB6 to come along. Edit: Oh! I think I got it. ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons//biggrin.png) ``` ' Get number of sickles and galleons Sickles = GetPlayerInvItemValue(MyIndex, 2) * 17 Galleons = GetPlayerInvItemValue(MyIndex, 3) * 493 ' Check if it's gold, and update the label If GetPlayerInvItemNum(MyIndex, i) = 1 Then '1 = gold ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons//tongue.png) frmMain.lblGold.Caption = Format$(Amount + Sickles + Galleons, "#,###,###,###") & "knuts" ``` Again, thanks for your help, Gumball. I do feel like I've learned something.
  12. Uh… possibly because I have no idea what I'm doing. Let me elaborate on what I'm trying to do. I want a currency system with three types of coins: knuts, sickles and galleons. Each are worth different amounts: 1, 17, and 493 respectively. But on the GUI where it displays the amount of gold you have I want to display the players wealth all in knuts so it is easy to see just how much money they have. I tried to accomplish this by changing this: ``` ' Check if it's gold, and update the label If GetPlayerInvItemNum(MyIndex, i) = 1 Then '1 = gold ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons//tongue.png) frmMain.lblGold.Caption = Format$(Amount, "#,###,###,###") & "g" ``` to this: ``` ' Get number of sickles and galleons Sickles = GetPlayerItemAmount(Index, 2) * 17 Galleons = GetPlayerItemAmount(Index, 3) * 493 ' Check if it's gold, and update the label If GetPlayerInvItemNum(MyIndex, i) = 1 Then '1 = gold ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons//tongue.png) frmMain.lblGold.Caption = Format$(Amount + Sickles + Galleons, "#,###,###,###") & "knuts" ```
  13. In Client ModDirectDraw7 BltInventory.
  14. Hmm, when I use``` ItemVariableHere = GetPlayerItemAmount(Index, 2) ```It highlights index and tells me that the variable is not defined.
  15. Okay, so where would I put that function that you wrote? Would it perhaps be placed in Game Logic – or would it need to go in the same module that I'm using:``` ItemVariableHere = GetPlayerItemAmount(Index, 2) ``` I'm sorry, I really have very little idea what I'm doing. I'm quite new to doing source edits.
  16. Okay, I'm looking at this but I really don't understand it. How do I specify that I want the value of item number two? Would I change ``` tempslot = FindItem(Index, ItemNum) ``` to ``` tempslot = FindItem(Index, 2) ``` And how would I save this value and refer to it elsewhere?
  17. Thanks for the help – but I really have no idea how to figure out which slot the currency is in. Sorry for being so hopeless.
  18. Hi there, so I'm new to editing the source code and I'm trying to teach myself – but I've ran into a bit of difficulty and perhaps someone could be of assistance. My problem seems rather simple but I'm stuck. What is the command to get the amount of a specific item that a player has? For example I want to know how many of item 2 (a currency) the player has and save it as a variable. Thanks for reading. Any help would be greatly appreciated.
  19. Because you enjoy the taste. Why can't I edit eclipse origins with dreamweaver?
  20. I am the **Amazing Genius**.
×
×
  • Create New...