User:Nexii Malthus/SLMC/Combat Vehicles

From Second Life Wiki
< User:Nexii Malthus‎ | SLMC
Revision as of 22:44, 7 August 2024 by Nexii Malthus (talk | contribs) (Created page with "This is a stub / work-in-progress page. Outline * Introduction to Combat Vehicles * What a combat vehicle needs What you need for a combat vehicle: * A movement engine ** M...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a stub / work-in-progress page.

Outline

  • Introduction to Combat Vehicles
  • What a combat vehicle needs


What you need for a combat vehicle:

  • A movement engine
    • Most usually use the Linden Vehicle system, you can follow the normal tutorial on that and/or see this list of opensource vehicle scripts
    • It's possible to devise your own physics or non-physics based movement system
    • I've been working on non-physical multi-legged mechs that use raycasting for longer than llCastRay has existed, so in that tutorial I'll go over how to make one yourself
  • Setting SIT_FLAG_NO_DAMAGE on sit targets to prevent your vehicle crew from getting damaged
  • Object-based health system, usually referred to as an armor system
  • Weapons or equipment if you want to turn it into an armed vehicle. For a weapon you'll want to follow similar approach to making an attachment weapon with rez cores and/or script for managing the controls for that weapon, but you may want to do prim animation in the case of a turret or pivot gun on a vehicle that a user such as the driver or gunner is in control of