Author |
Message |
CR0SSFIRE Guest
Offline
|
Posted: Tue Apr 29, 2003 4:54 pm Post subject: Reward |
 |
|
|
|
The arena I'm currently working on puts all users on their own channel.
At the moment it just has 1 flag but I may add more.
When someone owns the flag they get rewarded 1 point every second.
This all works fine, but the annoying thing is you get the 'Reward: 1 point' message each second.
So really I want to have someone who owns the flag to be timed then when someone else takes the flag they are then rewarded the points equal to the time in seconds they had the flag for.
I'm guessing I'll need a MERVbot plugin to do this, anyone able to point me in the right direction ? |
|
Back to top |
|
 |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Tue Apr 29, 2003 5:09 pm Post subject: |
 |
|
|
|
im not sure about working with it around the settings... but im sure merv could do it... though you may have trouble getting exactly 1 second intervals... ill have to check (or one of the pros here will just post it).
Alternately (cheap method ahead). You could set it to something where points/seconds still = 1 like
30pts/30 seconds
15 pts/15 seconds
... _________________ Signatures just seem so quaint. |
|
Back to top |
|
 |
CR0SSFIRE Guest
Offline
|
Posted: Tue Apr 29, 2003 5:14 pm Post subject: |
 |
|
|
|
I think you're describing what I've already tried.
[Periodic]
RewardDelay=100
RewardMinimumPlayers=1
RewardPoints=1 |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Tue Apr 29, 2003 9:26 pm Post subject: |
 |
|
|
|
no, he's saying instead of one point ever second, you get 30 points every 30 seconds
less msg spam, same amount of points if they live for 30 seconds |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Wed Apr 30, 2003 11:04 am Post subject: |
 |
|
|
|
could use a bot to time how long a player has had a flag, starting from EVENT_FlagPickup or whatever it is, and store it to another variable. Then when the flag carrier changes, uses *points to prize former carrier and begin timing the new carrier. _________________ There are no stupid question, but there are many inquisitive idiots.
Loot
Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries |
|
Back to top |
|
 |
CR0SSFIRE Guest
Offline
|
Posted: Wed Apr 30, 2003 5:23 pm Post subject: |
 |
|
|
|
I could, but I have no clue about programming bots, I've not VB or VC++ for about 6 months. |
|
Back to top |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Wed Apr 30, 2003 7:06 pm Post subject: |
 |
|
|
|
ya, but explody does know about programming bots...hint hint  |
|
Back to top |
|
 |
Helicon Server Help Squatter
Joined: Dec 03 2002 Posts: 771 Location: GNU Doldrums Offline
|
Posted: Wed Apr 30, 2003 9:10 pm Post subject: |
 |
|
|
|
the timing might be tricky... MERV doesn't tick does it? |
|
Back to top |
|
 |
|