Dishonor Scape

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Dishonor Scape

Dishonor Private Server


    Add an Object

    Monster
    Monster
    Admin


    Add an Object Empty Add an Object

    Post  Monster Fri Mar 27, 2009 7:41 pm

    Ok well first, Open client.java in your source (server) files.

    Find globalobject

    Ignore the first match, and press enter again.

    Now you should have a big list of globalobject stuff.

    *Explaining the code*

    makeGlobalObject(****, ####, ####, ^, 10);

    **** = This is your object code, it is the same as an item code, but different? (google an object list)

    ####, #### = These are your coordinates, so where you want to place the object. if your using delta do ::mypos when playing.

    ^ = This is the angle you want your object to face, so Nth,Sth,Est,Wst might be 0,1,2,3. Just experiment with what way. Also on some sources you will see a - before the number just ignore that it doesnt make any difference.

    The 10 at end is the height level, if your not a very confident coder dont mess with it, just leave it as 10.


    Ok so now, save, close, compile and run.

    Hope this helped.

    Monster

      Current date/time is Sun May 19, 2024 6:00 am