Page 5 of 34

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 4:50 pm
by pavelk
Cablenexus wrote:- In the same game I encounter an issue that I can select an unknown tech to research.

- Maybe it has to do all with slecting Rome to play with? I don't know, but for me it's weird behaviour so I report.
In your file, change all <PlayerTechnologyMemento timeLeft="10" technologyId="1" /> to <PlayerTechnologyMemento timeLeft="0" technologyId="1" />

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 5:08 pm
by Cablenexus
- find out that custom hotkeys (n for next unit, spece for next turn) only doesn't work in my custom scenario. On a normal random map they work.

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 6:09 pm
by Cablenexus
New tribe added and experimenting with custom overlay colors for nations. Canninefates with flag and COA.

What color code is used here? It's not the normal RGB values?

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 6:18 pm
by pavelk
Cablenexus wrote:What color code is used here? It's not the normal RGB values?
To change the player colour, you need to change value of color attribute in <PlayerMemento> tag.

The value is an integer representation of .NET color structure.

I created a script for you to find it out from RGB values you specify.
  • Go to http://rextester.com/CNE34226
  • Set the values of red, green and blue (must be between 0-255) channels.
  • Press F8 or click on the button "Run it".
  • Copy the result at the bottom of the screen (for example for pure red colour it is -65536)

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 6:45 pm
by Cablenexus
pavelk wrote:
Cablenexus wrote:What color code is used here? It's not the normal RGB values?
To change the player colour, you need to change value of color attribute in <PlayerMemento> tag.

The value is an integer representation of .NET color structure.

I created a script for you to find it out from RGB values you specify.
  • Go to http://rextester.com/CNE34226
  • Set the values of red, green and blue (must be between 0-255) channels.
  • Press F8 or click on the button "Run it".
  • Copy the result at the bottom of the screen (for example for pure red colour it is -65536)
Thank you very BIG !

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 10:53 pm
by Cablenexus
Progress was slow today. It's warm here and I was a bit tired. I also did a lot of testing because release of V3. I still have to write my V3 feedback but since it's more compliments of how smooth everything is, it's not really bug reporting.

I learned a lot the last days. This is what I can do without problems now:

- Edit Unit and City names, even for "yet to build" cities in certain area's.
- Creating a map from a pixel map image.
- Assigning starter positions for nations and assign owned land and resources.
- Customize images for coats of arms, flags and unit models eventually, terrain and trees etc.
- Learned to give new tribes new player color overlay colors.
- Creating a working scenario that let the player select any player.
- I can now change the starting date of a scenario.

- Also modified the flags and coats of arms since my first attempt since the vertical lines do not work that well on city flags.

An image. I will continue
(The reason I write it here step by step is also for myself to have a good step by step plan for my upcoming guide).

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 11:11 pm
by Cablenexus
Some improvements for Menapii.

Two of the six tribes I wanted to add are finished now.

Re: [Modding] Creating my first scenario

Posted: Fri Jun 01, 2018 11:43 pm
by Cablenexus
Learned importing my own custom portraits.

-note- Not my own painting. I photoshopped an existing 3D model in paint to let it look like a portrait. I probably start my owen Tribe Portraits but that's low priority for now.

First I want to have the map terrain right, the placement of units and my 6 custom tribes.

Re: [Modding] Creating my first scenario

Posted: Sat Jun 02, 2018 8:26 am
by pavelk
Nice progress.

Btw. do you know how to place the "player color" on the models? If you for example want to have the shirt in colour of the player?

It is all about transparency and semitransparency. More transparent it is, more player colour is blended with the texture.

Re: [Modding] Creating my first scenario

Posted: Sat Jun 02, 2018 9:57 am
by Cablenexus
pavelk wrote:Nice progress.

Btw. do you know how to place the "player color" on the models? If you for example want to have the shirt in colour of the player?

It is all about transparency and semitransparency. More transparent it is, more player colour is blended with the texture.
Yes, I used that in the second screenshot. I stopped using custom shield for unit now. I don't want the Frisii tribes has the Menapii shield on them. So I use the standard unit model, but with colored shield (and eventually for other tribes other colors changed as well). Thank you!

Re: [Modding] Creating my first scenario

Posted: Sun Jun 03, 2018 7:40 pm
by Cablenexus
Family business this weekend so almost no testing and zero progress for my Holland scenario.

But I have a few hours free time so I plan to create flags, coats of arms and starting positions for the two MAJOR Dutch tribes in my scenario.

The Batavi and the Frisii.
(later more, they will have historical info in game).

Re: [Modding] Creating my first scenario

Posted: Sun Jun 03, 2018 8:49 pm
by Cablenexus
Yeah, I did something today ;-)

Re: [Modding] Creating my first scenario

Posted: Sun Jun 03, 2018 8:56 pm
by Cablenexus
- I also made a minor change to the flags so they are all orientated horizontal on unit models like the original Agressors unit flags.

Re: [Modding] Creating my first scenario

Posted: Sun Jun 03, 2018 8:59 pm
by Cablenexus
- I noticed in the NEW.exe also taking screenshots with PRINTSCR works better. It capture the actual screen now instead of the older snap.

- Actual map for the Holland scenario atm. Players will have much more territory assigned at game start. But that I will start if I know the placement of the new tribes.

Re: [Modding] Creating my first scenario

Posted: Sun Jun 03, 2018 10:49 pm
by Cablenexus
Added the Batavi tribes.

Re: [Modding] Creating my first scenario

Posted: Mon Jun 04, 2018 3:26 am
by Cablenexus
50 BC two minor tribes entered domain between the Menapii, Batavi and Roman Empire. The Usipetes and the Tenctari.
This is the first of the two smallest (and most difficult to play) tribes in the game. The Tenctari. (Recently, 2015, remains of them are found in Holland). They did not survived war with the Roman Empire.

Re: [Modding] Creating my first scenario

Posted: Mon Jun 04, 2018 3:29 am
by Cablenexus
The Usipetes is the second smaller tribe. They are stronger since they where famous for their horseriding.

Re: [Modding] Creating my first scenario

Posted: Mon Jun 04, 2018 3:54 am
by Cablenexus
Map progress. Those river names are the current names (except the sea). I have to do some more research on them how they where named in 50 BC

Re: [Modding] Creating my first scenario

Posted: Mon Jun 04, 2018 4:19 am
by Cablenexus
Reached my first goal. A custom map of Holland and at least six new nations with flag and coat of arms.

Re: [Modding] Creating my first scenario

Posted: Mon Jun 04, 2018 6:19 am
by pavelk
Cablenexus wrote:Reached my first goal. A custom map of Holland and at least six new nations with flag and coat of arms.
Cablenexus, it ilooks really great!
Cablenexus wrote:I noticed in the NEW.exe also taking screenshots with PRINTSCR works better. It capture the actual screen now instead of the older snap.
There are still some issues with the PrtSc, I will look at it once I finish the performance stuff.

Btw. Dont forget to add to map some resources map items.