Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Advertisements

 
Post new topic   Reply to topic Printable version
 View previous topic  Shipsettings are good but cant fire Post :: Post Background  View next topic  
Author Message
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Sun Jan 08, 2006 1:16 am    Post subject: Advertisements Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Sun Jan 08, 2006 1:22 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Sun Jan 08, 2006 3:19 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email
Repositorer
Newbie


Joined: Jan 07 2006
Posts: 11
Offline

PostPosted: Sun Jan 08, 2006 4:42 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Wed Feb 08, 2006 5:31 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Feb 09, 2006 3:56 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Thu Feb 09, 2006 8:46 am    Post subject: Reply to topic Reply with quote

Thanks Smong, I guess all it really was that I had to do is degrade it's graphics quality to 256.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 58 page(s) served in previous 5 minutes.

phpBB Created this page in 0.658821 seconds : 34 queries executed (95.8%): GZIP compression disabled