RCG Editing Questions (Full Version)

All Forums >> [Current Games From Matrix.] >> [Discontinued Games] >> Panzer Command: Kharkov >> Maps, Models and Mods



Message


Erik Rutins -> RCG Editing Questions (4/12/2008 5:59:30 AM)

Use this thread for questions related to editing the Random Campaign Generator Files.




Mraah -> RE: RCG Editing Questions (4/12/2008 10:48:31 AM)

Stridor,

Ok ... I've read the manual ... I'm stuck ... see screen shot.

Question ... How can I add a scenario to list circled in red?
Question ... How can I edit a scenario from the list circled in red?

EDIT NOTE : I want to make my own scenario to use in this list.

I've looked in the scenario editor and it's not there ( German Winter 41 (attack) - 1st Pzr Div )
I've looked for an XML file with that name, no luck.

[&:]

Also, suggestion ... The Replacements button needs pull down default menu's for Historical/Increased/Generous/Maximum ... I had to reference the other campaign's to find out what goes it what field.

Thanks !!

Rob
[image]local://upfiles/28390/C4FC12D153C247E89DC685710A5434FE.jpg[/image]




Stridor -> RE: RCG Editing Questions (4/12/2008 11:10:04 AM)

If you press the little S (tick) button with a battle plan selected then that will be added to the sequence list.

You can double click on the battle plan once it has been loaded into the sequence list to edit its xml. This will load up the battle plan xml into whatever you have defined to load the xml file extension (eg notepad, xml notepad 2007, etc).

This is if you are in random campaign mode. In the "normal" campaign mode you add fixed scenarios (not battle plans) to the sequence list and when you dbl click on them it loads them up into the scenario editor.

There is no Battle plan editor as such, just raw xml edits but it should be pretty easy to work out.

If you want to add a brand new battle plan just copy one of the old ones over in the Data/Battles directory.


So just to be clear. Fixed campaigns use scenarios. Random campaigns use battle plans.




Mraah -> RE: RCG Editing Questions (4/12/2008 11:17:10 AM)


quote:

ORIGINAL: Stridor
You can double click on the battle plan once it has been loaded into the sequence list to edit its xml. This will load up the battle plan xml into whatever you have defined to load the xml file extension (eg notepad, xml notepad 2007, etc).


Ahhh, that was my problem.

quote:

There is no Battle plan editor as such, just raw xml edits but it should be pretty easy to work out.


Not a problem, I like raw data [:)]

quote:

If you want to add a brand new battle plan just copy one of the old ones over in the Data/Battles directory.

Dang it ... never occured to me to look in the battles folder ...[>:] Doh!!

Much appreciate your fast reply!!
Back to the drawing board ...
Rob




Mraah -> RE: RCG Editing Questions (4/12/2008 11:36:49 AM)


quote:

You can double click on the battle plan once it has been loaded into the sequence list to edit its xml. This will load up the battle plan xml into whatever you have defined to load the xml file extension (eg notepad, xml notepad 2007, etc).


Hmm, double clicking not working ... where can I define to load the xml extension? I'm using xml notepad 2007.

No problem loading it up seperately from explorer.

Rob




Stridor -> RE: RCG Editing Questions (4/12/2008 2:10:46 PM)

quote:

ORIGINAL: Mraah


quote:

You can double click on the battle plan once it has been loaded into the sequence list to edit its xml. This will load up the battle plan xml into whatever you have defined to load the xml file extension (eg notepad, xml notepad 2007, etc).


Hmm, double clicking not working ... where can I define to load the xml extension? I'm using xml notepad 2007.

No problem loading it up seperately from explorer.

Rob



Hmmm, I don't know why that would be. I have checked it and it works ok for me. What happens if you double click an xml file in explorer, what program loads it? Try also clicking on the edit xml function in the specs sheet of a unit in the scenario editor and see if that works because it uses the same mechanism.

I have noticed that sometimes xml notepad 2007 can sometimes take an "age" to load. So try giving it a little time and see what happens.




Mraah -> RE: RCG Editing Questions (4/12/2008 2:26:27 PM)


quote:

What happens if you double click an xml file in explorer, what program loads it?


Yes, xml notepad.


quote:

Try also clicking on the edit xml function in the specs sheet of a unit in the scenario editor and see if that works because it uses the same mechanism. I have noticed that sometimes xml notepad 2007 can sometimes take an "age" to load. So try giving it a little time and see what happens.


Nope. I waited 5 minutes. I tried again in the RCG, nope.

