How to add flags into the game?

Modding school: Learn it from the masters
Post Reply
User avatar
NewCoolMapper
Posts: 316
Joined: 23 Jun 2018 20:28
Location: Lisbon, Portugal

19 Jul 2018 18:04

Title. I want to add a flag to the mover country flag. How can I do that? I have the png of the flag and that´s all.
Lead developer of the project of Portugal 1:8 Image

User avatar
ScuL
Founder
Posts: 7511
Joined: 31 Jul 2013 23:51
Location: Auckland, New Zealand

19 Jul 2018 18:42

You need to add the flag into the DDS texture (place holder) and create a TOBJ and Automat for it.

Then you need to edit the PMD file to add a reference to the new flag (I believe it is flag_countries.pmd)
I am Image Dutch living in Image New Zealand and I speak Image EN Image DE Image SE Image FR
Image

AConserva
Posts: 110
Joined: 29 Oct 2014 19:59
Location: Gilowice, woj. śląskie, Poland

19 Jul 2018 20:39

Is this the way you (PM team) made those mini flags on the borders, visible on the GPS?
Ronda są spoko

User avatar
ScuL
Founder
Posts: 7511
Joined: 31 Jul 2013 23:51
Location: Auckland, New Zealand

19 Jul 2018 20:40

No those are different, they are UI overlays
I am Image Dutch living in Image New Zealand and I speak Image EN Image DE Image SE Image FR
Image

User avatar
NewCoolMapper
Posts: 316
Joined: 23 Jun 2018 20:28
Location: Lisbon, Portugal

19 Jul 2018 23:25

ScuL wrote:
19 Jul 2018 18:42
You need to add the flag into the DDS texture (place holder) and create a TOBJ and Automat for it.

Then you need to edit the PMD file to add a reference to the new flag (I believe it is flag_countries.pmd)
I don't know how to make automat's. Can you explain it to me?
Lead developer of the project of Portugal 1:8 Image

User avatar
Vøytek
Developer
Posts: 9003
Joined: 05 Jan 2014 19:38
Location: Luboń
Contact:

20 Jul 2018 09:03

Just copy an existing one, rename it and change the path to your DDS texture inside this file.
Image
Current development work: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

User avatar
NewCoolMapper
Posts: 316
Joined: 23 Jun 2018 20:28
Location: Lisbon, Portugal

20 Jul 2018 13:40

Thanks!
Lead developer of the project of Portugal 1:8 Image

KanjonMoraca
Posts: 85
Joined: 24 Feb 2018 20:52
Location: Požarevac

17 May 2019 17:01

I make a folder model/mover/ and then which files i have to put in? flag_countries.pmd and flag_showroom.dds flag_showroom.tobj?

Then make automats folder and find some crazy random number letter folder and file dww9wdw8duwd8dw.mat and put it there save all of that into file.scs and cant find flag in map editor?
Image

User avatar
ScuL
Founder
Posts: 7511
Joined: 31 Jul 2013 23:51
Location: Auckland, New Zealand

18 May 2019 00:56

You will need to edit the PMD in order to make it appear
I am Image Dutch living in Image New Zealand and I speak Image EN Image DE Image SE Image FR
Image



Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests