:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: 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 Sat Dec 03, 2022 2:05 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
Adding New Terrain Pieces ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Stealth Laser Trooper


Joined: 07 Mar 2013

PostPosted: Wed Nov 16, 2022 9:58 pm    Post subject:  Adding New Terrain Pieces ? Reply with quote  Mark this post and the followings unread

How do I extract Tile 1 and after rotating it to look like Tile 2, get it back into the map editor to use ?


2022-09-20_132608.png
 Description:
 Filesize:  452.58 KB
 Viewed:  126 Time(s)

2022-09-20_132608.png



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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Nov 17, 2022 1:34 am    Post subject: Reply with quote  Mark this post and the followings unread

That file is rough01.tem which is found inside the isotem.mix, you can extract it with XCC Mixer. To make a flipped version you'll also need the rough06.tem file too.

First open rough01 in TMP editor, copy & paste the tile into an image editor & flip the image. Then open the rough06 file (use this one as the tile is already the shape you want) & paste the flipped image over it. Save it as a new file with a new name, rougher01.tem etc.

Extract the temperate.ini file from the local.mix, open the file & find the section with FileName = Rough. Make a copy of that section & paste it at the bottom of the ini file. Change the section's name [TileSet0***] to the next available number. Change the SetName to Farm Crops 2 etc & the FileName to rougher (or whatever file name you used). You can change TilesInSet to 1 if you only plan on adding that one tile, it's recommended to set it to 99 though.  

Note that the game use a strict tile numbering system for organizing map tiles so you can't increase the amount of TilesInSet to existing tile sets (Such as adding rough11.tem to the original Farm Crops set etc.). Doing so will break every map already in the game. Which is why it's recommended to set it to 99 so you have lots of room for extra tiles in the future.
_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
adamstrange
Stealth Laser Trooper


Joined: 07 Mar 2013

PostPosted: Thu Nov 17, 2022 6:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Again Mig

Back to top
View user's profile Send private message
adamstrange
Stealth Laser Trooper


Joined: 07 Mar 2013

PostPosted: Thu Nov 17, 2022 6:29 am    Post subject: Reply with quote  Mark this post and the followings unread

This TEM file won't open in paint shop pro and the TMP editor doesn't provide a conversion to image formats and SHP Builder sez OPEN SOURCE SHP BUILDER 3.38 IS UNABLE TO OPEN THIS FILE FILE.

So how do I get it into PSP ?

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Nov 17, 2022 7:57 am    Post subject: Reply with quote  Mark this post and the followings unread

Open the file in TMP editor right click on a cell, select copy > complete.

In PSP open a new file & paste the image, then edit the image however you want.

Once done copy the image in PSP, go back to TMP Editor & again right click on a cell, select paste > complete.

You can also use the Load & Save options in TMP editor to import/export an image, but it's generally quicker to just use copy & paste.

Note that when using copy/paste or Load/Save both the before & after image needs to be the same dimensions or it wont work.

Along with the copy/paste > complete options there are also;

    Image which will copy/paste the just the cell of the tile you right clicked on.
    Extra Image This is used to add an extra image outside of the normal cell shape.
    Z Data This is the depth information for the cell.
    Extra Z Data This is the depth information for the extra image.


You'll only really need these other options if you making a tile with a completely new shape, so dont worry about them for now.
_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot 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

[ Time: 0.1616s ][ Queries: 14 (0.0109s) ][ Debug on ]