I'm going to put another quarter in the slot and see ... nope [:)].

Rob




Stridor -> RE: RCG Editing Questions (4/12/2008 2:45:10 PM)

Just as a hunch, try setting up xmls to be opened by IE and then try double clicking again.

Otherwise I don't know?

Try opening a fixed campaign and double clicking on a scenario, that should take you to the scenario editor. Does that work?

If you click on the unit edit button in the specs window in the editor does that allow you to edit the xml?




Mraah -> RE: RCG Editing Questions (4/12/2008 3:05:54 PM)

quote:

ORIGINAL: Stridor

Just as a hunch, try setting up xmls to be opened by IE and then try double clicking again.

Otherwise I don't know?

Try opening a fixed campaign and double clicking on a scenario, that should take you to the scenario editor. Does that work?

If you click on the unit edit button in the specs window in the editor does that allow you to edit the xml?


Hmmm, when IE is the opener it prompts me about running Active X ... I can view it though.

I know in the security options it won't run Unsigned Active X. Is that what RCG or RBG is doing?

Rob

EDIT NOTE : see screen shot



[image]local://upfiles/28390/50D0A3F988E54F11A05EBA2413BA4EAA.jpg[/image]




Mraah -> RE: RCG Editing Questions (4/12/2008 3:56:18 PM)

By the way ... speaking of ActiveX ...

I'm running the Scenario Editor and the manual states that if I press button (7), I can view the terrain in 3D ... which I tried and it does not.

The manual states on page 12 ... "On the first time the Scenario editor is run you will be asked to install an activeX component. Please ensure that you do so for maximum editor functionality".

It did not ask me to install an activeX component when first ran program.

Thanks again for your support!

Rob

EDIT NORE : Maybe there needs to be a SceneXML for the template ... just guessing, the Winter L5W has none, I think.




Erik Rutins -> RE: RCG Editing Questions (4/12/2008 4:02:26 PM)


quote:

ORIGINAL: Mraah
I'm running the Scenario Editor and the manual states that if I press button (7), I can view the terrain in 3D ... which I tried and it does not.


It does, but chances are if you have the map maximized that it's hidden behind it. Try zooming out of the main map, then click on it and drag it to the side, you should see the 3D version behind it.




Mraah -> RE: RCG Editing Questions (4/12/2008 4:07:07 PM)


quote:

ORIGINAL: Erik Rutins
It does, but chances are if you have the map maximized that it's hidden behind it. Try zooming out of the main map, then click on it and drag it to the side, you should see the 3D version behind it.


Ok ... Good morning Erik [:)] . You caught me by surspise ... read my post again, edit note ...

This does work for Karkov maps ... I'm using the Winter L5W map, which appears to need the sceneXMl for it to view 3D.

Thanks for quick reply!

Rob




Erik Rutins -> RE: RCG Editing Questions (4/12/2008 4:12:28 PM)

Aha, that may be true - I'm not sure why that scene file would not be there, let me find out.




Romeo13 -> RE: RCG Editing Questions (4/18/2008 11:41:58 PM)

OK, searched throught the multiple XML files pretty well...

Just where can you modify the base Core Units to build a random Campaign?

I don't see a unit list anywhere except in the already generated random scenario files, and I'd really like to build a Tank Destroyer unit...

Thanks




Erik Rutins -> RE: RCG Editing Questions (4/18/2008 11:56:05 PM)


quote:

ORIGINAL: Romeo13
OK, searched throught the multiple XML files pretty well...
Just where can you modify the base Core Units to build a random Campaign?
I don't see a unit list anywhere except in the already generated random scenario files, and I'd really like to build a Tank Destroyer unit...


