VP Flags
Moderators: rbodleyscott, Slitherine Core, Gothic Labs
VP Flags
I am trying to replace a VP marker flag for a new scenario, but I cannot figure out how to do it.
I assume that the relevant graphic file is the Flag0#&.dds to Flag19#&.dds files in the Core\Anim folder. But I cannot work out where to place my new .dds file in the Scenario folder structure.
Please can anyone help me with this?
I assume that the relevant graphic file is the Flag0#&.dds to Flag19#&.dds files in the Core\Anim folder. But I cannot work out where to place my new .dds file in the Scenario folder structure.
Please can anyone help me with this?
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
-
- Field of Glory 2
- Posts: 28014
- Joined: Sun Dec 04, 2005 6:25 pm
Re: VP Flags
See the custom campaign folder layout diagram at the end ofPaul59 wrote:I am trying to replace a VP marker flag for a new scenario, but I cannot figure out how to do it.
I assume that the relevant graphic file is the Flag0#&.dds to Flag19#&.dds files in the Core\Anim folder. But I cannot work out where to place my new .dds file in the Scenario folder structure.
Please can anyone help me with this?
http://www.slitherinebravo.net/GameWiki ... tub_engine
It appears you should put it in
MyCampaign\Anim
Richard Bodley Scott
Re: VP Flags
Thanks Richard,rbodleyscott wrote:See the custom campaign folder layout diagram at the end ofPaul59 wrote:I am trying to replace a VP marker flag for a new scenario, but I cannot figure out how to do it.
I assume that the relevant graphic file is the Flag0#&.dds to Flag19#&.dds files in the Core\Anim folder. But I cannot work out where to place my new .dds file in the Scenario folder structure.
Please can anyone help me with this?
http://www.slitherinebravo.net/GameWiki ... tub_engine
It appears you should put it in
MyCampaign\Anim
But I have already tried that and it did not work. Maybe that particular file cannot be replaced?
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
-
- Field of Glory 2
- Posts: 28014
- Joined: Sun Dec 04, 2005 6:25 pm
Re: VP Flags
Possibly. Try adding one with a completely new name?Paul59 wrote:Thanks Richard,rbodleyscott wrote:See the custom campaign folder layout diagram at the end ofPaul59 wrote:I am trying to replace a VP marker flag for a new scenario, but I cannot figure out how to do it.
I assume that the relevant graphic file is the Flag0#&.dds to Flag19#&.dds files in the Core\Anim folder. But I cannot work out where to place my new .dds file in the Scenario folder structure.
Please can anyone help me with this?
http://www.slitherinebravo.net/GameWiki ... tub_engine
It appears you should put it in
MyCampaign\Anim
But I have already tried that and it did not work. Maybe that particular file cannot be replaced?
Richard Bodley Scott
Re: VP Flags
I tried adding a new .s4f file ($Flag24.s4f linked to Flag24#&.dds both placed in the My Campaign/Anim folder) and that does not show up either. Maybe I need the .s3f file for the VP flag?
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
-
- Field of Glory 2
- Posts: 28014
- Joined: Sun Dec 04, 2005 6:25 pm
Re: VP Flags
I am sorry I have no idea.Paul59 wrote:I tried adding a new .s4f file ($Flag24.s4f linked to Flag24#&.dds both placed in the My Campaign/Anim folder) and that does not show up either. Maybe I need the .s3f file for the VP flag?
I will ask Pip to comment.
Richard Bodley Scott
-
- Site Admin
- Posts: 9702
- Joined: Wed Mar 23, 2005 10:35 pm
Re: VP Flags
An s4f file should work fine. When you say it does not show up what do you mean? Is another flag used?
Cheers
Pip
Cheers
Pip
follow me on Twitter here
Re: VP Flags
Hi Pip,pipfromslitherine wrote:An s4f file should work fine. When you say it does not show up what do you mean? Is another flag used?
Cheers
Pip
No flag shows at all. I am trying to use $Flag24.s4f linked to Flag24#&.dds. Both files have been put into an Anim folder within the scenario folder. When I cycle through the nations in the editor I get each a different nation VP flag up to nation 19, after that I get nothing. I know I have probably done something wrong, but I cannot work out what it is!
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
-
- Site Admin
- Posts: 9702
- Joined: Wed Mar 23, 2005 10:35 pm
Re: VP Flags
In the VP plugin seems to have a line which prevents nation values more than 19 - Richard would need to answer as to whether that could be the issue
// Place marker based on "nation" value
if ((nation >= 0) && (nation <= 19))
{
Cheers
Pip
// Place marker based on "nation" value
if ((nation >= 0) && (nation <= 19))
{
Cheers
Pip
follow me on Twitter here
-
- Field of Glory 2
- Posts: 28014
- Joined: Sun Dec 04, 2005 6:25 pm
Re: VP Flags
I have never used the VP plugin so I could not say.pipfromslitherine wrote:In the VP plugin seems to have a line which prevents nation values more than 19 - Richard would need to answer as to whether that could be the issue
// Place marker based on "nation" value
if ((nation >= 0) && (nation <= 19))
{
Cheers
Pip
I only used a VP in the TYW Nordlingen scenario and I scripted it.
You can see what I did in Nordlingen.BSF, although I am hazy as to how it works.
It uses the CheckVP() function from Functions.BSF. That is what sets the flag anim, according to the SideIDs assigned in the Editor.
Richard Bodley Scott
-
- Site Admin
- Posts: 9702
- Joined: Wed Mar 23, 2005 10:35 pm
Re: VP Flags
Ah - OK. That function also has a check in it preventing it from using markers above 19.
I would try copying one of the other flag s4f files into your local ANIM folder, as well as your replacement texture. IIRC it will only use that folder for the texture if the s4f is in that folder.
Cheers
Pip
I would try copying one of the other flag s4f files into your local ANIM folder, as well as your replacement texture. IIRC it will only use that folder for the texture if the s4f is in that folder.
Cheers
Pip
follow me on Twitter here
Re: VP Flags
Thanks Pip,pipfromslitherine wrote:Ah - OK. That function also has a check in it preventing it from using markers above 19.
I would try copying one of the other flag s4f files into your local ANIM folder, as well as your replacement texture. IIRC it will only use that folder for the texture if the s4f is in that folder.
Cheers
Pip
I copied the standard $Flag2.s4f into my Anim folder together with a new Flag2#&.dds. It now works, although I am sure that I tried the same thing a few days ago and it did not work! Anyway all is well now, thanks for all your help.
Cheers
Paul
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
Field of Glory II Medieval Scenario Designer.
FOGII TT Mod Creator
Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
Re: VP Flags
Paul Ligny Scenario Napoleonic French (0) v Prussian (1) Created new .dds Side Icons and flags but VP flags do not alter. It appears from above that one has to alter .s4f files in the core program. Can you help?
Re: VP Flags
OK Copied what you did and it works fine. Thanks
Re: VP Flags
Cannot really see the benefit of using the Victory points. As I understand it a side wins by achieving the specified rout victory conditions OR by capture of required VPs. If capture looks too difficult then the player can just opt to go for the normal victory conditions. The use of VPs would be much greater if it was possible to change this so that a win requires both the specified rout victory conditions AND the capture of required VPs. Any ideas?