HowTo Sprite?

Discussion about Mods for Prison Architect

Moderator: NBJeff

DonCaramello
level0
Posts: 5
Joined: Tue May 20, 2014 5:36 pm

HowTo Sprite?

Postby DonCaramello » Wed Sep 17, 2014 9:12 am

Hi guys,
got some noobish question for you (or is it just a bug?^^)


I'm trying to build a mod, but i don't get the "sprite-thing" at all.
I am able to replace the tileset.png and add sprites in this sheet, but i dont like that style.
so i tried to add a new sprite, saw this in some other mods, spritesheet always named "sprites.png"
but if i try this, he just dont take my sprites? i dont get it :(
I downloaded many other mods to check, but i dont see any differences to my code...
actually i dont really get why this is working in the other mods, there is no link to "sprites.png" i can see :(
sry for bad english, sry if this is explained somewhere, searched lil time in this forum and in devwiki but didnt find something useful
thanks anyway and hi community, im new to this, but i already love it

Just an example for adding streets to materials
This is my sprite.png:
Image
And this is my code to it:

Code: Select all

BEGIN Material   
   Name                StreetTop
   ConstructionTime    10.0000
   MoveCost            1.00000
   SoftEdged           0
   IndoorOutdoor       1
   BEGIN   Sprite
        x 0
        y 0 
        w 2 
        h 2 
        RotateType 0
   END
END
Last edited by RGeezy911 on Wed Sep 17, 2014 3:33 pm, edited 3 times in total.
Reason: Moved to the Modding sub-forum.
mazetar
level2
level2
Posts: 141
Joined: Mon Feb 11, 2013 12:14 am

Re: HowTo Sprite?

Postby mazetar » Wed Sep 17, 2014 10:00 am

Hi!

You will probably have an easier time finding the answer in this section:
viewforum.php?f=88

:)
DonCaramello
level0
Posts: 5
Joined: Tue May 20, 2014 5:36 pm

Re: HowTo Sprite?

Postby DonCaramello » Wed Sep 17, 2014 12:53 pm

oh, damn, sorry,
any mod to move this thread? :)

*edit*
thx

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 1 guest