Plowed Filed Graphics

Please post here for questions and discussion about unit modeling and general game modding. You can also post your new units and modifications here.

Moderator: EagleMountainDK

Post Reply
User avatar
RocketMan
Posts: 766
Joined: Mon Jul 19, 2004 4:56 am
Location: Washington State, USA

Plowed Filed Graphics

Post by RocketMan »

I want to add a grid to the plowed fields, but I have searched for the files the game uses to draw them on top of the base terrain and have not been able to determine what files the game engine uses.

Does anybody know which files are used to draw the plowed fields?
User avatar
z1812
Posts: 1575
Joined: Wed Sep 01, 2004 12:45 pm

RE: Plowed Filed Graphics

Post by z1812 »

Hi RocketMan,

I don't see anything for plowed fields either but there is dirt and mud.

Regards John
User avatar
RocketMan
Posts: 766
Joined: Mon Jul 19, 2004 4:56 am
Location: Washington State, USA

RE: Plowed Filed Graphics

Post by RocketMan »

Thanks for the response z1812.

I added a grid to all the terrain files I could find (mud, rock, dirt and forest), however none of them did anything for the plowed field.

In fact the only one that did anything (at least on the maps I have checked, which is not all of them) was the forest grid, and it does not line up with the grass grid at all, as can be seen in the screenshot below.

Image
Mraah
Posts: 1085
Joined: Wed Feb 20, 2008 6:11 am

RE: Plowed Filed Graphics

Post by Mraah »

RocketMan,

Yeah, no specific terrain file, they use the snow or tiled grass with another image mask on top.

As an example, for my level 8 spring map, I'm using tiled_grass02 under the L8_terrainField PNG mask with tiled_mud01. See screen shot, and XML reference.

If you want a more plowed look, you need to erase "lines" into the L8_terrainField png. This will expose the grass in lines and alternate the grass/mud.

You could make a plowed field image too and just make full squares to display the whole image too.

Hope this helps,

Rob

Image
Attachments
fields.jpg
fields.jpg (365.33 KiB) Viewed 301 times
Mraah
Posts: 1085
Joined: Wed Feb 20, 2008 6:11 am

RE: Plowed Filed Graphics

Post by Mraah »

Also, there are 3 "fields" images in the Level 2 map ... plain,rough,and plowed snow. The "norm" image on the far right is taken from the plowed DDS. If any fields exist in the map you'd have to find the image it points too in the XML. You'll need to convert the snow fields to a more summer look too.




Image
Attachments
fields2.jpg
fields2.jpg (337.66 KiB) Viewed 301 times
User avatar
RocketMan
Posts: 766
Joined: Mon Jul 19, 2004 4:56 am
Location: Washington State, USA

RE: Plowed Filed Graphics

Post by RocketMan »

Thanks for the info Mraah.

I think you are saying that the plowed filed image files are specific to the map. Is this correct?
Mraah
Posts: 1085
Joined: Wed Feb 20, 2008 6:11 am

RE: Plowed Filed Graphics

Post by Mraah »

ORIGINAL: RocketMan

Thanks for the info Mraah.

I think you are saying that the plowed filed image files are specific to the map. Is this correct?

I can be specific, as in my example. Seems most of Kharkov is grass and mud.

Which map are you trying to edit where the fields wouldn't have a grid on them? (post #3)


User avatar
RocketMan
Posts: 766
Joined: Mon Jul 19, 2004 4:56 am
Location: Washington State, USA

RE: Plowed Filed Graphics

Post by RocketMan »

ORIGINAL: Mraah

ORIGINAL: RocketMan

Thanks for the info Mraah.

I think you are saying that the plowed filed image files are specific to the map. Is this correct?

I can be specific, as in my example. Seems most of Kharkov is grass and mud.

Which map are you trying to edit where the fields wouldn't have a grid on them? (post #3)



I am not working on any specific map. What I have been trying to do is find a single file I can modify that will grid the plowed fields on all the maps, like the tiled_grass files do for all the maps with grass.
rickier65
Posts: 14253
Joined: Thu Apr 20, 2000 8:00 am

RE: Plowed Filed Graphics

Post by rickier65 »

ORIGINAL: RocketMan

Thanks for the info Mraah.

I think you are saying that the plowed filed image files are specific to the map. Is this correct?

I think that's true - I couldnt find any others. One was made for plowed snow field, but I sus[ect it's not used much in Kharkov. The Plowed Snowfield could could be modded to plowed dirt field. But then it would still only apply to maps that were modded to use it.

Stridor might have more info on this -

Rick
User avatar
Erik Rutins
Posts: 39781
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

RE: Plowed Filed Graphics

Post by Erik Rutins »

RocketMan,

In some cases, the textures are spread out between the Level folders. We should reorganize things in the future, but for now I think your best bet in cases like this is to adjust multiple textures and just use JSGME to put them in the right folders.

Regards,

- Erik
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
User avatar
RocketMan
Posts: 766
Joined: Mon Jul 19, 2004 4:56 am
Location: Washington State, USA

RE: Plowed Filed Graphics

Post by RocketMan »

ORIGINAL: Erik Rutins

RocketMan,

In some cases, the textures are spread out between the Level folders. We should reorganize things in the future, but for now I think your best bet in cases like this is to adjust multiple textures and just use JSGME to put them in the right folders.

Regards,

- Erik

That would be a good suggestion if I could figure out what files are being used to draw the plowed fields. Hence my original question.
Mraah
Posts: 1085
Joined: Wed Feb 20, 2008 6:11 am

RE: Plowed Filed Graphics

Post by Mraah »

ORIGINAL: RocketMan
I added a grid to all the terrain files I could find (mud, rock, dirt and forest), however none of them did anything for the plowed field.

In fact the only one that did anything (at least on the maps I have checked, which is not all of them) was the forest grid, and it does not line up with the grass grid at all, as can be seen in the screenshot below.

RM,

In my Grid overlay mod, I just made two new entries in the XML to get a mask of a grid across the entire map.

In your problem, where the forest grid does not line up right, you may need to change the Rotation value for the forest grid in the SceneXML so it lines up and perhaps the X and Y values. Anywhere in the XML where it loads a specific DDS it would need adjusting, if it doesn't look right. This is my best guess because I haven't tried it yet.

In your screenshot, you may not need to apply the grid to the forest because it already has the grass grid. You'd have to look at the maps and find places where the grid isn't displayed, ie you mentioned field's etc. These would be the places where it would have to be tweaked.

In the case of the winter maps, level 1-10 ... that has several meshes with each one defining a DDS and masks. These are more complicated and instead of making a grid for a specific texture DDS and tweak it for every layer, I just slpapped a basic grid on top of it all. It doesn't look as pretty though.

Rob
User avatar
RocketMan
Posts: 766
Joined: Mon Jul 19, 2004 4:56 am
Location: Washington State, USA

RE: Plowed Filed Graphics

Post by RocketMan »

Thanks for the info Mraah. I haven't played around with scenario editing at all, all my modding experience is adding geometric shapes to picture files. I will have to get into the editor and figure it out one day.
Post Reply

Return to “Maps, Models and Mods”