Server Help

LVZ/LVL Questions - Flag Control Graphics

EliteAssassin - Thu Jun 15, 2006 2:51 pm
Post subject: Flag Control Graphics
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
Smong - Thu Jun 15, 2006 7:22 pm
Post subject:
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.
EliteAssassin - Thu Jun 15, 2006 7:26 pm
Post subject:
Is there anyway someone could help me make a plugin for the bot..I don't exactly know how to make my own.
Smong - Thu Jun 15, 2006 7:32 pm
Post subject:
Which bot are you using (if any)?
EliteAssassin - Thu Jun 15, 2006 8:07 pm
Post subject:
I use mervbot
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group