Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:23:12 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: Flying Steeds with Scrolls [3/5]  (Read 2380 times)
0 Members and 1 Guest are viewing this topic.
February 21, 2007, 05:48:40 AM
Global Moderator
Demi God
*
User No : 1712
Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    :te:

    This is based on the Flying [2/5] script.

    Quote
    Non-Scripter [3/5]
    Beginner [3/5]
    Advanced Scripter [2/5]
    Expert [1/5]
    Pro Scripter [1/5]

    Code:

    Put this script in a new case in ScriptedItems:
    Code: (vb) [Select]
            If GetVar("Steed.ini", GetPlayerName(Index), "Steed") = "1" Then
                Call PlayerMsg(Index, "You are on a steed already.", 12)
            Else
                Call PutVar("Steed.ini", GetPlayerName(Index), "Steed", "1")
                Call PutVar("Steed.ini", GetPlayerName(Index), "NormalClass", CStr(GetPlayerClass(Index)))
                Call SetPlayerClass(Index, Int(GetVar("SteedConfig.ini", "Config", "SteedClass")))
                Call PutVar("Steed.ini", GetPlayerName(Index), "Sprite", CStr(GetPlayerSprite(Index)))
                Call SetPlayerSprite(Index, Int(GetVar("SteedConfig.ini","Config","SteedSprite")))
                Call SendPlayerData(Index)
            End If

    Put this in a hotkey:
    Code: [Select]
            If GetVar("Steed.ini", GetPlayerName(Index), "Steed") <> "1" Then
                Call PlayerMsg(Index, "You aren't on a steed.", 12)
            Else
                Call PutVar("Steed.ini", GetPlayerName(Index), "Steed", "0")
                Call SetPlayerClass(Index, Int(GetVar("Steed.ini", GetPlayerName(Index), "NormalClass")))
                Call SetPlayerSprite(Index, Int(GetVar("Steed.ini", GetPlayerName(Index), "Sprite")))
                Call SendPlayerData(Index)
            End If

    Create an INI called "SteedConfig.ini" (without the "")
    Place the next in it:
    SteedConfig.ini
    Code: (ini) [Select]
    [Config]
    SteedClass=#
    SteedSprite=%

    Replace # with the class which is the fly class. Places where you only can fly, put there class blocks.
    Replace % with the sprite which is a steed. you can only use numbers if you don't know it :P.

    Done.

    Function:
    This lets players ride on flying steeds player will be on steed when using scroll and when pressing hotkey the player will go off, like in SilkRoad. The only bad thing is steeds can only be so big as the players so 32x64 or 32x32.

    Credits:
    The Credits go to me, Godlord.
    No posting this script somewhere else without my permission.
    No stealing nor remodifying(Which happened before).



    Any questions or suggestions please post them here. No flaming please.
    « Last Edit: August 29, 2009, 10:28:09 AM by Godlord » Logged


    • I do not provide help through the PM-system, e-mail, Skype or MSN, since this is kind of disturbing. I encourage you to make a new topic with proper spelling and grammar in the appropriate board instead, if possible.
    • I can't stand people who act like if they were children, so please don't.
    • I recommend you to read the rules before posting. It might solve conflicts before they actually occur.
    • I also recommend you to find the solution yourself before making a new topic about your issue. Chances are that other people had the same issue as well.
    July 11, 2009, 06:48:09 PM
    The Forbidden
    Newb
    *
    User No : 12755
    Posts: 15
  • 0 credits
  • View Inventory
  • Send Money To shredder8910
  • Location : Exeria
    • View Profile
    • WWW
    I don't know why but I get this Error Here:

    TYPE: Expected ')'
    LINE: 15
    COLUMN: 82
    CODE:
       Call PutVar("Steed.ini",GetPlayerName(index),"Sprite",GetPlayerSprite(index)
    Logged

    =)
    July 11, 2009, 07:23:22 PM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    It tells you the problem; it's looking for ")" at the end of that line (hence, "Expected ')'")

    Replace:
    Call PutVar("Steed.ini",GetPlayerName(index),"Sprite",GetPlayerSprite(index)
    With:
    Call PutVar("Steed.ini",GetPlayerName(index),"Sprite",GetPlayerSprite(index))
    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.
    July 11, 2009, 07:37:14 PM
    <('.'<)Kirby ruleZ(>'.')>
    Active Member
    ***
    User No : 3447
    Posts: 289
  • 0 credits
  • View Inventory
  • Send Money To zearth
  • Location : At a computer
    Check out whats up in my new game in WIP.
    • View Profile
    so instead of blocks (which would block the steed as well) you put a class block for every class except the steed right?
    Logged

    Game in progress...ill get back to you on that.
    http://www.wix.com/baalzamon/bbane

    92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature.

    My computer geek score is greater than 100000% of all people in the world! How do you compare? Click here to find out!
    July 11, 2009, 08:23:20 PM
    ♥ Cake ♥
    Global Moderator
    Advanced Eclipser
    *
    User No : 251
    Posts: 1735
  • 72 credits
  • View Inventory
  • Send Money To Tylian!
    • View Profile
    so instead of blocks (which would block the steed as well) you put a class block for every class except the steed right?
    That's a cool idea.
    Logged

    Real men use Eclipse Origins v1.1.0 to create their games!
    August 29, 2009, 08:10:29 AM
    Member
    **
    User No : 14008
    Posts: 55
  • 0 credits
  • View Inventory
  • Send Money To ElReyXIV
    • View Profile
    ah is the stead a big sprite or normal?
    Logged

    The smart People =
    August 29, 2009, 08:14:51 AM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    ah is the stead a big sprite or normal?
    Normal. although I'm going to rewrite this and post a proper version.


    Regards,
      Godlord.
    Logged


    • I do not provide help through the PM-system, e-mail, Skype or MSN, since this is kind of disturbing. I encourage you to make a new topic with proper spelling and grammar in the appropriate board instead, if possible.
    • I can't stand people who act like if they were children, so please don't.
    • I recommend you to read the rules before posting. It might solve conflicts before they actually occur.
    • I also recommend you to find the solution yourself before making a new topic about your issue. Chances are that other people had the same issue as well.
    August 29, 2009, 08:27:46 AM
    Global Moderator
    Teh Uberleet
    *
    User No : 13370
    Posts: 3669
  • 432 credits
  • View Inventory
  • Send Money To Soul
    • View Profile
    1+ internet points Godlord

    Nice script, if only we could use 64x64.
    Logged
    August 29, 2009, 08:30:49 AM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    1+ internet points Godlord

    Nice script, if only we could use 64x64.
    Should be possible once a developer adds a few Sadscript functions for it. The Sadscript function database is still kind of limited which is the big problem of Sadscript.


    Regards,
      Godlord.
    Logged


    • I do not provide help through the PM-system, e-mail, Skype or MSN, since this is kind of disturbing. I encourage you to make a new topic with proper spelling and grammar in the appropriate board instead, if possible.
    • I can't stand people who act like if they were children, so please don't.
    • I recommend you to read the rules before posting. It might solve conflicts before they actually occur.
    • I also recommend you to find the solution yourself before making a new topic about your issue. Chances are that other people had the same issue as well.
    August 29, 2009, 09:24:08 AM
    Member
    **
    User No : 14008
    Posts: 55
  • 0 credits
  • View Inventory
  • Send Money To ElReyXIV
    • View Profile
    Hey what button do you push to get on the the stead because I tried to jump on and it wouldn't let me  and so I hit the chiken and now it is trying to get me. And dont you mean scripted ncp?
    « Last Edit: August 29, 2009, 09:25:51 AM by ElReyXIV » Logged

    The smart People =
    August 29, 2009, 09:41:50 AM
    Global Moderator
    Teh Uberleet
    *
    User No : 13370
    Posts: 3669
  • 432 credits
  • View Inventory
  • Send Money To Soul
    • View Profile
    You have to put it in the Hotkey... Read the tutorial.
    Logged
    September 05, 2009, 11:46:49 AM
    Member
    **
    User No : 14008
    Posts: 55
  • 0 credits
  • View Inventory
  • Send Money To ElReyXIV
    • View Profile
    ok I, equiped the item but it keeps telling me I am not on a stead, how do I jet on one?
    Logged

    The smart People =
     


    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.316 seconds with 32 queries.