Server Help

Bot Questions - turf radar

Phyran - Sat Aug 21, 2004 12:18 am
Post subject: turf radar
i dont understand how the servercontrolled obID in the radar.ini for the radar.lvz works

what do they do?

editted:
a bit more clarification, there are regions in radar.ini for the .dll plugin but how does the radar.ini in radar.lvz 's obID corresponding to the regions?

like which obIDs are assigned to a region >_>a
SuSE - Sat Aug 21, 2004 4:26 am
Post subject:
well, let's take a look...
Quote:
; [Regions]
; Assign regions of the map to LVZ object numbers.
; Format:
; 1= x1,y1,x2,y2, x1,y1,x2,y2, x1,y1,x2,y2, x1,y1,x2,y2, ...
; x and y are in tiles. Numbered between 0-1023

[Regions]
1=325,340,354,384
2=434,337,477,387
3=549,335,590,390
4=668,340,702,384
5=325,489,354,533
6=440,489,469,533
7=554,489,583,533
8=670,489,699,533
9=325,635,354,679
10=402,635,474,679
11=516,635,583,679
12=630,635,697,679

; [FlagCount]
; This is the number of flags in each region.
; Format:
; 1= n
; Where n is the number of flags.

[FlagCount]
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
10=10
11=11
12=12

...
Quote:
outfile=radar.lvz

file=freq01_blue_most_flags_00.bmp
file=freq02_red_get_flag_01.bmp
file=freq02_red_get_flag_02.bmp
file=freq02_red_get_flag_03.bmp
file=freq02_red_get_flag_04.bmp
file=freq02_red_get_flag_05.bmp
file=freq02_red_get_flag_06.bmp
file=freq02_red_get_flag_07.bmp
file=freq02_red_get_flag_08.bmp
file=freq02_red_get_flag_09.bmp
file=freq02_red_get_flag_10.bmp
file=freq02_red_get_flag_11.bmp
file=freq02_red_get_flag_12.bmp
file=freq02_red_most_flags_01.bmp
file=freq02_red_most_flags_02.bmp
file=freq02_red_most_flags_03.bmp
file=freq02_red_most_flags_04.bmp
file=freq02_red_most_flags_05.bmp
file=freq02_red_most_flags_06.bmp
file=freq02_red_most_flags_07.bmp
file=freq02_red_most_flags_08.bmp
file=freq02_red_most_flags_09.bmp
file=freq02_red_most_flags_10.bmp
file=freq02_red_most_flags_11.bmp
file=freq02_red_most_flags_12.bmp
file=freq01_blue_get_flag_01.bmp
file=freq01_blue_get_flag_02.bmp
file=freq01_blue_get_flag_03.bmp
file=freq01_blue_get_flag_04.bmp
file=freq01_blue_get_flag_05.bmp
file=freq01_blue_get_flag_06.bmp
file=freq01_blue_get_flag_07.bmp
file=freq01_blue_get_flag_08.bmp
file=freq01_blue_get_flag_09.bmp
file=freq01_blue_get_flag_10.bmp
file=freq01_blue_get_flag_11.bmp
file=freq01_blue_get_flag_12.bmp

[objectimages]
image0=freq01_blue_most_flags_00.bmp,1,1,100
image1=freq02_red_get_flag_01.bmp,2,1,30
image2=freq02_red_get_flag_02.bmp,2,1,30
image3=freq02_red_get_flag_03.bmp,2,1,30
image4=freq02_red_get_flag_04.bmp,2,1,30
image5=freq02_red_get_flag_05.bmp,2,1,30
image6=freq02_red_get_flag_06.bmp,2,1,30
image7=freq02_red_get_flag_07.bmp,2,1,30
image8=freq02_red_get_flag_08.bmp,2,1,30
image9=freq02_red_get_flag_09.bmp,2,1,30
image10=freq02_red_get_flag_10.bmp,2,1,30
image11=freq02_red_get_flag_11.bmp,2,1,30
image12=freq02_red_get_flag_12.bmp,2,1,30
image13=freq02_red_most_flags_01.bmp,1,1,100
image14=freq02_red_most_flags_02.bmp,1,1,100
image15=freq02_red_most_flags_03.bmp,1,1,100
image16=freq02_red_most_flags_04.bmp,1,1,100
image17=freq02_red_most_flags_05.bmp,1,1,100
image18=freq02_red_most_flags_06.bmp,1,1,100
image19=freq02_red_most_flags_07.bmp,1,1,100
image20=freq02_red_most_flags_08.bmp,1,1,100
image21=freq02_red_most_flags_09.bmp,1,1,100
image22=freq02_red_most_flags_10.bmp,1,1,100
image23=freq02_red_most_flags_11.bmp,1,1,100
image24=freq02_red_most_flags_12.bmp,1,1,100
image25=freq01_blue_get_flag_01.bmp,2,1,30
image26=freq01_blue_get_flag_02.bmp,2,1,30
image27=freq01_blue_get_flag_03.bmp,2,1,30
image28=freq01_blue_get_flag_04.bmp,2,1,30
image29=freq01_blue_get_flag_05.bmp,2,1,30
image30=freq01_blue_get_flag_06.bmp,2,1,30
image31=freq01_blue_get_flag_07.bmp,2,1,30
image32=freq01_blue_get_flag_08.bmp,2,1,30
image33=freq01_blue_get_flag_09.bmp,2,1,30
image34=freq01_blue_get_flag_10.bmp,2,1,30
image35=freq01_blue_get_flag_11.bmp,2,1,30
image36=freq01_blue_get_flag_12.bmp,2,1,30

