Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:30:25 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Shop Arcade chat Login Register  
 
 
   
 
collapse

* No Spam Or Websites

Refresh History
  • Ertzel: So... Anyone with basic/none/limited photoshop or even paint skills want to make some money converting sprites for me?
    Today at 10:07:35 PM
  • Gamma™: weaver why are you oflfine on H&H? :S
    Today at 10:04:26 PM
  • Ertzel: Ya, only one try per knife, my one try failed :(
    Today at 10:00:17 PM
  • LegendWeaver: is it one use?
    Today at 09:43:15 PM
  • Ertzel: Wish I didnt spend my 1k+ credits to buy the stupid knife that failed at stealing Robins credits >.<
    Today at 09:42:42 PM
  • Wraith: ) Kreator!
    Today at 09:06:52 PM
  • Wraith: yes! you were! (in red text
    Today at 09:06:46 PM
  • ToshiroHayate: Kreator!
    Today at 08:25:02 PM
  • Kreator: o_0 Was I supposed to Wraith?
    Today at 08:16:02 PM
  • [Pie] ICT: Don't worry.. I commented.
    Today at 07:55:08 PM
  • Wraith: Ay, kreator, wtf is up with you not posting anything about my new cliffs??
    Today at 07:50:36 PM

* Recent Topics

[EO] Attaching Problem. by 314piwm
[Today at 10:21:04 PM]


Project Vertigo [2d Tile-based Side-Scrolling Engine] by Miguu
[Today at 10:03:22 PM]


Zacaras Empire (Hiring) by Ertzel
[Today at 08:43:54 PM]


custom cliff tiles by ToshiroHayate
[Today at 08:29:15 PM]


.: RPG Kingdom :. by LegendWeaver
[Today at 08:25:20 PM]


What do you think? by [Pie] ICT
[Today at 07:54:54 PM]


[Show Off] Aztec Stuff by [Pie] ICT
[Today at 07:50:07 PM]


So I herd you liek mudkipz by Kreator
[Today at 07:36:52 PM]


Haven and Hearth: Epic Screenshot Thread by Tompwnage™
[Today at 07:14:21 PM]


The Lonliest Star [RP] by DDunit
[Today at 07:09:46 PM]


* Who's Online


Pages: 1 [2] 3 4 ... 6
Site Author : Topic: Universal Spells for EE (hp-, hp+, mp-, mp+, sp-, sp+)  (Read 4354 times)
0 Members and 1 Guest are viewing this topic.
March 27, 2009, 01:58:40 PM
█☻█
Administrator
Epic Poster
*
User No : 440
Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile

    Bad text drawing lol

    -Alpha
    Did you try it on a client without that source spell fix?
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    March 27, 2009, 02:00:03 PM
    ⓢⓣⓔⓥⓔ - VB Coding Wizard
    Advanced Member
    ****
    User No : 11294
    Posts: 835
  • 0 credits
  • View Inventory
  • Send Money To [Steve]
  • Me am pwnage.
    • View Profile
    Yes, it's on compiled.
    Here, just give me a Scripts folder with everything in it. I haven't made much changes to the scripts yet, I'll put them back soon. Thanks.

    -Alpha
    Logged

    Fortunam citius reperias, quam retineas.
    •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
    Games currently:
    Zelda: Lost Adventures
    Aura: The Beginning
    Beast Lords
    The City
    DreamScape
    •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
    March 27, 2009, 02:21:43 PM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    Okay, now I'm frustrated...
    I just installed this thing in a fresh Eclipse (compiled version, then source), and the animation is not working -_-

    But, it works fine in RetardedOnline, as well as a fresh client, when I first made this
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    March 28, 2009, 05:17:12 PM
    ⓢⓣⓔⓥⓔ - VB Coding Wizard
    Advanced Member
    ****
    User No : 11294
    Posts: 835
  • 0 credits
  • View Inventory
  • Send Money To [Steve]
  • Me am pwnage.
    • View Profile
    Hmm.. Maybe post RO's script main.txt here? We can salvage the script :P

    -Alpha
    Logged

    Fortunam citius reperias, quam retineas.
    •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
    Games currently:
    Zelda: Lost Adventures
    Aura: The Beginning
    Beast Lords
    The City
    DreamScape
    •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
    March 29, 2009, 06:34:06 PM
    Luner
    Active Member
    ***
    User No : 11066
    Posts: 207
  • 0 credits
  • View Inventory
  • Send Money To Luner
  • Location : Florida
    • View Profile
    • WWW
    ok, I did everything you said, but I dont know why its not working, do u put the script as case 0? or what? like, I dont understand, and all that MP and stuff, do u replace MP with the MP or do u put MP, then then the amount of mp, and ty so much, like, every1 who reads this, know this, I love this guy, every single thing that I post he answers, yo man, u are getting so much credit, ty so much. =]
    Logged

    guess whos back.... I am...well...im not realy all that known....but yeah...im back...ty for reading this........I guess.....means alot.....im taking time out of my way to type this up...so yeah.... ~your welcome~ XD




    Quote
    "Give a man a fish, he will eat for a day. Teach a man to fish, he will eat for a lifetime"
    -- This is a quote from ÅÐмIядζ ЯξƒµĢ€ - smartest thing ive ever heard...or read.
    March 29, 2009, 06:49:17 PM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    No worries, I was a newb once.

    I explain how to do this stuff in more detail (how to call the spell) in Reply#11

    And yes, the "mp", "val", etc, needs to be replaced with values (I say which values go to what in my opening post)
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    March 31, 2009, 07:27:47 PM
    Active Member
    ***
    User No : 10089
    Posts: 460
  • 28 credits
  • View Inventory
  • Send Money To Xavi
  • Location : The eclipse forums
    The X
    • View Profile
    This is really cool.

    I did, how ever, find some not-yet-mentioned bugs:

    -You can attack shopkeepers

    -If  you don't have anything targeted, the spell appears at the 0,0 tile. I looked through it, and it looked like you had both the is and the else set to do the spell, but when I replaced the else actions with an MSG, it still shot in the corner.

    Nevertheless, still good, and easy to add to.
    Logged

    When life gives you dead cats...
    April 01, 2009, 02:37:45 PM
    Luner
    Active Member
    ***
    User No : 11066
    Posts: 207
  • 0 credits
  • View Inventory
  • Send Money To Luner
  • Location : Florida
    • View Profile
    • WWW
    o, well it works, but yeah, if some1 can fix animations it would be kooler, but awsome scripts, and the shop keeper thing, thx for potion that out, can some1 fix that, cuz that ruens my entire game...
    Logged

    guess whos back.... I am...well...im not realy all that known....but yeah...im back...ty for reading this........I guess.....means alot.....im taking time out of my way to type this up...so yeah.... ~your welcome~ XD




    Quote
    "Give a man a fish, he will eat for a day. Teach a man to fish, he will eat for a lifetime"
    -- This is a quote from ÅÐмIядζ ЯξƒµĢ€ - smartest thing ive ever heard...or read.
    April 01, 2009, 06:17:30 PM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    Admittedly, I do not know how to use the GetNpcBehavior function; I could probably figure out which number it returns for which behavior, then I could just use an If <> Then statement for the shopkeeper and friendly NPC
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    April 11, 2009, 06:58:37 AM
    Forever Searching: Arena!
    Global Moderator
    Teh Uberleet
    *
    User No : 2099
    Posts: 2293
  • 124 credits
  • View Inventory
  • Send Money To Shadowwulf™
  • Location : Massena NY
    Current Project:Arena!
    • View Profile
    • WWW
    is range still an issue?

    just make a range/distance sub and use a variable to determine what is too far away.
    I made one but I no longer have vb installed atm.

    you just compare X's and Y's and determine if the distance is too much.
    Logged


    Unofficial sponsor of Eclipse Origins.
    Eclipse Origins by Robin
    If your love your project... You'll use EO.
    Remember to properly report bugs and feature request in their respective boards with the [EO] tag in the subject!
    Quote
    Don't be a pansy! If you want to change how something works, first look at how it is already works. Once you understand what is already there, you can begin changing it. Its BASIC psychology. XD
    April 11, 2009, 07:00:38 AM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    is range still an issue?

    just make a range/distance sub and use a variable to determine what is too far away.
    I made one but I no longer have vb installed atm.

    you just compare X's and Y's and determine if the distance is too much.

    No need for VB, just notepad XD

    If you could give me the pseudocode, I can write a function for it.
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    April 11, 2009, 10:34:27 AM
    Luner
    Active Member
    ***
    User No : 11066
    Posts: 207
  • 0 credits
  • View Inventory
  • Send Money To Luner
  • Location : Florida
    • View Profile
    • WWW
    so how would u do that? and what about animation? any1 got anything for that?
    Logged

    guess whos back.... I am...well...im not realy all that known....but yeah...im back...ty for reading this........I guess.....means alot.....im taking time out of my way to type this up...so yeah.... ~your welcome~ XD




    Quote
    "Give a man a fish, he will eat for a day. Teach a man to fish, he will eat for a lifetime"
    -- This is a quote from ÅÐмIядζ ЯξƒµĢ€ - smartest thing ive ever heard...or read.
    April 11, 2009, 05:39:05 PM
    Game Dev and GFX Artist
    Active Member
    ***
    User No : 11873
    Posts: 388
  • 0 credits
  • View Inventory
  • Send Money To Antidote
    • View Profile
    • WWW
    Helpful, but when you're actually in the game, how do you use the spells from your character?  I know how to add them into the database and into the game, but how does my character cast the spells? 

    And can you make up your own custom spells?  If so, what specific files do you need to add them to, where do you need to add them, does the name matter, etc?  I'm a newby programmer, so I don't know about this stuff....

    And this is incredibly helpful, because 1 of the 2 classes in my game is purely magic-based.  If I can make my own skills, that'd be crazy.  This is, like.... wow.
    « Last Edit: April 11, 2009, 06:01:24 PM by Antidote » Logged

    April 11, 2009, 07:39:07 PM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    You would make the spell as any other spell, just set the mode to "Scripted", and just install it as a Scripted Spell (in the scripted spell sub, refer to a tutorial on installing scripts).
    And yes, you can customize it; that's why I have the Calls set up as they are.

    As for animations, I have no clue why, but it seems the animations are only working for my server in my game; no clue what caused it -_-
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    April 11, 2009, 08:27:02 PM
    Luner
    Active Member
    ***
    User No : 11066
    Posts: 207
  • 0 credits
  • View Inventory
  • Send Money To Luner
  • Location : Florida
    • View Profile
    • WWW
    yeah, from what I now from scripting. (INREADABLE LITTLE, lol) ill try to fix the animations  ;)
    Logged

    guess whos back.... I am...well...im not realy all that known....but yeah...im back...ty for reading this........I guess.....means alot.....im taking time out of my way to type this up...so yeah.... ~your welcome~ XD




    Quote
    "Give a man a fish, he will eat for a day. Teach a man to fish, he will eat for a lifetime"
    -- This is a quote from ÅÐмIядζ ЯξƒµĢ€ - smartest thing ive ever heard...or read.
    April 11, 2009, 09:04:07 PM
    Your Friendly Neighborhood Forum Lurker.
    Advanced Member
    ****
    User No : 10426
    Posts: 698
  • 8 credits
  • View Inventory
  • Send Money To Yorty
  • Location : Minnesota.
    I like Ellipsis...
    • View Profile
    For some strange reason, this isn't working. I'm not a noob when it comes to scripting and I cant find the problem. I run a test on the main.txt and nothings wrong.
    Logged

    Quote from: GunShoot
    go to ur penis yorty
    April 11, 2009, 09:05:05 PM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    For some strange reason, this isn't working. I'm not a noob when it comes to scripting and I cant find the problem. I run a test on the main.txt and nothings wrong.
    Which method did you install it?  Also, how did you call it?
    Logged

    I no longer offer engine support through PMs.  If you need help, please do so by posting in the correct board, thank you.
    I also do not grant "Moderator" or "Administrator" requests; such a PM will be ignored.


    Remember that marshmallow from Ghost Busters? marsh is a Canadian version of that.

    And thus paperdoll was born! | Sub: "Destroy Game" | Evolve 4.0 -- Evolving Simulaton! | Script Index - Almost ALL of Eclipse's ScriptsOkay, if you are not open-minded, then stop reading...
    Guess what? Telekinesis, Pyrokinesis, Cryokinesis, Hydrokinesis, Electrokinesis, Psychokinesis, Telepathy, Empathy, Energy Balls, Energy Shields, Remote Viewing, and more IS POSSIBLE! If you have an open mind, and willing to TRY IT YOURSELF, then  read THIS FREE BOOK I've compiled myself!
    Hello! I am French and I have found my happiness on your software.
    April 12, 2009, 04:07:31 AM
    Forever Searching: Arena!
    Global Moderator
    Teh Uberleet
    *
    User No : 2099
    Posts: 2293
  • 124 credits
  • View Inventory
  • Send Money To Shadowwulf™
  • Location : Massena NY
    Current Project:Arena!
    • View Profile
    • WWW
    ok here is a shot an an algorythm for you...
    Warning! I am rusty as I havent been scripting... just got back into it yesterday.
    -------------------------------
    range(index, target, range)
    PX=playerx(...)
    PY=playery(...)
    TX=targetx(...)
    TY=targety(...)

    if TX is > PX+range or < PX-range then
    tell player too far
    repeat for Y
    Else give the ok
    ------------------------------------------
    Logged


    Unofficial sponsor of Eclipse Origins.
    Eclipse Origins by Robin
    If your love your project... You'll use EO.
    Remember to properly report bugs and feature request in their respective boards with the [EO] tag in the subject!
    Quote
    Don't be a pansy! If you want to change how something works, first look at how it is already works. Once you understand what is already there, you can begin changing it. Its BASIC psychology. XD
    April 12, 2009, 07:53:57 AM
    Luner
    Active Member
    ***
    User No : 11066
    Posts: 207
  • 0 credits
  • View Inventory
  • Send Money To Luner
  • Location : Florida
    • View Profile
    • WWW
    ok here is a shot an an algorythm for you...
    Warning! I am rusty as I havent been scripting... just got back into it yesterday.
    -------------------------------
    range(index, target, range)
    PX=playerx(...)
    PY=playery(...)
    TX=targetx(...)
    TY=targety(...)

    if TX is > PX+range or < PX-range then
    tell player too far
    repeat for Y
    Else give the ok
    ------------------------------------------


    ................whaa? XD sorry, I suck at scripting, but... whaa? ill try to put it in but I dident understand any of that... but ill get back to u with bugs, and if it works or not.....  :P if u can explain, how it does what that does that would be great... cuz im trying to learn. :3 , what I dont get is, u have to put the coordinates of the target? like... idk.
    Logged

    guess whos back.... I am...well...im not realy all that known....but yeah...im back...ty for reading this........I guess.....means alot.....im taking time out of my way to type this up...so yeah.... ~your welcome~ XD




    Quote
    "Give a man a fish, he will eat for a day. Teach a man to fish, he will eat for a lifetime"
    -- This is a quote from ÅÐмIядζ ЯξƒµĢ€ - smartest thing ive ever heard...or read.
    April 12, 2009, 07:59:27 AM
    Game Dev and GFX Artist
    Active Member
    ***
    User No : 11873
    Posts: 388
  • 0 credits
  • View Inventory
  • Send Money To Antidote
    • View Profile
    • WWW
    You would make the spell as any other spell, just set the mode to "Scripted", and just install it as a Scripted Spell (in the scripted spell sub, refer to a tutorial on installing scripts).
    And yes, you can customize it; that's why I have the Calls set up as they are.

    OK, cool!  I'll have to try this for myself to see if it works.  And... (there's always another thing with me) how do you pick the animation?  Is it from the top of the picture in your Client>GFX>Spells file?  I guess I could test this, but it just seems easier to do it this way.  And in what folder does the music need to be in so that the file reads it?  I'll have my own custom music....
    Logged

    Pages: 1 [2] 3 4 ... 6
     


    Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
    SimplePortal 2.3.1 © 2008-2009, SimplePortal
    Valid XHTML 1.0! Valid CSS!
    Page created in 0.267 seconds with 30 queries.