Advertisement
mattjeanes

TARDIS Interior Extension template

Mar 11th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. -- <<Name of your interior here>>
  2.  
  3. local T={}
  4. T.Base="base"
  5. T.Name="<<your interior name>>"
  6. T.ID="<<yourinteriorid-sameasfilename!!>>"
  7. T.Interior={
  8.     Model="<<your model here e.g. models/myinterior.mdl>>",
  9.     Light={
  10.         color=Color(0,100,255),
  11.         pos=Vector(0,0,0),
  12.         brightness=8
  13.     },
  14.     Fallback={
  15.         pos=Vector(0,-330,95),
  16.         ang=Angle(0,90,0)
  17.     },
  18.     Screens={
  19.         {
  20.             pos=Vector(57.15,-11.38,159.58),
  21.             ang=Angle(0,90,90),
  22.             width=485,
  23.             height=250
  24.         }
  25.     },
  26.     Parts={
  27.         door=true
  28.     }
  29. }
  30. T.Exterior={
  31.     Parts={
  32.         door=true
  33.     }
  34. }
  35.  
  36. TARDIS:AddInterior(T)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement