Server Help

General Questions - Advertisements

Donkano - Sun Jan 08, 2006 1:16 am
Post subject: Advertisements
Upon loading subgame2.exe it shows:


What does the advertisement stuff mean?
Purge - 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.
Mine GO BOOM - 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.

Repositorer - Sun Jan 08, 2006 4:42 am
Post subject:
Quote:
create bitmaps in the SS Palette


Please divulge the nature of this palette?
Donkano - 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:

Smong - 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.
Donkano - 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.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group