The Castle Doctrine Forums

Discuss the massively-multiplayer home defense game.

You are not logged in.

#1 2014-02-15 23:02:02

Lord0fHam
Member
From: California
Registered: 2014-02-11
Posts: 487

So Jason what if I...

replace the files in my steam folder for the paintings with new pictures. what would happen?


It's a trap!

Offline

#2 2014-02-15 23:14:19

sebastian
Member
Registered: 2014-01-31
Posts: 68

Re: So Jason what if I...

The paintings will be replaced of course, but only for your Eyes.

Each painting have a "ID", which will load the corresponding file in THEIR local folder.
Lets say you replace:
"C:\Program Files\Steam\steamapps\common\CastleDoctrine\gameElements\gallery\Charlie_Franco____Doing_Time\CF-DoingTime.tga" with a Picture of yourself.

Then:
When you browse the action house, you will see the Picture of yourself.
When you buy the painting, you will see your Picture in your house.
When someone other buys the painting, you will see your Picture in their house.

When someone else browse the action house, they will see the Picture of the black-White striped figure.
When you buy the painting, other persons will see the Picture of the black-White striped figure in your house.
When someone other buys the painting, other persons will see the Picture of the black-White striped figure in their house.


So no, the Pictures are not "uploaded" anywhere, only you see the replaced Pictures.

Offline

#3 2014-02-15 23:21:47

HaterSkater
Member
Registered: 2014-02-01
Posts: 29

Re: So Jason what if I...

Same works with every type of sprites: constructions, gear, doggies, even family can be redrawn on client side

Offline

#4 2014-02-15 23:22:46

sebastian
Member
Registered: 2014-01-31
Posts: 68

Re: So Jason what if I...

Yes, except for a few, wire sprites. That are signed and will refuse to load, if you replace them.

Offline

#5 2014-02-15 23:25:51

HaterSkater
Member
Registered: 2014-02-01
Posts: 29

Re: So Jason what if I...

Ok, didn't knew. btw other question, don't want to start new thread: what is a purpose of yellow and red pixels in sprites called "shadeMap"? I experimented with custom dogs yesterday, and just saved same custom tga file as "<name>" and "<name>_shadeMap" and everything was ok

UPD: about pit bull: why do i have to remove stripe of pixels in tga files in folders "20" (vertical stripe) and 23 (horizontal one)

Last edited by HaterSkater (2014-02-15 23:28:41)

Offline

#6 2014-02-15 23:45:38

sebastian
Member
Registered: 2014-01-31
Posts: 68

Re: So Jason what if I...

It seems like it is used to calculate how the shades should look like. Simply, something that tells the Engine whats top and whats bottom of a object.

Offline

Board footer

Powered by FluxBB 1.5.8