Callout help

Discussion about Mods for Prison Architect

Moderator: NBJeff

rusgasclo
level0
Posts: 1
Joined: Sun Sep 25, 2016 7:13 pm

Callout help

Postby rusgasclo » Sun Sep 25, 2016 7:50 pm

Hi

I am trying to add a custom unit, vehicle and call out. The game will load but crashes when I use the call out. I've posted my materials.txt below, if anyone can point out what might be causing the crash it would be greatly appreciated.

Code: Select all

BEGIN Object
   Name               Batmobile
   SpriteVariants         1
   Width               2
   Height               2
   MaxStackSize         -1
   NumSlots            1
   SpriteScale            1
   Properties            Vehicle
   BEGIN Sprite
      x               0
      y               0
      w               4
      h               4
      RotateType         0
   END
END

BEGIN Object
   Name               Batman
   SpriteVariants         1
   Properties            Entity
   MoveSpeedFactor         0.500000
   Toughness            60.0000
   RenderDepth            2
   ViewRange            12
   BlockedBy            Wall
   BlockedBy            StaticObject
   BlockedBy            UtilityStation
   Properties            Guard
   Properties            DoesNotTire
   Equipment            Baton
   Width               1
   Height               1.5
   BEGIN Sprite
      x               4
      y               0
      w               2
      h               3
      RotateType         2
   END
END

BEGIN Callout 
    Name                 Batman 
    Cost                 -1
    MaxNumber            1
    Vehicle              Batmobile
    Entity               Batman
    NumEntities          1
   BEGIN Sprite
      x               4
      y               0
      w               2
      h               3
      RotateType         0
   END   
END


Thanks

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests