Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:18:06 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 Ertzel
[Today at 10:11:57 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
Site Author : Topic: Mount script  (Read 8598 times)
0 Members and 1 Guest are viewing this topic.
January 24, 2007, 03:16:16 AM
AlexOA
Guest


This was requested by Tivolios:
Under the "Select Case LCase(Trim(TextSay))":
Code: [Select]
   Case "/mount"
If GetVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting")="Yes" Then
Call PlayerMsg(Index,"You are already on your horse", 15)
Else
Call PutVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","OriginalSpriteNumber",GetPlayerSprite(Index))
Call PutVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting","Yes")
Call SetPlayerSprite(Index, 10)
call sendplayerdata(index)
End if
Exit sub

Case "/dismount"
If GetVar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount","IsMounting")="No" Then
Call PlayerMsg(Index,"You are already dismounted", 15)
Else
Call PutVar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount","IsMounting","No")
Call SetPlayerSprite(Index, Getvar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount", "OriginalSpriteNumber"))
Call sendplayerdata(index)
End if
Exit sub
the Call SetPlayerSprite(Index, 10) part is where you choose what you want to transform into (spritenumber).
Oh and if you want to add strength, defence, or speed just ask, I'll update the post
Oh and I almost forgot:

This script was made by Alzamos (aka Alex) and should not be used outside this topic or outside of this forum, if you wish to post a modified version of this script, please contact me before doing so


Mounting script V2.0: Adds +10 to strength and speed
Code: [Select]
Case "/mount"
If GetVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting")="Yes" Then
Call PlayerMsg(Index,"You are already on your horse", 15)
Else
Call PutVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","OriginalSpriteNumber",GetPlayerSprite(Index))
Call Putvar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","OriginalStrength", Getplayerstr(index))
Call Putvar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","OriginalSpeed", Getplayerspeed(index))
Call Putvar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","Originallevel", GetPlayerlevel(Index))
Call PutVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting","Yes")
Call Setplayerstr(index, getplayerstr(index) + 10)
Call Setplayerspeed(index, getplayerspeed(index) + 10)
Call SetPlayerSprite(Index, 10)
call sendplayerdata(index)
End if
Exit sub

Case "/dismount"
If GetVar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount","IsMounting")="No" Then
Call PlayerMsg(Index,"You are already dismounted", 15)
Else
Call PutVar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount","IsMounting","No")
Call SetPlayerSprite(Index, Getvar("Scripts\Charextras\" & GetPlayerName(Index) & ".ini","Mount", "OriginalSpriteNumber"))
Call Setplayerstr(index, getvar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","OriginalStrength"))
Call Setplayerspeed(index, getvar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","OriginalSpeed"))
Call setplayerlevel(index, getvar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","Originallevel"))
Call sendplayerdata(index)
End if
Exit sub

Then, add under the PlayerLevelUp sub, right below the
Code: [Select]
Call BattleMsg(index, "You have " & GetPlayerPoints(index) & " stat points.", 9, 0) and above the
Code: [Select]
end sub add this:
Code: [Select]
If GetVar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","IsMounting")="Yes" Then
Call Putvar("Scripts\Charextras\" &GetPlayerName(Index)& ".ini","Mount","Originallevel", GetPlayerlevel(Index))
« Last Edit: March 20, 2007, 08:11:13 AM by Alzamos » Logged
March 30, 2007, 12:23:18 PM
ATB Owner
Active Member
***
User No : 2304
Posts: 422
  • 8 credits
  • View Inventory
  • Send Money To Simon [Tiggilyboo]
    • View Profile
    • WWW
    Would this work for EE gama?
    Logged



    Progress Report
    Networking:
    DX8: - View progress
    Maps
       -Western Forest
       -Eastern Plains
       -Promathia City
    March 30, 2007, 12:37:19 PM
    Veteran
    Advanced Member
    *
    User No : 769
    Posts: 617
  • 0 credits
  • View Inventory
  • Send Money To pheXion (Fred)
  • Location : Poland
    Hurry up, and come.
    • View Profile
    • WWW
    All scripts from previous version eclipse works on newest version.
    Logged

    March 30, 2007, 01:03:04 PM
    ATB Owner
    Active Member
    ***
    User No : 2304
    Posts: 422
  • 8 credits
  • View Inventory
  • Send Money To Simon [Tiggilyboo]
    • View Profile
    • WWW
    ok ty
    but I think the Main.ini is different from the versions arnt they?
    Logged



    Progress Report
    Networking:
    DX8: - View progress
    Maps
       -Western Forest
       -Eastern Plains
       -Promathia City
    March 30, 2007, 01:18:30 PM
    I yern to forge my own kingdom in fire an stone.
    Veteran
    Advanced Member
    *
    User No : 2049
    Posts: 827
  • 0 credits
  • View Inventory
  • Send Money To Tivoilos
    • View Profile
    • WWW
    umm..didn't Alex say not to use this script outside this forum,
    Logged
    October 08, 2007, 12:37:11 PM
    Newb
    *
    User No : 4217
    Posts: 8
  • 0 credits
  • View Inventory
  • Send Money To robotboy555
    • View Profile
    This is a good script but when I say /dismount it changes my level to 4 then back to 99 and my sprite doesn't change back :'(
    Logged
    October 08, 2007, 03:53:41 PM
    Eclipse Gfx/scripter
    Advanced Eclipser
    *****
    User No : 2911
    Posts: 1211
  • 8 credits
  • View Inventory
  • Send Money To kenny
  • Location : In the shadows stalking the forums at any given moment...
    ~Good Scripter~
    • View Profile
    • WWW
    I dont think its storing variables correctly since it should be "\scripts\charextras" & getplayername(index) & ".ini"
    Logged

    <
    Im more of a forum lurker than a talker... I may help if I think its needed. Currently working on Scripts & Custom GFX for game.
    Dont know how to get your game online? try this www.hamachi.cc and install the download, make a network, and distribute client with hamachi ip and and a notepad with your hamachi network/pass... Happy gaming! Also may be able to help with PF, those who can get onto their router already may contact me... others may not because I cant help you.

    My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!
    October 26, 2007, 06:39:37 AM
    Member
    **
    User No : 4262
    Posts: 86
  • 0 credits
  • View Inventory
  • Send Money To Uru Wolf
    • View Profile
    • WWW
    Is there a certified EE version for this? I have tryed the code above but it just errors my main.txt
    Logged

    "I curse the sun so I can howl at the moon."

    Hey!! I make websites, PM me of you want to know more -_^ Supa discounts for Eclipsers.
    December 03, 2007, 06:57:14 AM
    Self-Proclaimed Eclipse Genius
    Newb
    *
    User No : 4652
    Posts: 23
  • 0 credits
  • View Inventory
  • Send Money To Mystical Fish Man
  • Location : Florida
    Bill Cosby FTW!!!
    • View Profile
    Hey, about the syntax...
    Keep it consistent! It gets confusing when you write stuff like this:
    Code: [Select]
    call sendplayerdata(index)after writing in this format:
    Code: [Select]
    Call SetPlayerSprite(Index, 10)And I think it makes a difference when it runs the code, but I may be wrong! :-\
    So please change it to Call SendPlayerData(Index)
    It will make it look more professional as well.  :o
    Thanks,
    Mystical Fish Man
    Logged

    :P :D :O :( :O :D :P ...
    This is the pattern of my moods!
    XP .... Oh, wait...
    June 28, 2009, 11:15:38 AM
    Member
    **
    User No : 12770
    Posts: 72
  • 0 credits
  • View Inventory
  • Send Money To roundkickkid
    • View Profile
    I just have a question about paperdoll items, how do they work work with this?
    Logged
    June 28, 2009, 11:18:22 AM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    I just have a question about paperdoll items, how do they work work with this?
    Wow, this was written for the older Eclipse XD

    Anyway, from looking over the script, it doesn't seem to take paperdoll into account (so you'll still be wearing your paperdoll items).
    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.
    June 28, 2009, 11:34:59 AM
    Member
    **
    User No : 12770
    Posts: 72
  • 0 credits
  • View Inventory
  • Send Money To roundkickkid
    • View Profile
    Wow, this was written for the older Eclipse XD

    Anyway, from looking over the script, it doesn't seem to take paperdoll into account (so you'll still be wearing your paperdoll items).
    I was thinking of editing some of the script for it to be a car driving sprite but if I change your sprite to a car wouldn't the paperdoll items be on the car? Thinking of abway to turn them off for the character ehilendriving a car if possible.
    Logged
    June 28, 2009, 11:39:51 AM
    █☻█
    Administrator
    Epic Poster
    *
    User No : 440
    Posts: 8768
  • 494 credits
  • View Inventory
  • Send Money To ÅÐмiядζ ЯξƒµĢ€
  • Location : Delaware, USA
    The Admiral.
    • View Profile
    I was thinking of editing some of the script for it to be a car driving sprite but if I change your sprite to a car wouldn't the paperdoll items be on the car? Thinking of abway to turn them off for the character ehilendriving a car if possible.
    There's another script, the Sailing Ship script, which I think would be better to use, since it also changes the sprite and stuff well.


    Anyway, you can't dynamically turn paperdoll off, but I'm pretty sure you can unequip items atleast.

    Though, you could uneqip the items, and instead of just changing the sprite, change the class, then just have items class-specific, that way the users won't be able to equip the item again when they are a car.
    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.
    June 28, 2009, 11:43:42 AM
    Member
    **
    User No : 12770
    Posts: 72
  • 0 credits
  • View Inventory
  • Send Money To roundkickkid
    • View Profile
    There's another script, the Sailing Ship script, which I think would be better to use, since it also changes the sprite and stuff well.


    Anyway, you can't dynamically turn paperdoll off, but I'm pretty sure you can unequip items atleast.

    Though, you could uneqip the items, and instead of just changing the sprite, change the class, then just have items class-specific, that way the users won't be able to equip the item again when they are a car.
    ok thanks and wow I forgot about sailing :P and I like new icon, stealling candy from a baby
    Logged
    August 11, 2009, 04:15:42 PM
    I yern to forge my own kingdom in fire an stone.
    Veteran
    Advanced Member
    *
    User No : 2049
    Posts: 827
  • 0 credits
  • View Inventory
  • Send Money To Tivoilos
    • View Profile
    • WWW
    omg any idea how old this script is...hahaha!
    Logged
    August 28, 2009, 03:49:52 PM
    Member
    **
    User No : 14140
    Posts: 58
  • 0 credits
  • View Inventory
  • Send Money To FOFA 
  • This is MY text and no one else can have it
    • View Profile
    • WWW
    Maybe can you make a script for pets that follow you around and have a random chance of attacking another enemy or boosting your stat?
    Logged

    Take the Magic: The Gathering 'What Color Are You?' Quiz.[/URL]
    August 28, 2009, 03:52:26 PM
    That crazy foxy aussie
    Advanced Eclipser
    *****
    User No : 9848
    Posts: 1460
  • 0 credits
  • View Inventory
  • Send Money To [God of Foxiness] Owen
  • Hi thar
    • View Profile
    sigh.
    the pet script
    Logged

    Lost my sig due to incompetence
    October 08, 2009, 10:04:07 AM
    Newb
    *
    User No : 14842
    Posts: 10
  • 0 credits
  • View Inventory
  • Send Money To Yourideut2
    • View Profile
    This script is missing:

    Charextras ...

    How can I make that?
    Logged
    October 11, 2009, 01:20:16 PM
    Global Moderator
    Teh Uberleet
    *
    User No : 13370
    Posts: 3669
  • 432 credits
  • View Inventory
  • Send Money To Soul
    • View Profile
    This script is missing:

    Charextras ...

    How can I make that?

    Just make the folder in the Script folder...
    Logged
    October 26, 2009, 12:10:15 AM
    Active Member
    ***
    User No : 12568
    Posts: 261
  • 74 credits
  • View Inventory
  • Send Money To Sy-Man
    • View Profile
    I've got a question about the look...
    If You use the mount you get another Look, one of the charlooks. You can change the grafik with photoshop for example. But what's about the clothes?

    Is there anybody who tried this skript and answer me this qiestion?
    Logged
    Pages: [1] 2
     


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