[RVGL] Custom .ncp files for objects
Posted: Mon Feb 11, 2019 6:30 pm
I created a track with some rotating objects, realized with custom .m files for planets. Some of them are very close to the track, so they should have collisions, but adding collision files (e.g. venus.ncp) doesn't work (likely because they don't have a stock collision file). I tried to find a suitable object that already has a ncp collision, but there is none:
- dragon1.ncp, sphose.ncp, spbase.ncp, spbasegarden.ncp: not moving
- chopper1.ncp, dragoncock.ncp: can't see them ingame (replaced them with other ncps and enabled the 'Render Settings' -> 'Collision' option)... I think they aren't used by the game
- train.ncp, slider.ncp: their type of movement type isn't useful here
I suggest making ncp collision possible for a few more objects, like Spinning Barrel, Planets, Plane, Copter, Boats, Balloon and Horse.
I'd implement it like custom model files are implemented: The game looks for a ncp file in the custom folder, and if none is found, it loads the default one - which does not exist, and therefore the object has no collision.
- dragon1.ncp, sphose.ncp, spbase.ncp, spbasegarden.ncp: not moving
- chopper1.ncp, dragoncock.ncp: can't see them ingame (replaced them with other ncps and enabled the 'Render Settings' -> 'Collision' option)... I think they aren't used by the game
- train.ncp, slider.ncp: their type of movement type isn't useful here
I suggest making ncp collision possible for a few more objects, like Spinning Barrel, Planets, Plane, Copter, Boats, Balloon and Horse.
I'd implement it like custom model files are implemented: The game looks for a ncp file in the custom folder, and if none is found, it loads the default one - which does not exist, and therefore the object has no collision.