Graphics modding

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
User avatar
Hairog
Posts: 1587
Joined: Tue Jul 11, 2000 8:00 am
Location: Cornucopia, WI

Graphics modding

Post by Hairog »

Great release Alvaro!

This is no biggy but I tried to do a test graphics mod of the counters and I can't get the mod to show up. I named the file units.png after backing up the original, then units_alternative1.png, then units_alternative2.png. Restarted game, stood on my head, sacrificed a centipede,(I would have killed it anyway, I hate them), and nothing worked.

As I said, no biggy just gave it a try.
WW III 1946 Books
SC3 EAW WW Three 1946 Mod and Naval Mods
WarPlan and WarPlan Pac Alpha and Be
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

Are you putting them in the scenario that you want the modded image to show up?

So say you want the 1939 to have shiny new counters you made. Place them in the 1939 scenario folder.
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
Hairog
Posts: 1587
Joined: Tue Jul 11, 2000 8:00 am
Location: Cornucopia, WI

RE: Graphics modding

Post by Hairog »

No. I was not. Thanks I'll try it.

Oh, and they are shiny.
WW III 1946 Books
SC3 EAW WW Three 1946 Mod and Naval Mods
WarPlan and WarPlan Pac Alpha and Be
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

Look here I just tested it.

If you save the game it looks at the original folder for the scenario name.


Image
Attachments
tada.jpg
tada.jpg (117.65 KiB) Viewed 670 times
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
Hairog
Posts: 1587
Joined: Tue Jul 11, 2000 8:00 am
Location: Cornucopia, WI

RE: Graphics modding

Post by Hairog »

That worked. Thanks
WW III 1946 Books
SC3 EAW WW Three 1946 Mod and Naval Mods
WarPlan and WarPlan Pac Alpha and Be
User avatar
basilstaghare
Posts: 236
Joined: Sun Jul 05, 2015 7:26 am

RE: Graphics modding

Post by basilstaghare »

Is there a way to add an option to select a Black (w/ White Symbol) NATO German Infantry & Armor unit to the counter mix and then be able to select between Grey and Black when creating a unit? Thanks.
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

ORIGINAL: basilstaghare

Is there a way to add an option to select a Black (w/ White Symbol) NATO German Infantry & Armor unit to the counter mix and then be able to select between Grey and Black when creating a unit? Thanks.

There is not. There is only one single sheet for counters.
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
delastone
Posts: 13
Joined: Fri Aug 10, 2012 2:59 pm

RE: Graphics modding

Post by delastone »

Can the world map be modified ?
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

Yes. There is a file detailing what you can change.
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
Fintilgin
Posts: 195
Joined: Thu Apr 14, 2005 12:45 am

RE: Graphics modding

Post by Fintilgin »

Am I missing something obvious? I don't have any unpacked /campaign folder, everything is packed up in unity resource files?
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

Mygames/warplan/campaigns/new... Folder.

In the car so no computer
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
Fintilgin
Posts: 195
Joined: Thu Apr 14, 2005 12:45 am

RE: Graphics modding

Post by Fintilgin »

ORIGINAL: Alvaro Sousa

Mygames/warplan/campaigns/new... Folder.

In the car so no computer

Thanks, this worked. [:)]
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Graphics modding

Post by Uxbridge »

Why is there three sets of infantry symbols (apart from garrison) on the units sheet? I made the false assumption it was for unit size, but after making some corrections and testing, the game shows the third symbol for every unit save the Americans, where I can see the first symbol.
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

That's on my list of bugs.
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
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Graphics modding

Post by Uxbridge »

So it should be sizes?
User avatar
bcgames
Posts: 3105
Joined: Wed Jun 02, 2010 1:24 pm
Location: Bramble Rose Farm, KS
Contact:

RE: Graphics modding

Post by bcgames »

Standard graphics are great--clean, simple, effective! Likes the graphics modding capability too.
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

I had to look back at my code because I wrote the image grabber so long ago.

Going left to right on the list of images.
#1 HQ
#2 Garrison status infantry
#3 Motorized infantry ...for future development
#4 new unit class...for future development
#5 All other infantry
#6-#whatever ... the other units.

The unit sizes are on the text symbols. Thus why I didnt make a size counter image map. I made a unit type counter map.
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
Dr. Foo
Posts: 666
Joined: Mon Aug 30, 2004 11:20 pm
Location: Honolulu, Hawaii

RE: Graphics modding

Post by Dr. Foo »

I'm not sure it can be done in this game. I like when different types of units in an army have a different color. Like white NATO symbol on a black counter for SS or gold NATO on red counter for guards. I like when counters differentiate between regular and elite units.

Can this be done?
*Warning: Dr. Foo is not an actual doctor.
Do not accept or follow any medical advice*
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Graphics modding

Post by Uxbridge »

Alvaro, I didn't see your reply until now.

Okay, you can't differentiate colours for unit size? Well, fine. I suspected this, since the Americans turned out with number 3 colour.
User avatar
AlvaroSousa
Posts: 12019
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Graphics modding

Post by AlvaroSousa »

The unit size symbols are not on the units.png. It is generated differently. You assign a size to a unit in the editor. It is a text font.

No you can't differentiate unit size colors. I did this differently than SC.
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
Post Reply

Return to “WarPlan”