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


Pages: [1] 2
Site Author : Topic: Flying [2/5]  (Read 10162 times)
0 Members and 1 Guest are viewing this topic.
February 16, 2007, 08:57:30 AM
Global Moderator
Demi God
*
User No : 1712
Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    Minimalist: TE 1.0

    Made in request of: Kyubi
    Idea is from: Marsh

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

    Code:

    Place this script in a new case in ScriptedItems or in a hotkey I don't mind where you put it (this example is with ScriptedSpell):
    Quote
    Sub ScriptedSpell(index, Script)
    Dim Flying
    Select Case Script
        Case 0
            Flying= GetVar("Fly.ini", GetPlayerName(index), "Flying")
            If Flying = 1 Then
                Call PutVar("Fly.ini", GetPlayerName(index), "Flying", 0)
                Call SetPlayerClass(index, GetVar("FlyData.ini", GetPlayerName(index), "NormalClass"))
                Call SetPlayerSprite(index, GetVar("FlyData.ini", GetPlayerName(index), "NormalSprite"))
            Else
                Call PutVar("Fly.ini", GetPlayerName(index), "Flying", 1)
                Call PutVar("FlyData.ini",GetPlayerName(index), "NormalClass", GetPlayerClass(index))
                Call PutVar("FlyData.ini", GetPlayerName(index), "NormalSprite", GetPlayerSprite(index))
                Call SetPlayerClass(index, GetVar("FlyConfig.ini", "Config", "FlyClass"))
                Call SetPlayerSprite(index, GetVar("FlyConfig.ini", "Config", "FlySprite"))
            End If
    End Select
    End Sub

    Create an INI called "FlyConfig.ini" (without the "")
    Place the next in it:
    FlyConfig.ini
    Quote
    [Config]
    FlyClass=#
    FlySprite=$

    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 the fly sprite. If you activated the flying then your sprite will change to this, when you deactivated it then you will change back to normal.

    Done.

    Function:
    This lets players fly :D.

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



    Any questions or suggestions please post them here. No flaming please.
    « Last Edit: June 14, 2008, 10:47:15 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.
    February 16, 2007, 12:24:53 PM
    Active Member
    ***
    User No : 752
    Posts: 357
  • 0 credits
  • View Inventory
  • Send Money To ~.:Lidnel:.~
  • Location : Ukraine
    The truth is out there...
    • View Profile
    • WWW
    How does it work?  :P

    *Update*
    Now understand...
    Thats becouse of my bad knowladge of English sorry :(
    « Last Edit: February 16, 2007, 12:37:05 PM by Lidnel » Logged


     Collapse Online (FIRST ECLIPSE ISO RPG)  Progress: 70% Maps: 145/150 Items: 10/400 NPC: 60/100 Classes: 6/6 Graphic: 97% GUI: 100%  
    March 08, 2007, 10:10:06 AM
    Newb
    *
    User No : 2312
    Posts: 12
  • 0 credits
  • View Inventory
  • Send Money To Dalfo
    • View Profile
    mmmmmh

    must already be scripted item or spells in souces to make it works ?  ::)
    Logged
    March 10, 2007, 01:32:26 PM
    Member
    **
    User No : 2314
    Posts: 34
  • 0 credits
  • View Inventory
  • Send Money To Mr Ryppers
    • View Profile
    regretfully I'm no scripter.. how would we apply this to a hotkey? so it responds to a button like shift does for running?
    would it be possible to have it so it activates flying at one press.. and deactivates when pressed again (instead of deactivating when it is let go like running)

    seems to me like hotkeying like this'd be excellent for simple things like sitting down..  just make the 'fly class' have sprites that are sitting down, and reduce the speed of the class to 0 so you couldn't move. just make sure you don't have the class available on the login screen (would that be changing 'locked' to 1 on the class file?).
    Logged
    March 10, 2007, 01:36:11 PM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    wtf are you saying :confused: go read my tutorial "Sadscript: the beginning" and open your main.txt before ever posting I am very confused now.
    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.
    March 10, 2007, 02:01:05 PM
    Member
    **
    User No : 2314
    Posts: 34
  • 0 credits
  • View Inventory
  • Send Money To Mr Ryppers
    • View Profile
    ok.. ok.. with your permission godlord I'd like to play around with your code a bit.. see if I can get it to do what I want it to do before I try re-iterating myself.
    Logged
    March 10, 2007, 02:02:15 PM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    You may modify it but not publicy it as your own made even if you modified it.
    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.
    March 10, 2007, 02:11:02 PM
    Veteran
    Advanced Member
    *
    User No : 1640
    Posts: 567
  • 0 credits
  • View Inventory
  • Send Money To Steveo
    • View Profile
    Yes scripting can be confusing.

    It is a highly technical subject.

    To get scripting to work you must have experience with  the  "Main.as  file  and where to put things.

    The script you put in must be exactly correct or it won't work

    In your Server the Scripts function must be turned "on"

    I myself think all Scripts submitted must show every step from what exactly the Script does, what exactly it will say, where exactly it is placed in the Main.as file, and finally what exactly to do "in game" to get the script to do its thing ( Hot keys, or Scripted tile, or type in a code...etc...)


    I put up a Scripting Tutorial on my site, but it is far from perfect, I will be writing a new Tutorial that takes you through every step with clear and simple instructions  ( for nooby scripters)

    BTW  Eclipse Evolution the new game engine has built into it many things that previously were possible only through manual scripting...(ex. Quests) Yaaay!
    Logged


    Post Nuke 2d Game..http://postnuke.50g.com/


    Eclipse Tutorial Site..http://eclipsegames.esmartdesign.com/
    March 10, 2007, 02:13:48 PM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    The scripting was not confusing, what the person said was confusing. I think you need to read my reply again.
    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.
    March 12, 2007, 09:05:59 AM
    NUFC!
    Active Member
    ***
    User No : 1114
    Posts: 301
  • 0 credits
  • View Inventory
  • Send Money To Danz
  • Location : England
    ah my favourite shirt
    • View Profile
    He asked if the script could be activated and deactivated by hotkeys :)
    Logged

    March 12, 2007, 09:09:51 AM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    Yes, he can.
    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.
    March 22, 2007, 01:04:00 AM
    Newb
    *
    User No : 1292
    Posts: 15
  • 0 credits
  • View Inventory
  • Send Money To wilikas2
    • View Profile
    I don't understand, what are the class files. I tried this and it does not work.
    Logged
    March 22, 2007, 07:26:10 AM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    class1.ini as example. Classes. ::)
    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.
    April 12, 2007, 05:41:34 PM
    Active Member
    ***
    User No : 1655
    Posts: 198
  • 0 credits
  • View Inventory
  • Send Money To lordjeremiahs
    • View Profile
    what exactly does it do? change the sprite? or just.. make the sprite look bigger and make a shadow below it? or get past through blocked tiles?
    Logged

    Quote from: lordjeremiahs
    Courage is not the absence of Fear. It is the presence of Fear but the will to go on...
    April 12, 2007, 05:44:18 PM
    I'm a statue, baby, knock me out.
    Advanced Member
    ****
    User No : 1987
    Posts: 689
  • 0 credits
  • View Inventory
  • Send Money To Carnival
  • Location : Hillsboro, MO
    • View Profile
    what exactly does it do? change the sprite? or just.. make the sprite look bigger and make a shadow below it? or get past through blocked tiles?

    It makes it so that only the class listed in Fly.ini can pass through the tile.
    Logged

    "We are the light in the tunnel. We are the living and dying. See how we are alone in the world? We are the light in the tunnel, that's all."

    - Bert McCracken (The Used)

    The used suck stick...
    April 12, 2007, 06:25:50 PM
    HaleBlazR
    Guest
    Thats actually pretty good scripting.  Pretty good idea too.  I kinda did that, but with guild, see, game developers guild can walk everywhere
    Logged
    April 12, 2007, 11:40:32 PM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    See next to my name stands "Über Scriptorz" lol, explains enough 8). This scripts changes your class and your sprite. To something which is flying. You can also return to normal ;D.

    Edit: Saw that there wasn't a sprite change but whatever I will make it later then :P.
    « Last Edit: April 12, 2007, 11:59:29 PM 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.
    April 26, 2007, 01:56:37 PM
    Fury fighter
    Active Member
    ***
    User No : 2568
    Posts: 104
  • 0 credits
  • View Inventory
  • Send Money To blitz_9100
    • View Profile
    this is a great script but it only makes me walk in place:(


    what did I do wrong?
    « Last Edit: April 26, 2007, 02:06:56 PM by blitz_9100 » Logged

    Developer / Mapper Of City Of The Dead (COTD)
    Develeper / Maper Of Post Nuke

    I'll be around on Post Nuke / City Of The Dead (COTD) from 12:00pm est - 1:00am est
    April 28, 2007, 02:27:24 PM
    Global Moderator
    Demi God
    *
    User No : 1712
    Posts: 6821
  • 1292 credits
  • View Inventory
  • Send Money To Stephan
    • View Profile
    yea you need the sprite change part for it. This was normally meant for flying but can be used for other stuff.

    Edit: I added sprite changing to it :).
    « Last Edit: April 28, 2007, 02:31:30 PM 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.
    May 31, 2007, 10:42:40 AM
    death note fan to the max :D
    Active Member
    ***
    User No : 2494
    Posts: 299
  • 0 credits
  • View Inventory
  • Send Money To Skieth
  • 132414.432354334123452 is my lucky number :D
    • View Profile
    this is proboly a stupid question but, couldn't you just make a flying class and put a class block on the places you wanted to let it fly, and if you wanted it really fancy just put something saying "you jump off the ground and start flying"?
    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.363 seconds with 28 queries.