branchrust_reboot/main/vehicles/ClientSideModulesWIPcancel
4 Commits over 0 Days - ∞cph!
Better solution: Modules now use changes in parenting to automatically add/remove on both client and server. Sync no longer necessary. Handles destruction also as destroyed entities automatically de-parent. Since child entities are automatically parented on start, it also handles vehicles that start with modules already attached.
Better solution: Modules now use changes in parenting to automatically add/remove on both client and server. Sync no longer necessary. Handles destruction also as destroyed entities automatically de-parent. Since child entities are automatically parented on start, it also handles vehicles that start with modules already attached.
Adding support for the client to know about modules on the vehicle as well, so it can do things like vehicle turns on -> tell all modules -> engines play start sound (without having to sync that data via each individual module entity). Currently WIP and broken, so putting this in a branch.
Changes to audio as well, but they're relatively minor.
Adding support for the client to know about modules on the vehicle as well, so it can do things like vehicle turns on -> tell all modules -> engines play start sound (without having to sync that data via each individual module entity). Currently WIP and broken, so putting this in a branch.
Changes to audio as well, but they're relatively minor.