rabcp
14 years ago
1 hour ago
1,513
Photoshop Basics
https://i.postimg.cc/FKwwKqcy/photoshop.png


More Coming soon
rabcp
14 years ago
1 hour ago
1,513
How to make and code Static Adboards

Static adboards should be 1024 x 128 and in png format, below is a video demonstrating the creation of a simple static adboard.
https://youtu.be/IiilCjasmkc
Once you have made an adboard save it to a folder within My Documents/Sports Interactive/Football Manager 2020/graphics/ads

How to code an adboard
Open up the ads.xml file located My Documents/Sports Interactive/Football Manager 2020/ads

Step one
First of all you have to load the graphics into FM20 which is done by the following piece of code the near the top of the xml file
<!-- Hibernian ads -->
<record id="2191" path="pictures/ads/generic/macron b"/>


What this code means
<!-- Hibernian ads --> identifies to whoever is reading the xml file what this piece of code is for adboards specific to Hibernian
<record id="2191" - Assigns a unique id number to specific adboard (you makes this number up but make sure it is not already in use elsewhere in the config)
path="pictures/ads/generic/macron b"/> - Location of the adboard which has just been given a unique id number

Step Two
The next bit of code determines where the previously assigned ad-boards will be displayed
<!-- Hibernian, rabcp -->
<list id="1517">
<integer value="2191"/>
<integer value="2192"/>
<integer value="2193"/>
<integer value="2191"/>
<integer value="2192"/>
<integer value="2193"/>
.
.
.
</list>


What this code means
<!-- Hibernian, rabcp --> -identifies to whoever is reading the xml file what this piece of code is for adboards specific to Hibernian with the content made by rabcp
<list id="17"> - Unique id of the competition/clubs the ad-boards are for
<integer value="2191"/> - Positions adboard number 2191 in to be displayed for games in the assigned competition/club.

When we load up Football Manager we can no see that our adboard is displayed within the game
https://i.postimg.cc/G27BnfrV/macron.png
rabcp
14 years ago
1 hour ago
1,513
Positioning Adboard's

I was asked by @wkdsoul if it was possible to position adboards in certain positions and thought I'd put together this tutorial to demonstrate how its done. While is it possible to place adboards in certain positions it mainly works with clubs who use pitch side LCD ads. The process is a little complex as bar the pitchside adboards the adboard numbers at times follow no logical pattern and can repeat numbers depending on the stadium model.

The support files in this link are needed for this method - Download

Step One
We have the Juventus stadium displaying generic adboards, however we want to place a fan banner in the middle of the goal, to do this we have to know how to assign adboards to certain positions
https://i.postimg.cc/k59zcfbX/start.png


Install the attached graphic files and open up the ads.xml file in the football manager folder and the XML Insert LCD file from the download. in the XML Insert LCD file locate the following code;

<!-- Club section for club ID #661 -->
<list id="1139">
<integer value="3500"/>
<integer value="661000"/>
<integer value="661001"/>
.
.
.
</list>


Change the <list id="1139"> code to include your clubs ID number, paste this into the Ads.xml file and load up FM18 again, Our match with Juventus now looks like this;
https://i.postimg.cc/T3nBgZh4/numbers.png

We now have adboards which tell us which number each adboard is within the xml file, note that not all adboards are unique and adboard '0' will be repeated 3 times on this screen.


Step Two
We now need to assign our banners to correct positions. My code here assigns my 3 new adboards to the game (See the guide on page 1 for more detailed instructions).
<!-- Juventus ads -->
<record id="8000" path="pictures/ads/generic/black"/>
<record id="8001" path="pictures/ads/europe/italy/clubs/juventus/drughi"/>
<record id="8002" path="pictures/ads/europe/italy/clubs/juventus/sud"/>


I want a plain black adboard to display at adboard '0' and my banners behind the goal, in this case Drughi as adboard '32' and Sud as adboard '31'.

We now go back to our first piece of code to place these 3 new boards in there correct position, we know that <integer value="661000"/> represents adboard '0' so we change this to <integer value="8000"/>, likewise we change <integer value="661031"/> adboard '31' to <integer value="8002"/> 'Drughi' and <integer value="661032"/> adboard '32' to <integer value="8001"/> 'Sud'
<!-- Juventus -->
<list id="1139">
<integer value="3500"/>
<integer value="8000"/>
<integer value="661001"/>
.
.
.
<integer value="8002"/>
<integer value="8001"/>
</list>


