Black Bar

Discussion about Mods for Prison Architect

Moderator: NBJeff

Seraruth
level0
Posts: 7
Joined: Fri Feb 06, 2015 10:21 am

Black Bar

Postby Seraruth » Mon Apr 27, 2015 9:36 pm

I try the whole day to bring the Bookshelf to work, when I rotate the Bookshelf, there is a black bar on the side. Any Idea what I do wrong?

Image

the front and back view looks good.

The material text for the Bookshelf is:

BEGIN Object
Name WardenBookshelf
Width 2
ConstructionTime 5.00000
MoveSpeedFactor 0.800000
Price -200
RenderDepth 2
NumSlots 1
AttachToWall true
Group StaticObject
BlockedBy Wall
BlockedBy StaticObject
BlockedBy UtilityStation
MadeOf Composite
Properties StaticObject
Properties RoomSpecific
BEGIN Sprite
x 21
y 21
w 4
h 4
RotateType 1
END
END

Any help would be appreciate.
User avatar
Chad
level3
level3
Posts: 255
Joined: Wed Sep 26, 2012 8:00 pm

Re: Black Bar

Postby Chad » Thu Apr 30, 2015 6:49 am

You've defined the shelf as 4x4 object, which it is from the front/back. If you flip it, the object remains at that dimensions. I assume, that the sprite is on the far edge of your sprite file and the black bar results from that.

Good luck!

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 1 guest