1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

#block_collider

Discussion in 'Modding Help' started by FunATuns, Jan 17, 2016.

  1. FunATuns

    FunATuns Builder Carry Donator

    Messages:
    114
    Hi, I was attempting to make my own boat, and I couldn't figure out how to make a part of the boat "solid" and some of it just foreground. Im assuming that this has to do with the @f32 verticesXY. I couldn't find any threads with a detailed explanation of the vertices so I was wondering if someone could explain it. Thank you
     
  2. Verrazano

    Verrazano Flat Chested Haggy Old Souless Witchy Witch Witch THD Team Global Moderator Forum Moderator Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    477
    if you are intending to extend the size of the main collider of the boat then you can modify the vertices. It's very simple each number is either x or y separated by a ;. the x,y's are centered around the origin of the boat and are measured in pixels. If you want to modify it I'd suggest turning on g_debug (you can do this from the autoconfig, just set it to 1). Then add/modify some of the vertices and reload the game to see the changes. If you want to add another collider to the boat such as the roof platform, you'll have to go into the script for it and look at how it's done, I could explain it, but it's better if you just reference the script.
     
  3. FunATuns

    FunATuns Builder Carry Donator

    Messages:
    114
    Thank you very much! This helped so much