load up FM18 and we get this result
https://i.postimg.cc/ncy6sHVm/flags.png
rabcp
14 years ago
1 hour ago
1,513
How to make a Video Adboard


https://www.youtube.com/watch?v=CZkg8Gt-e84&t=208s

Required ResourcesIn this post, I'll explain how to make a simple scrolling video adboard, if people want it I can post a few minor guides for more advanced effects with video adboards such as spinning images, zooming in and out of images etc.

1.
First of all, we need to make our adboard, In Photoshop create a new image sized 2816 x 88 pixels, this is the adboard size I have been using to date. Within the game adboards are repeated twice behind the goals and three times along the pitch. This is where the calculator comes in, the gaps between all images (e.g. Sportsdirect.com in this case) need to be the same size. they should also be half the size at the start and end of the image. This will ensure that when the ads line up they maintain the same pattern.
https://s26.postimg.cc/po30w3g3t/temp.png

Once made from the Layer menu select Merge Layers, then copy the adboard.
https://s26.postimg.cc/p3jefnxhl/sd1.png

2.
Create a new image double the length of the adboard (5632 x 88 pixels) and paste the adboard at the start and end of the new image. Again, merge the layers, we need this size of image to create the scrolling effect. As you can see because of the above calculations the gaps between all images are the same size when combined.
https://s26.postimg.cc/tyd3dxvt5/sd_2_zpsks8joleo.png_original.png


3.
Now we create our image for the actual adboard, sized 2816 x 88 pixels. We want the adboard to scroll from left to right so once the previous (5632 x 88) image is pasted onto this image we want the end of the adboard to be line up with the edge at left hand side of our new image.
https://s26.postimg.cc/m32jz4m6h/move.png

https://s26.postimg.cc/p3jefnxhl/sd1.png


4.
We now need to create the image effect, to do this we create a Video Timeline, select the Window Menu thenTimeline. Once the Timeline Menu appears at the bottom of the screen select the Create Video Timeline option.
https://s26.postimg.cc/4zzs3m5hl/create_video.png


5.
In Photoshop, the standard timeline is 5 seconds, for this adboard we want to make it 10 seconds. To do this we click on the end of the layer one timeline (highlighted) and drag right until the timeline becomes 10 seconds long.
https://s26.postimg.cc/4yufnxt1l/time.png

https://s26.postimg.cc/eod86r0ax/sd_6_zpscovag3nq.png_original.png


6.
We now want to create our start and end points of the animation of the adboard. With the timeline bar at the start of the timeframe (Blue Arrow) click the position action then drag the blue arrow to the end of the timeline and click the position action again
https://s26.postimg.cc/g9shykaix/time_1.png


7.
With the timeline now at the 10 second point we drag the image all the way across from left to right until the end of the image now meets the left edge of the border, this creates the scrolling effect, if you select the play option in the timeline tab you'll see the effect in photoshop.
https://s26.postimg.cc/cz44yokll/sd_8_zpsnhabs4ce.png_original.png

https://s26.postimg.cc/p3jefnxhl/sd1.png


8.
We now save the image. File → Export → Save for Web (Legacy)

9.
Open up the saved image, this time the image will display each separate frame in the timeline and as a layer. We now want to give our adboard a LCD texture. Open the Video.png file and copy the image and then switch back to your gif. Click the tab with 3 lines and then Select All Frames then click on the very last layer.
https://s26.postimg.cc/jhwzblwsp/action.png


10.
Paste the adboard texture. Every frame will now just be the texture, however once we apply the Multiply effect we will now have every frame displaying our intended image with a LCD effect. We then save our final adboard again. File → Export → Save for Web (Legacy)
https://s26.postimg.cc/940qw41ft/multiply_layers.png


11.
We now need to convert our Gif file. First we go to convertio, upload your gif file choosing a .avi conversion and download the converted file.

11.
...

we now have a finished useable adboard.
rabcp
14 years ago
1 hour ago
1,513
How to code Video Adboards


Open up the ads.xml file located My Documents/Sports Interactive/Football Manager 2018/ads

First of all you have to load the graphics into FM18 which is done by the following piece of code the near the top of the xml file

