Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:24:03 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


Site Author : Topic: Differnt die place for diferent classes  (Read 2209 times)
0 Members and 1 Guest are viewing this topic.
April 14, 2006, 07:43:34 AM
Member
**
User No : 651
Posts: 80
  • 0 credits
  • View Inventory
  • Send Money To DELTA
    • View Profile
    Ok Ive just started to catch on to sadscript and I know some of the basics.Like this tut.

    Dificulty:
    Total Newbies:3
    Regular scripter:1
    Advanced scripter:0

    Ok lets go into main.txt and to edit/find then put in "OnDeath".Then scroll down and find this:

    Code: [Select]
    mapnum = GetVar("Classes\Class" & I & ".ini", "CLASS", "Map")
    y = GetVar("Classes\Class" & I & ".ini", "CLASS", "y")
    x = GetVar("Classes\Class" & I & ".ini", "CLASS", "x")

    Call PlayerWarp(index, mapnum, x, y)
    End Sub


    And change it to this:

    Code: [Select]

    mapnum = GetVar("Classes\Class" & I & ".ini", "DEATH", "DeathMap")
    y = GetVar("Classes\Class" & I & ".ini", "DEATH", "Deathy")
    x = GetVar("Classes\Class" & I & ".ini", "DEATH", "Deathx")

    Call PlayerWarp(index, mapnum, x, y)
    End Sub

    Bug related:Make sure you change "CLASS" to "DEATH"

    Now newbies after this point will change it and go into the game and say they found like an error thats because its not done.This is were you choose which class goes to which death place.Goto one of the classes and goto the end and make it so theres a space between where we are about to type and the last spell.Put "[Death]" you can always change it.Then under put Exactly what you put in the changed OnDeath code!
    EX.Since I went ahead and put DeathMap it should look like this (exactly)
    Code: [Select]

    Spell30= 0

    [DEATH]
    DeathMap= 1
    Deathy= 1
    Deathx= 1

    Bug Related:Make sure the thing above DeathMap is exactly what you put in the script (look in bug related)so bascily just put down exactly what I put down it will be easier.

    Make sure you put a space between the = and the number!
    Once this is done goto the other classes and choose the map and cordinates you want with each class to goto when they die.

    "So your saying why not leave it as?"
    Because if you did you would goto where you first start when you make that character with that class.Instead if you want someone to goto like a heavon or spirit world when they die.Also if you use this you can make like a cleric goto heavon and a like necromancer goto like a spirit world.

    Does anyone think I should change the dificulty level?

    Also if there are any problems tell me.

    One last thing I haven't fully tested this so dont come flaming about it not working.

    PS.This is working and the bug is gone

    Note that it might take a few secs to warp the player.
    Logged

    April 14, 2006, 08:35:55 AM
    Active Member
    ***
    User No : 542
    Posts: 159
  • 0 credits
  • View Inventory
  • Send Money To Kildare
    • View Profile
    Lol you can change the difficult to 1 for total newbs and 0 for everyone else, ;) and eh we have def already come up with good on death scripts... like why not allow them to select what town they want to be a resident in and stuff, and well I guess its cool if it has to do with you're game, And eh... please only post 100% WORKING scripts, I didnt test it, but don't post crap you did not test yet, all we need is 50 billion newbs asking questions on how to fix the damn script.  Thanks ;)
    Logged
    April 14, 2006, 08:57:45 AM
    Member
    **
    User No : 651
    Posts: 80
  • 0 credits
  • View Inventory
  • Send Money To DELTA
    • View Profile
    Sry if this has already been posted I tested it found a bug and fixed it I will edit later or you can just get a moderater to delete this.Also its not crap theres lots of people out on like the EB forum who would die for a script this easy to put in and edit!

    PS.Changed the post to the right codes
    Logged

    April 14, 2006, 01:26:05 PM
    Active Member
    ***
    User No : 542
    Posts: 159
  • 0 credits
  • View Inventory
  • Send Money To Kildare
    • View Profile
    Ye well post it on the EB forum's I wasn't saying its crap I'm just saying people should be able to script something like that on their own, teach them don't give them crap... I mean then you will have to answer questions forever and no one learns anything, that is a very easy script maybe some newb could learn from it if it wasn't just handed over ya know?
    Logged
    April 14, 2006, 06:27:05 PM
    Member
    **
    User No : 651
    Posts: 80
  • 0 credits
  • View Inventory
  • Send Money To DELTA
    • View Profile
    Right now Im not a noob to EB,Eclipse,GT etc.
    But in sadscript Im kinda just learning by looking at other peoples work and theres this rtf file I have that says every sadscript command and what they do and examples so that helps too.Ill go ahead and delete this post

     EDIT:When I click the delete button it takes me to page from the DistantAges forums wtf!
    Logged

    April 14, 2006, 08:05:14 PM
    Active Member
    ***
    User No : 282
    Posts: 396
  • 0 credits
  • View Inventory
  • Send Money To n0madic0debc
  • Location : Lost somewhere dont know, NYC
    • View Profile
    ahh pretty good
    Logged


    April 14, 2006, 08:07:17 PM
    Active Member
    ***
    User No : 542
    Posts: 159
  • 0 credits
  • View Inventory
  • Send Money To Kildare
    • View Profile
    Man don't delete it, I wasn't trying to flame you or anything and I never called you a newb >.< I don't even know you lol.  I was just giving you some ideas, someone may be looking for something like this ya know?
    Logged
    April 14, 2006, 09:31:58 PM
    Lord Of Spleens
    Administrator
    Teh Uberleet
    *
    User No : 166
    Posts: 2951
  • 0 credits
  • View Inventory
  • Send Money To Baron
  • Location : Australia
    Badges? We dont need no stinkin' badges!
    • View Profile
    Quote from: Kildare
    Ye well post it on the EB forum's I wasn't saying its crap I'm just saying people should be able to script something like that on their own, teach them don't give them crap... I mean then you will have to answer questions forever and no one learns anything, that is a very easy script maybe some newb could learn from it if it wasn't just handed over ya know?


    Sounds like I should go garner some respect over at this "EB" place... but then I realised it was elysium blue. Does anyone even use that anymore?
    Logged


    Apparently ICT thinks that:
    [ 98% of Eclipse forums thinks baron is cool. Put this in your signature if you are on of the 2% that knows he's an asshôle ]

    If I'm only pissing 1 in 50 people off, I don't think that is too bad at all :D
    April 14, 2006, 10:40:04 PM
    Intellectual and Creative Troll.
    Veteran
    Teh Uberleet
    *
    User No : 58
    Posts: 2205
  • 146 credits
  • View Inventory
  • Send Money To [Pie] ICT
  • Location : Philly
    <3 you
    • View Profile
    im sure a few, im still wondering how many version there are since there is also ES.
    Logged



    [ 98% of Eclipse forums thinks baron is cool. Put this in your signature if you are on of the 2% that knows he's an asshôle ]
    dude, admin, I can get away with this shit
    April 14, 2006, 10:56:03 PM
    Active Member
    ***
    User No : 542
    Posts: 159
  • 0 credits
  • View Inventory
  • Send Money To Kildare
    • View Profile
    Nice follow up on me Baron, bahaha.
    Logged
    April 14, 2006, 10:57:04 PM
    Lord Of Spleens
    Administrator
    Teh Uberleet
    *
    User No : 166
    Posts: 2951
  • 0 credits
  • View Inventory
  • Send Money To Baron
  • Location : Australia
    Badges? We dont need no stinkin' badges!
    • View Profile
    Yeah, well people do need more simple scripts to teach them.
    Logged


    Apparently ICT thinks that:
    [ 98% of Eclipse forums thinks baron is cool. Put this in your signature if you are on of the 2% that knows he's an asshôle ]

    If I'm only pissing 1 in 50 people off, I don't think that is too bad at all :D
    April 14, 2006, 10:57:54 PM
    Active Member
    ***
    User No : 542
    Posts: 159
  • 0 credits
  • View Inventory
  • Send Money To Kildare
    • View Profile
    Ye I know simple scirpts is a wonderful way to "simply" learn, but chances are if you just hand them the script they won't even read the crap, just copy and paste and then guess what, they don't learn jack, gotta make em work a little for em to learn :D
    Logged
    April 15, 2006, 04:58:03 AM
    Member
    **
    User No : 651
    Posts: 80
  • 0 credits
  • View Inventory
  • Send Money To DELTA
    • View Profile
    Quote from: DELTA


     EDIT:When I click the delete button it takes me to page from the DistantAges forums wtf!


    Does this normally happen?
    Logged

    April 15, 2006, 05:21:49 AM
    Lord Of Spleens
    Administrator
    Teh Uberleet
    *
    User No : 166
    Posts: 2951
  • 0 credits
  • View Inventory
  • Send Money To Baron
  • Location : Australia
    Badges? We dont need no stinkin' badges!
    • View Profile
    uh.... no.
    Logged


    Apparently ICT thinks that:
    [ 98% of Eclipse forums thinks baron is cool. Put this in your signature if you are on of the 2% that knows he's an asshôle ]

    If I'm only pissing 1 in 50 people off, I don't think that is too bad at all :D
     


    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.243 seconds with 29 queries.