Server Help

Bot Questions - Domination plugin

Anonymous - Thu Apr 14, 2005 3:29 pm
Post subject: Domination plugin
On catid.ssihosting.com there is a plugin that is supposed to simulate Domination (from Unreal Tournament). Essentially, there are 3 flags, teams get a point for every x seconds they have a flag - first team to 100 points wins.

Anyway, i dl'ed the plugin. It's instructions for the lvz stat box r too confusing, and couldnt get anything when i tried using it without the stat box. Anyone know anything about this plugin that might help?
Maverick - Thu Apr 21, 2005 4:12 am
Post subject:
Ok, I already tried explaining you in a plugin but that was hard. Lets try here again.

The bot itself should work already (even without lvz score box). However if you want to make one, there are specific instructions inside the readme.txt that tell you how to create a lvz score box that works with the bot.

Please note the bot is made for 3 turf flags and 3 teams / freqs.

Lets review those:
Code: Show/Hide

Installation:
In spawns.txt, use domination.dll instead of blank.
Change INI to match turf flag coords.

This bot requires a LVZ stat box.
Object ID's must be set up for the flag game:
#111t, t=team+1 -> yellow freq name (your team)
#222t, t=team+1 -> red, flashing freq border (team has >= 90 points)
#tf, t=team+1, f=flag#+1(INI) -> match team to owned bases
#ntd, n=number(0=10, 1=1, 9=9, etc), t=team+1, d=digit column -> score digit 0-9


This looks like very confusing, but when reading over it 3 times you start to understand what the author is suggesting.
With the # directives he is giving instructions what lvz object numbers which lvz needs to have.

LVZ Directive #1
Quote:
#111t, t=team+1 -> yellow freq name (your team)

LVZ Object numbers 111• show the number of the players frequency viewing the score box.
For example, if you are in the game and on freq 2, this bot will toggle on lvz number #1113 and the lvz will show number 2 in yellow (which is your freq).

#1110 -> unused
#1111 -> Yellow number "0"
#1112 -> Yellow number "1"
#1113 -> Yellow number "2"

LVZ Directive #2
Quote:
#222t, t=team+1 -> red, flashing freq border (team has >= 90 points)

LVZ Object numbers 222• will show a flashing border around the number of the frequency of the enemy which has more or equal then 90 points. (Every 5 seconds, a team gets 1 point for each flag.) This works the same as the previous lvz instructions. LVZ Number should be enemy freq number + 1.
For example, if you are in the game and on freq 2, the enemy freq 3 has 90 points and that gets showed at the score box. The bot will thus toggle lvz object #2224 and the lvz (the score box) will show the red number 3 with a flashing border.

#2220 -> unused
#2221 -> flashing border around red number "0"
#2222 -> flashing border around red number "1"
#2223 -> flashing border around red number "2"

LVZ Directive #3
Quote:
#tf, t=team+1, f=flag#+1(INI) -> match team to owned bases

Hmmm. I don't even know what the author tries to say with "match team to owned bases". What I can think of is that he means "match team to owned flags". So you can show which flag which team has. Considering this plugin can only handle stationary flags, he must have used them for bases.
For example, if freq 0 owns flag #0 and flag #2 (see .ini which these are), the score box would show lvz number #11 and #13 which shows that freq 0 owns flag #0 and #2 to all players via the score box.

#00 -> unused
#10 -> unused
#11 -> Freq 0 owns flag #0
#12 -> Freq 0 owns flag #1
#13 -> Freq 0 owns flag #2
#20 -> unused
#21 -> Freq 1 owns flag #0
#22 -> Freq 1 owns flag #1
#23 -> Freq 1 owns flag #2
#30 -> unused
#31 -> Freq 2 owns flag #0
#32 -> Freq 2 owns flag #1
#33 -> Freq 2 owns flag #2
#34 -> unused

LVZ Directive #4
Quote:
#ntd, n=number(0=10, 1=1, 9=9, etc), t=team+1, d=digit column -> score digit 0-9

These lvz numbers will show the score. (I'm not sure if the bot will show for all teams or only your team). Anyway, you need to make number pictures from 0 to 9 and then define that at different places (digit column) for each team.
The lvz number is configured as #<number><team+1><column> .
For example, freq 2 has 30 points. First digit is a 3. The bot will toggle #330: #<number 3><freq 2+1><column 0> . I assume the column will start at 0. The second number the bot will toggle for the second digit is #1031. (Notice that 0 = 10 for displaying the number)

#000 -> unused
#110 -> Shows '1' for freq 0 on 1st digit column
#210 -> Shows '2' for freq 0 on 1st digit column
(...)
#1010 -> Shows '0' for freq 0 on 1st digit column
(etc)


Ok. Thats it. I don't know if what I said is all correct. You should ask the author for an example or have him explain (here?) icon_smile.gif
If you have any questions, feel free to ask them.

Anyways, good luck
Maverick
Maverick - Thu May 05, 2005 9:46 am
Post subject:
what a waste of time, I doubt thunderjam read this new_let_it_all_out.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group