In the Battle Plans, which are found in the /Data/Battles folder. Your core units are determined as those that show up in the very first battle of the random campaign (and that's why the first battle plan is always set to the first date and set as a "key" battle in the Campaign Editor).

To add to or change a core force for a campaign or create a new campaign with a new core force, you need to make sure of the following:

1. Each unit in your core force shows up in the first scenario in the campaign
2. Each unit in your core force shows up in every later scenario in some form, even if as a late reinforcement, as long as it's in the list

This will allow your core units to follow along and keep continuity as far as their experience, medals, abilities, kills, etc.

Regards,

- Erik




Romeo13 -> RE: RCG Editing Questions (4/19/2008 9:01:05 PM)

Thanks, got it...




WhiteOwl -> RE: RCG Editing Questions (4/20/2008 2:33:31 AM)

Just a quick one, what is the "multiplier" attribute in the "replacement" tag used for?




Mraah -> RE: RCG Editing Questions (4/20/2008 3:32:05 AM)

quote:

ORIGINAL: WhiteOwl

Just a quick one, what is the "multiplier" attribute in the "replacement" tag used for?




Multiplier is the % value of total core points given for replacements from hqhelp.

Example ... historical .4 / 2 hqhelp means 40% of core points given as replacements .... 2 chances to ask for help.

Rob

EDIT NOTE : Description found in the Random Campaign and Battle Generator manual, p. 8, 2nd paragraph.




WhiteOwl -> RE: RCG Editing Questions (4/20/2008 4:11:13 AM)

Thanks for that, I missed that in the manual, did a search for "multiplier" but came up empty...




Mraah -> RE: RCG Editing Questions (4/20/2008 4:35:19 AM)


quote:

ORIGINAL: WhiteOwl

Thanks for that, I missed that in the manual, did a search for "multiplier" but came up empty...


Your welcome!! I know how you feel ... I couldn't even find the reference again, at first when I posted.

I know the answer is buried in there somewhere!! ... I kept telling myself. hehe

Rob




Stridor -> RE: RCG Editing Questions (4/20/2008 5:28:04 AM)

Wait till you get to the points calculation formulas [;)]




Mraah -> RE: RCG Editing Questions (4/20/2008 6:03:14 AM)


quote:

ORIGINAL: Stridor

Wait till you get to the points calculation formulas [;)]


You know ... I skipped over that section when I saw all the variables ...[X(].

Knowing my luck I'll be chasing my tail for days ... like I've been doing already, modding the Level 8 map [sm=dizzy.gif]




WhiteOwl -> RE: RCG Editing Questions (4/20/2008 6:48:13 AM)


quote:

ORIGINAL: Stridor

Wait till you get to the points calculation formulas [;)]


Well, if you brought up the subject Stridor, perhaps you might venture to explain it a bit more [:)]

As I understand it, %ON is equal to the value of your current core units (as defined in the current battle file), while %OM is the max value (also from the battle file, but using the max attribute for the unit as opposed to the num attribute). I am however, having trouble understaning the %OP value - if it is the calculated value, which calculations are involved? Also, how can the result be in a formula as a variable, doesn't this create an infinite recursion?

Now, to the enemy values. What are these based on if there is no such thing as an enemy core unit list?

I gather that %RM is the value from the random campaign XML file as taken from the "historical", "maximum", "generous", etc. values?

Finally, the RAND function is listed in the doc as taking two parameters, while in the actual files, it takes one. Am I correct in guessing it will generate a linearly random value between 0 and the parameter?

Thanks




Stridor -> RE: RCG Editing Questions (4/20/2008 10:09:49 AM)

See my post to your excellent tut.

Also see page 18 of the rbg pdf manual

There is side 1 which is calculated first (so this side can't reference their own points) and side 2 which is calculated second (so they can reference side 1 points)

side 1 is the human player with a core force (either russian or german)
side 2 is the AI player (note the AI player is allowed a core force if you define it, this is usefull for key battles)

%ON, %OM is as you have indicated %OP is not used (These are for side 1 or side 2 the manual is wrong here)
%EN, %EM should be obvious (only for side 2)
%EP is the total calculated points for side 1 (only for side 2)

%RM is the replacement modifier a multiplier set by the designer but selectable by the player at campaign generation. This is a handy value to have as it effectively allows you to set historical limits on what the core strength will trend to. For example if an outfit historically ran at ~ 50% max (paper) strength (points = "%OM * %RM where %RM = 0.5) but the player can choose a higher non-historical replacement modifier to make the game easier (eg %RM = 0.9) or harder (eg %RM = 0.3)

%OA = on attack (1 if on attack, 0 on defense)
%OD = on defense (0 if on attack, 1 on defense)

%OA and %OD are used to set points bonuses or penalities depending on what type of battle the side is participating in. Obviously if side 1 is %OA then side 2 will be %OD and so on ...

Along these lines you get select is certain core units will be available depending on the battle type

eg

probability="0.5" = 50% flat chance of that platoon appearing in any battle
probability="A=0.3;D=0.9" 30% if on attack, 90% if on defense

You get the idea.

With these variables you can essentially write self balancing campaigns that always stay interesting, or not, depending on what you want.

Regards

S.




WhiteOwl -> RE: RCG Editing Questions (4/20/2008 11:12:48 AM)

Thanks for that Stridor - this makes a lot more sense now :)

Cheers




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125