[Modding] Creating my first scenario

Post Reply
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post 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" />
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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?
Attachments
Canninefates.jpg
Canninefates.jpg (527.3 KiB) Viewed 2312 times
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post 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)
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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 !
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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).
Attachments
progressjune01.jpg
progressjune01.jpg (666.32 KiB) Viewed 2307 times
Last edited by Cablenexus on Fri Jun 01, 2018 11:15 pm, edited 1 time in total.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

Some improvements for Menapii.

Two of the six tribes I wanted to add are finished now.
Attachments
progressjune02.jpg
progressjune02.jpg (517.97 KiB) Viewed 2306 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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.
Attachments
portraitexample.jpg
portraitexample.jpg (237.23 KiB) Viewed 2305 times
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post 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.
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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!
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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).
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

Yeah, I did something today ;-)
Attachments
FrisiiConcept.jpg
FrisiiConcept.jpg (762.28 KiB) Viewed 2290 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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.
Attachments
rotation.jpg
rotation.jpg (64.62 KiB) Viewed 2290 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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.
Attachments
holland.jpg
holland.jpg (155.89 KiB) Viewed 2287 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

Added the Batavi tribes.
Attachments
Batavi.jpg
Batavi.jpg (707.4 KiB) Viewed 2283 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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.
Attachments
tencteri.jpg
tencteri.jpg (673.12 KiB) Viewed 2278 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

The Usipetes is the second smaller tribe. They are stronger since they where famous for their horseriding.
Attachments
usipetes.jpg
usipetes.jpg (656.79 KiB) Viewed 2278 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post 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
Attachments
map002.jpg
map002.jpg (168.94 KiB) Viewed 2278 times
Cablenexus
Sr. Colonel - Battleship
Sr. Colonel - Battleship
Posts: 1691
Joined: Mon Jan 04, 2016 7:09 pm

Re: [Modding] Creating my first scenario

Post by Cablenexus »

Reached my first goal. A custom map of Holland and at least six new nations with flag and coat of arms.
Attachments
tribes.jpg
tribes.jpg (197.62 KiB) Viewed 2278 times
pavelk
Kubat Software
Kubat Software
Posts: 2467
Joined: Mon May 16, 2016 4:27 pm

Re: [Modding] Creating my first scenario

Post 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.
Post Reply

Return to “Aggressors Modding”