<!-- Hibernian ads, rabcp -->
<record id="2190" path="video_ads/scotland/clubs/macron" animated="true"/>
<record id="2191" path="pictures/ads/europe/clubs/scotland/spl/hibernian/marathonbet"/>
<record id="2192" path="pictures/ads/europe/clubs/scotland/spl/hibernian/skysports"/>
<record id="2193" path="pictures/ads/europe/clubs/scotland/spl/hibernian/espn"/>


What this code means

<record id="2191" - Assigns a unique id number to specific ad-board (you makes this number up but make sure it is not already in use elsewhere in the config)

path="video_ads/scotland/clubs/macron" animated="true"/> Location of a video adboard which has just been given a unique id number

path="pictures/ads/europe/clubs/scotland/spl/hibernian/marathonbet"/> - Location of a static adboard which has just been given a unique id number

The next bit of code determines where the previously assigned ad-boards will be displayed

<!-- Hibernian, rabcp -->
<list id="1575">
<integer value="2190"/>
<integer value="2191"/>
<integer value="2192"/>
<integer value="2193"/>
<integer value="2191"/>
<integer value="2192"/>
<integer value="2193"/>
</list>


What this code means

<!-- Hibernian, rabcp --> - Just identifies to whoever is reading the xml file what this piece of code is for competitions/clubs along with the author of the adboards.

<list id="17"> - Unique id of the competition/clubs the ad-boards are for

<integer value="2191"/> - Positions adboard number 2191 in to be displayed for games in the assigned competition/club.

No as Hibernian play in a ground under 30,000 static adboards will display automatically as below;
https://s26.postimg.cc/ppkjl6rex/no_video.png


To allow Hibernian to display Video ads the following piece of code needs added at the bottom of the xml file, this can also been done for competitons or international teams;
<!-- All Hibernian home matches have to use LED -->
<record id="1575" led_force_flag="true" concatenate_next="true"/>


This code then turns on video ads and gives the below result
https://s26.postimg.cc/qqksab8eh/video.png
Jcshy
7 years ago
6 months ago
5
Hi Rab, have you got a guide for creating the LED board affect for ads? I've attached a picture of the one I've done where I've tried to mimic the affect but it's not quite as consistent as the others in the pack

https://i.imgur.com/VglbVdT.png
rabcp
14 years ago
1 hour ago
1,513
By Jcshy 11 February 2021 - 00:48 AM UTC 

Hi Rab, have you got a guide for creating the LED board affect for ads? I've attached a picture of the one I've done where I've tried to mimic the affect but it's not quite as consistent as the others in the pack

 

https://i.imgur.com/VglbVdT.png

 

I use the attached file as the top layer and set the layer to ‘multiply’ and adjust the brightness to 20 and contrast to 10. However, I only use this effect on video ads, all static ads I make have no texture

Jcshy
7 years ago
6 months ago
5
By rabcp 12 February 2021 - 00:00 AM UTC 

I use the attached file as the top layer and set the layer to ‘multiply’ and adjust the brightness to 20 and contrast to 10. However, I only use this effect on video ads, all static ads I make have no texture

 

Thanks for that mate, a lot more simpler than the method I was doing! And yeah, I'm only using the ‘LCD effect’ for the video ads and the upper tier static ads I'm doing - I'll post of them when I've done!

Mike Both
11 months ago
2 months ago
91

@rabcp  

 

but how do I know which record id belongs, where does it belong and whether it is even there? 

 

 

 

 I also asked you if I can use the same ids as another league uses it?

rabcp
14 years ago
1 hour ago
1,513
By Mike Both 26 July 2021 - 12:06 PM UTC 

@rabcp  

 

but how do I know which record id belongs, where does it belong and whether it is even there? 

 

 

 

 I also asked you if I can use the same ids as another league uses it?

If you are looking to add new ID numbers, anything with 8 digits should be ok, any ID numbers you pick just search the XML file if there are no results then the number is free.

 

ID's should be unique

Mike Both
11 months ago
2 months ago
91
By rabcp 28 July 2021 - 16:07 PM UTC 

If you are looking to add new ID numbers, anything with 8 digits should be ok, any ID numbers you pick just search the XML file if there are no results then the number is free.

 

ID's should be unique

 

for example id number 20352589. would then go 

rabcp
14 years ago
1 hour ago
1,513
By Mike Both 28 July 2021 - 17:13 PM UTC 

for example id number 20352589. would then go 

 

Yes

You'll need to Login to comment