[screenobjects]
-250,c-210,image0,aftergauges,showalways,0,0
-250,c-210,image1,aftergauges,servercontrolled,100,101
-250,c-210,image2,aftergauges,servercontrolled,100,102
-250,c-210,image3,aftergauges,servercontrolled,100,103
-250,c-210,image4,aftergauges,servercontrolled,100,104
-250,c-210,image5,aftergauges,servercontrolled,100,105
-250,c-210,image6,aftergauges,servercontrolled,100,106
-250,c-210,image7,aftergauges,servercontrolled,100,107
-250,c-210,image8,aftergauges,servercontrolled,100,108
-250,c-210,image9,aftergauges,servercontrolled,100,109
-250,c-210,image10,aftergauges,servercontrolled,100,110
-250,c-210,image11,aftergauges,servercontrolled,100,111
-250,c-210,image12,aftergauges,servercontrolled,100,112
-250,c-210,image13,aftergauges,servercontrolled,0,201
-250,c-210,image14,aftergauges,servercontrolled,0,202
-250,c-210,image15,aftergauges,servercontrolled,0,203
-250,c-210,image16,aftergauges,servercontrolled,0,204
-250,c-210,image17,aftergauges,servercontrolled,0,205
-250,c-210,image18,aftergauges,servercontrolled,0,206
-250,c-210,image19,aftergauges,servercontrolled,0,207
-250,c-210,image20,aftergauges,servercontrolled,0,208
-250,c-210,image21,aftergauges,servercontrolled,0,209
-250,c-210,image22,aftergauges,servercontrolled,0,210
-250,c-210,image23,aftergauges,servercontrolled,0,211
-250,c-210,image24,aftergauges,servercontrolled,0,212
-250,c-210,image25,aftergauges,servercontrolled,100,301
-250,c-210,image26,aftergauges,servercontrolled,100,302
-250,c-210,image27,aftergauges,servercontrolled,100,303
-250,c-210,image28,aftergauges,servercontrolled,100,304
-250,c-210,image29,aftergauges,servercontrolled,100,305
-250,c-210,image30,aftergauges,servercontrolled,100,306
-250,c-210,image31,aftergauges,servercontrolled,100,307
-250,c-210,image32,aftergauges,servercontrolled,100,308
-250,c-210,image33,aftergauges,servercontrolled,100,309
-250,c-210,image34,aftergauges,servercontrolled,100,310
-250,c-210,image35,aftergauges,servercontrolled,100,311
-250,c-210,image36,aftergauges,servercontrolled,100,312


First off you can easily pick out the 1-12's at the end of the objid's - those are for regions 1 through 12 (duh sa_tongue.gif)

Objid 0 is the base image which unfortunately (catid made the plugin in one night I think sa_tongue.gif) also represents 'most flags' for freq 0...for all regions.

Ids 101-112 are for the 'flash' alert animation that indicates a player on freq 1 has gotten a flag.

Ids 201-212 are the freq 1 counter to Id 0 - they indicate when freq 1 has the most flags in an area.

Ids 301-312 are the freq 0 counter to Ids 101-112 - they are for the 'flash' alert animation that indicates a player on freq 0 has gotten a flag.
Phyran - Sat Aug 21, 2004 9:58 am
Post subject:
thx still kinda confused but this really helps

im making mine based on turf arizona svs' radar n_n;;;;

another question:
does it have to be 12 regions or can i just do 6?

editted: nvm i think i figure it out
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group