Thread: Adding Objects

Results 1 to 4 of 4
  1. #1 Adding Objects 
    coder sal
    Guest
    How do I manually add an object into my server without using any programs or bullshit to do it. Where in the code would I place the object in my choice of X and Y coordinates?

    Answer as fast as possible please, and thank in advance.
    Reply With Quote  
     

  2. #2  
    Founder of MBScape & Xora

    Ryan.'s Avatar
    Join Date
    Oct 2008
    Posts
    1,509
    Thanks given
    53
    Thanks received
    49
    Rep Power
    312
    Ok, here's a quick tut...

    Go into Client.java.

    Search
    makeglobalobject
    You should see something like this....

    makeglobalobject 3001 3005 4010 -1 0
    The 3001 would be the X coordinate.

    The 3005 would be the Y Coordinate

    The 4010 is the Object ID

    The -1 is the direction it is facing..

    The 0 is the height level (Leave it at 0)
    Reply With Quote  
     

  3. #3  
    Registered Member
    Unborn's Avatar
    Join Date
    Dec 2007
    Age
    28
    Posts
    516
    Thanks given
    1
    Thanks received
    3
    Rep Power
    317
    Code:
    ReplaceObject2(OBJ_X, OBJ_Y, OBJ_ID, OBJ_DIRECTION_ID, OBJ_TYPE);
    OBJ_X: Object Absolute X Location
    OBJ_Y: Object Absolute Y Location
    OBJ_ID: The Objects Identifier (Id), or -1 to delete the object.
    OBJ_DIRECTION: The direction for the object to face (West : 0, North: -1, East: -2, South: -3)
    OBJ_TYPE: The type of object it is (0-3 wall objects, 4-8 wall decoration, 9: diagonal walls, 10-11 world objects, 12-21: roofs, 22: floor decoration)


    Reply With Quote  
     

  4. #4  
    coder sal
    Guest
    My client.java doesn't have "globalobject" and I tried "Replaceobject2" and it simply gives out an error. I was looking around and I found an objects.cfg file since I'm using Devo I have that. I tried putting in objects there and I got errors as well. Reply as soon as possible? Please?

    Edit : NVM +Rep to "Unborn" I did it all wrong I just a read a tut and it worked! It was unborn's way I just needed a more specific tutorial. For everyone that's looking for a way to add objects to Devolution just go here: [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •