Modding Tips, Pitfalls and Miscellaneous Info

Moderator: AlvaroSousa

User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »

Perhaps it will be a useful resource to have an on-going thread to document various "things" we discover about modding. Tips, procedures, pitfalls and any other miscellaneous information that might be helpful to the community.

Recommendation:
If you add an informational post, give it an emboldened title so it's easy to spot among all the other general-conversation posts.

-Mark R.
User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »

To give an idea of what I mean, I'll start with this.

Units.png template columns:
1 = HQ
2 = Garrison mode
3 = Undefined (Alvaro: probably will be motorized)
4 = Undefined (Alvaro: probably will be heavy unit not sure yet.)
5 = infantry div, corp, or army
6 = Cavalry
7 = Marine
8 = Para/Airborn
9 = Mountain
10 = Mechanized
11 = Armored
12 = Air Superiority Group (typ. fighters)
13 = Ground Attack Group (typ. fighter-bomber/attack bomber/dive bomber)
14 = Tactical Air Group (typ. medium bomber)
15 = Strategic Air Group (typ. strategic bomber)
16 = Submarine fleet
17 = Naval fleet, day
18 = Naval fleet, night
19 = Unknown ground unit
20 = Unknown air unit
User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »

I compared flags in the units.png template with the nation index numbers from the editor and it appears there is a one-to-one correspondence except there seems a mismatch around index 23-24/Iceland. When I figure this out I will correct this post.

Edit: Okay, I think I've figured it out - in the official campaigns, Iceland occupies slot #24. If you create a new campaign, South Africa occupies slot #24. I think all the rest of the slots are the same, but I've only spot-checked.

Units.png template rows:

1 Britain
2 France
3 USA
4 USSR
5 Nationalist China
6 Germany
7 Italy
8 Japan
9 Algeria
10 Australia
11 Baltic States
12 Belgium
13 Bulgaria
14 Burma
15 Canada
16 Communist China
17 Denmark
18 Dutch East Indies
19 Egypt
20 Finland
23 Free French
22 Greece
23 Hungary
24 Iceland (official campaigns) / South Africa (when creating new campaign)
25 India
26 French Indochina
27 Iraq
28 Ireland
29 Jordan
30 Undefined
31 Luxembourg
32 Malaya
33 Manchuria
34 Mongolia
35 Morocco
36 Netherlands
37 New Zealand
38 Norway
39 Palestine
40 Persia
41 Philippines
42 Poland
43 Portugal
44 Romania
45 Spain
46 Saudi Arabia
47 Sweden
48 Switzerland
49 Syria
50 Thailand
51 Tibet
52 Tunisia
53 Turkey
54 Vichy France
55 Vichy North Africa
56 Vichy Syria
57 Yugoslavia
58 Undefined
59 Undefined
60 Greenland
61 Ethiopia
62 South America
63 Pacific Resources

User avatar
Hoyt Burrass
Posts: 339
Joined: Tue Jun 29, 2004 9:27 pm
Location: Montgomery, Alabama

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by Hoyt Burrass »

Thank you mroyer!!!!
Roll Tide
User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »


you're welcome - if we all pitch in, we can save each other a lot of time :) ( my ulterior motive... )
User avatar
PHalen
Posts: 128
Joined: Mon Dec 26, 2016 8:35 pm
Location: Sweden

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by PHalen »

Yeah, THANKS mroyer!!!
Extremely useful!

And perfect timing for me!
I was just wondering why my new Dutch units wouldn’t show up on the map.
Turned out they were in the Dutch East Indies... [:)]
User avatar
ncc1701e
Posts: 10723
Joined: Tue Oct 29, 2013 7:50 pm
Location: Utopia Planitia Fleet Yards

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by ncc1701e »

[&o] Thanks for sharing.
Chancellor Gorkon to Captain James T. Kirk:
You don't trust me, do you? I don't blame you. If there is to be a brave new world, our generation is going to have the hardest time living in it.
jrwsdev69
Posts: 8
Joined: Sun Nov 10, 2019 12:09 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by jrwsdev69 »

Is the specialty cost of 100 hard coded or is there somewhere I am missing that you can change that value? I went through the sections in the editor and saw most values used in the game but can't find that one. Is it named something less obvious that doesn't have specialty in the name?
User avatar
Hairog
Posts: 1587
Joined: Tue Jul 11, 2000 8:00 am
Location: Cornucopia, WI

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by Hairog »

Anyone found a way to move the numbers around on the markers or change the colors?
WW III 1946 Books
SC3 EAW WW Three 1946 Mod and Naval Mods
WarPlan and WarPlan Pac Alpha and Be
User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »

ORIGINAL: Hairog

Anyone found a way to move the numbers around on the markers or change the colors?


Nope - or change the font. My guess is you can't.
-Mark R.
User avatar
Hairog
Posts: 1587
Joined: Tue Jul 11, 2000 8:00 am
Location: Cornucopia, WI

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by Hairog »

Sounds about right.
WW III 1946 Books
SC3 EAW WW Three 1946 Mod and Naval Mods
WarPlan and WarPlan Pac Alpha and Be
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by AlvaroSousa »

hard coded.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »

ORIGINAL: Alvaro Sousa

hard coded.


Alvaro, could you consider 'hard coding' a white outline to the black text in some future update? It might be fairly easy to code that - Unity might even have the facility built in. (I know... it's probably not easy....).

If it were easy to do and looked okay in the game on smaller text, a light outline would give modders much more color latitude. It makes the text much more visible on dark backgrounds and yet has little effect on light backgrounds.

Image
User avatar
PHalen
Posts: 128
Joined: Mon Dec 26, 2016 8:35 pm
Location: Sweden

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by PHalen »

I just found this very useful webpage for people interested in air unit roundels:
https://commons.wikimedia.org/wiki/Roundel
User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »

Websites

In the spirit of PHalen's previous posting of a useful website resource, here's a site I've found to be very useful for silhouettes/drawings of all sorts of WW2 stuff:

War Drawings

-Mark R.

User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by AlvaroSousa »

ORIGINAL: mroyer
ORIGINAL: Alvaro Sousa

hard coded.


Alvaro, could you consider 'hard coding' a white outline to the black text in some future update? It might be fairly easy to code that - Unity might even have the facility built in. (I know... it's probably not easy....).

If it were easy to do and looked okay in the game on smaller text, a light outline would give modders much more color latitude. It makes the text much more visible on dark backgrounds and yet has little effect on light backgrounds.

Image

Are you talking about unit text or editor text? Please specify.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by AlvaroSousa »

Good find on these websites
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
mroyer
Posts: 1277
Joined: Sun Mar 06, 2016 12:27 pm

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by mroyer »

ORIGINAL: Alvaro Sousa
Are you talking about unit text or editor text? Please specify.

I'm talking about text directly on the counters. I'm not sure whether it would work well with such small text or not.

-Mark R.

User avatar
AlvaroSousa
Posts: 12107
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by AlvaroSousa »

I had a shadow at one point and it was distracting. I can't do an outline.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

RE: Modding Tips, Pitfalls and Miscellaneous Info

Post by PanzerMike »

That is too bad. Modding the counters is limited by the hard coded letters/numbers and symbols (and the colors thereof). If we could alter them that would be so great.

By the way, I can not seem to find the yellow AA gun icon anywhere. Hard coded??
Post Reply

Return to “MODS and Scenarios”