One the mud I code for I implented vehicles by creating an entire new structure type, This allows multiple vehicles of the same type to be created and used by multiple players simultaneously, which can't be done by the object/room method described earlier. We allow players to upgrade their vehicles with enhancements and weapons mounts. Weapons mount's can be controlled by a player who is linked to the driving system of the vehicle or by someone else riding in/on the vehicle.
I originally tried using the object/room method for this but gave up quickly given the limitations of the system. In the end, your best bet is too create a new structure type for it.although this may be a bit much for someone who is new to coding, it can be good practice for adding more advanced features.
|