gscreens Question
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
gscreens Question
Is there a variable which holds the name of the mini-map that can be accessed in gscreens.csv?
I can make this march and I will make Georgia howl.
Re: gscreens Question
What are you trying to do?
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re:gscreens Question
I am trying to place the mini-map as a graphic on the courier message screen. It would be a background behind the left side of the pane. But I need the variable that contains the mini-map name in order to call it. I can easily call it up as a pop-up screen, but it then covers-up the order screen. I don't really want the units displayed, as they cover up the location names, just the map. Thanks.
I can make this march and I will make Georgia howl.
Re:gscreens Question
$ranmapID should be the best choice, but it will work in Sandbox only.
Last edited by ADukes on Mon May 17, 2010 12:59 pm, edited 1 time in total.
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re:gscreens Question
Will it also work for custom scenarios?
Many thanks.
Many thanks.
I can make this march and I will make Georgia howl.
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re:gscreens Question
$ranmapID only gives the 1st part of the file name. For instance if I am using 4_PPT_MM.dds, the variable only returns 4_PPT. Is there another variable which gives the complete name? Or is there a way to concatenate the _MM.dds onto the variable?
I can make this march and I will make Georgia howl.
Re:gscreens Question
GRAPHIC,,4_PPT_MM.dds,,,,451,97,800,600,800,800,$ranmapID==4_PPT,,,
is what you're looking for, but you have to copy the DDS file to the graphics\screens\ folder.
is what you're looking for, but you have to copy the DDS file to the graphics\screens\ folder.
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re:gscreens Question
Not exactly. What I am trying to do is
GRAPHIC,,$ranmapID{+_MM.dds},,,,65,200,800,800,,,,,,
where I want to add what is contained in the {}. I can create an if/then tree as you suggest, but then I would have to modify it everytime Norb & Co. makes a new map.
I would prefer to create a generic method if possible.
GRAPHIC,,$ranmapID{+_MM.dds},,,,65,200,800,800,,,,,,
where I want to add what is contained in the {}. I can create an if/then tree as you suggest, but then I would have to modify it everytime Norb & Co. makes a new map.

I can make this march and I will make Georgia howl.
Re:gscreens Question
Need an SDK wishlist. Lots of times it's pretty simple to expose stuff that's already supported.
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re:gscreens Question
it's pretty simple to expose stuff that's already supported.
But yes, it would be a good idea to have good exposure. :laugh:
Having the full location of the file would be best. No copying of the files to the graphics folder would then be necessary.
I can make this march and I will make Georgia howl.