:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Fri Sep 22, 2017 6:45 pm
All times are UTC + 0
 Forum index » Modding Central » OpenRA Editing Forums
OpenRA theaters
Moderators: Global Moderators, OpenRA Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
RatsInTheWalls
Rocket Infantry


Joined: 14 Jul 2014
Location: Where the fields are green

PostPosted: Wed Jul 29, 2015 7:06 am    Post subject:   OpenRA theaters Reply with quote

I was wondering... does/will OpenRA do away with theaters so you can make a map with snowy-capped mountains in the desert?
_________________

Back to top
View user's profile Send private message
Mig Eater
General


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Jul 29, 2015 9:54 am    Post subject: Reply with quote

OpenRA still uses theaters & each is limited to a single pal. I hope in the future they will add the ability to use multiple pals within each theaters, as I too want to make more diverse looking maps.
_________________

Back to top
View user's profile Send private message Visit poster's website
Chrono2
Civilian


Joined: 30 Jul 2015

PostPosted: Thu Jul 30, 2015 4:36 am    Post subject: Reply with quote

I didn't look too deeply into the yaml files yet, but does anyone know whether there a place that specifies how the building shp files are named - such that the game will attempt to load gtpile for temperate and gapile for snow?
_________________
AR2 - The Glorious Return of Nemesis

Back to top
View user's profile Send private message
pchote
Cyborg Soldier


Joined: 06 Feb 2015

PostPosted: Thu Jul 30, 2015 7:32 am    Post subject: Reply with quote

The sprite name mangling is enabled (for any sequence - not just building artwork) by defining `UseTilesetCode: true` on the sequence definition.  There is also a `UseTilesetExtension: true` for appending a tileset-specific extension to the filename.  The replacement values for each tileset are defined in mod.yaml

These tags and the logic behind them is implemented in the `DefaultSpriteSequence` sequence loader that is used by the TD/RA/TS mods.  D2K uses its own sequence loader with different behaviour, and your own mods can do whatever they want if you write your own sequence loader class (this is in mod-level code).

Back to top
View user's profile Send private message
4StarGeneral
Commander


Joined: 14 Sep 2006
Location: Hiram, GA, US

PostPosted: Thu Jul 30, 2015 6:22 pm    Post subject: Reply with quote

Mig Eater wrote:
OpenRA still uses theaters & each is limited to a single pal. I hope in the future they will add the ability to use multiple pals within each theaters, as I too want to make more diverse looking maps.


Might as well just have it read a TIFF since it is layered and can read from it's palette instead of needing multiple palettes. Example code
_________________
"Don't beg for things; Do it yourself or you'll never get anything."
Lin Kuei Ominae wrote:
wrong forum. this is not minecraft.


Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
 Forum index » Modding Central » OpenRA Editing Forums
Jump to:  
Quick Reply
Username:


If you are visually impaired or cannot otherwise play the game below please contact the Administrator for help.


 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.1044s ][ Queries: 12 (0.0048s) ][ Debug on ]