Author |
Message |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Sun Jan 08, 2006 1:16 am Post subject: Advertisements |
 |
|
|
|
Upon loading subgame2.exe it shows:
What does the advertisement stuff mean?
0_ads.png - 4.21 KB
File downloaded or viewed 18 time(s)
|
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Sun Jan 08, 2006 1:22 am Post subject: |
 |
|
|
|
Advertisements used to be a form of LVZ that were used in VIE days. They're not in use anymore, so that shouldn't be much of a worry.
|
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Sun Jan 08, 2006 3:19 am Post subject: |
 |
|
|
|
Source: ASSS Wiki: Server.ini
Quote: | Advertise
These settings control subgame's built-in advertisement capability. To use advertisements, just create bitmaps in the SS Palette and save them in the subgame directory as ad0.bmp,ad1.bmp, etc. Prefix the name with "s_" to send to shareware players, with "r_" to send to registered players, and "b_" to send to both. For example, "b_ad0.bmp". Subgame will then randomly pick advertisements to display to players.
SendMode
Datatype: Sum (bitfield).
Determines when advertisements are sent.
* 1 = send them when the player enters the zone.
* 2 = send them when player dies.
DisplayMode
Datatype: Enumeration.
* 0 = at top of screen behind all other graphics.
* 1 = at top of screen on top of all other graphics.
* 2 = floating around like a backdrop.
Duration
Datatype: Milliseconds.
Length of time an advertisement is displayed. Special Value: 0 = always on. |
|
|
Back to top |
|
 |
Repositorer Newbie
Joined: Jan 07 2006 Posts: 11 Offline
|
Posted: Sun Jan 08, 2006 4:42 am Post subject: |
 |
|
|
|
Quote: | create bitmaps in the SS Palette |
Please divulge the nature of this palette? _________________ An investment in knowledge always pays the best interest.
|
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Wed Feb 08, 2006 5:31 pm Post subject: |
 |
|
|
|
MGB, can you define the "SS Palette" as stated above? This is not working out as I intended.
server.ini wrote: | [Advertise]
SendMode=1
DisplayMode=1
Duration=10000 |
b_ad0.bmp wrote: |  |
And here is what I see in-game:
output.png - 0.24 KB
File downloaded or viewed 16 time(s)
b_ad0.bmp - 5.75 KB
File downloaded or viewed 16 time(s)
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Thu Feb 09, 2006 3:56 am Post subject: |
 |
|
|
|
There are two palettes you can choose from (heh). Either use the one in tiles.bm2 or ships.bm2 both found in the graphics folder. Since you are using a palette this implies it is not a 24bit bmp.
|
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Thu Feb 09, 2006 8:46 am Post subject: |
 |
|
|
|
Thanks Smong, I guess all it really was that I had to do is degrade it's graphics quality to 256.
|
|
Back to top |
|
 |
|