[Lua] 0.20 Mod Upgrading Information

Discussion in 'Content Creation' started by Dummiesman, Aug 7, 2020.

  1. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,684
    Leaving my findings here for other modders. The last update made some changes in vehicle lua, and there is no documentation yet afaik.

    Here's what I've found has changed so far, and what it needs to be changed to

    Code:
    partmgmt.state.config -> v.config
    v.data.hydros[id].beam -> v.data.beams[v.data.hydros[id].beamCID]
    v.vehicleDirectory -> v.data.vehicleDirectory
    
    v.data.beams[id].beamType is now numeric, not text.
    NORMAL is 0
    BOUNDED is 2
    Don't know what the rest are
    
     
    #1 Dummiesman, Aug 7, 2020
    Last edited: Aug 7, 2020
    • Like Like x 3
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice