Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Eyecandies.csv?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Storm over the Pacific >> Mods and Scenarios >> Eyecandies.csv? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Eyecandies.csv? - 11/6/2010 4:55:06 AM   
Magpius


Posts: 1632
Joined: 9/21/2007
From: Melbourne, Australia
Status: offline
@Bleck,
In the spritesdepth.csv file there is mention of the eyecandies.csv file to control eyecandies.
Q: Where is it? & How are those 'candies' layered up?
thanks.

_____________________________

Post #: 1
RE: Eyecandies.csv? - 11/6/2010 2:11:28 PM   
Bleck


Posts: 741
Joined: 3/8/2009
From: Poland
Status: offline
eyecandies.csv is stored in scenario folder (but this file is optional).
Depth of eyecandies is stored for each one of them, here is description of eyecandies.csv format:
quote:


#Eyecandies - sprites for hex customization;
#Eyecandy sprite coordinates are (ex,ey). Both ex and ey are in range 0...11. In file eyecandies.png of map skin top-left eyecandy is (0,0), bottom-right is (11,11);
#Format description:;
#First and second column: hex coordinates (x,y) of eyecandy;
#Third column: eyecandy level of depth (range 0...39, see sprites_depth.csv for more info);
#Fourth and fifth column: eyecandy coordinates (ex,ey) for "good" weather;
#Sixth and seventh column: eyecandy coordinates (ex,ey) for "snow" weather;
#Eight and ninth column: eyecandy coordinates (ex,ey) for "mud" weather;

You can set depth level of eyecandy over terrain sprite, so eyecandy sprite will be overlayed (drawn on terrain sprite, so you can place "objects" like rocks, trees, roads, buildings etc. on terrain), or at the same depth level as terrain (then terrain sprite will not be drawn, only eyecandy, so you can alter standard terrain sprites in specific places). You can use only one eyecandy in each hex!

The only problem is that this file is loaded every time (if exist) no matter which map skin is in use, but I think we can change it so game will first look for eyecandies_<skin name>.csv in scenario folder (for example "eyecandies_Normal.csv" if [MapSkin]Normal is being used) and then for regular eyecandies.csv if skin-specific not found. This will allow you to use any eyecandies in your skin, for example different shore line graphics etc.

< Message edited by Bleck -- 11/6/2010 2:27:02 PM >


_____________________________

Wastelands Interactive member (Programmer)

(in reply to Magpius)
Post #: 2
RE: Eyecandies.csv? - 11/7/2010 4:24:28 AM   
Magpius


Posts: 1632
Joined: 9/21/2007
From: Melbourne, Australia
Status: offline
It would be cleaner if mod-specific eyecandies.csv files existed, but somehow I think it would be of benefit to only a small handful of the modders.
If it's not too hard, please place this request into the wish list for future patches.
thanks.


_____________________________


(in reply to Bleck)
Post #: 3
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Storm over the Pacific >> Mods and Scenarios >> Eyecandies.csv? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.078