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
Flag Control Graphics

 
Post new topic   Reply to topic Printable version
 View previous topic  cant change shipsets Post :: Post Tile making  View next topic  
Author Message
EliteAssassin
Novice


Age:35
Gender:Gender:Male
Joined: Feb 08 2006
Posts: 33
Offline

PostPosted: Thu Jun 15, 2006 2:51 pm    Post subject: Flag Control Graphics Reply to topic Reply with quote

I can't figure out how to make this work...I want one object to be displayed when a team owns all the flags in the game and the other to be displayed when they dont...any ideas?

Code: Show/Hide
; This file was created by DeBuildLevel, version 0.03, created May  6 2004 10:15:10

Outfile=control.lvz

File=team.bmp
;         Compression Info: FullSize:   35958  Compressed Size:    1554   Compression Percent:  95.7%
File=enemy.bmp
;         Compression Info: FullSize:   32310  Compressed Size:    1615   Compression Percent:  95.0%

; Object Information Compression Info:
; FullSize:      63  Compressed Size:      60  Compression Percent:   4.8%

[objectimages]
IMAGE0=team.bmp,1,1,100
IMAGE1=enemy.bmp,2,1,30
; Total loop time: 0.300 seconds     Frame time: 0.150 seconds

[screenobjects]
-250,C-210,IMAGE0,AfterGauges,ServerControlled,100,101
-250,C-210,IMAGE1,AfterGauges,ServerControlled,100,102

; Bytes Saved in Compression: 65,102
; File Compression Percent:   95.3%


Thats what I have now...and the attached lvz




control.lvz - 3.23 KB
LVZ Dump: INI
File downloaded or viewed 16 time(s)
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Jun 15, 2006 7:22 pm    Post subject: Reply to topic Reply with quote

You're going to need a bot (or a module for asss). On the "flag pickup" event, count all the flags owned by freq 0 and a separate counter for freq 1. If all the flags are owned by a freq, then you can toggle 101 on for that freq only. The other freq toggle 102 on. Second condition, if neither team owns all the flags then toggle 102 on for everybody.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
EliteAssassin
Novice


Age:35
Gender:Gender:Male
Joined: Feb 08 2006
Posts: 33
Offline

PostPosted: Thu Jun 15, 2006 7:26 pm    Post subject: Reply to topic Reply with quote

Is there anyway someone could help me make a plugin for the bot..I don't exactly know how to make my own.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Jun 15, 2006 7:32 pm    Post subject: Reply to topic Reply with quote

Which bot are you using (if any)?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
EliteAssassin
Novice


Age:35
Gender:Gender:Male
Joined: Feb 08 2006
Posts: 33
Offline

PostPosted: Thu Jun 15, 2006 8:07 pm    Post subject: Reply to topic Reply with quote

I use mervbot
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL 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: 329 page(s) served in previous 5 minutes.

phpBB Created this page in 0.544234 seconds : 31 queries executed (83.2%): GZIP compression disabled