Reset ammo in round games

2 replies [Last post]
onion
Offline
Joined: Jun 2010
Posts:

Hi!

In round based gametypes, during the round warmup time, players can take weapons and ammo. When warmup ends, my server reset all items on the map but not the ammos.

Round {
 
   Items = IT_ALL;       // <--- In here there aren't ammo bit field
 
   Reset Flags = RESET_ALL;
 
}

How can I reset ammos?

Thanks.

bye

onion

.DoK. Crazy
Forum moderator
lilcrazy.style's picture
Offline
Joined: Apr 2009
Posts:
DE Germany
Re: Reset ammo in round games

E tu chi sei Surprise.. ?I don't know which cfg you play, i can talk for PlusN u should check this 2 vars if you haven't done it yet in your server.cfg:

set xp_roundRestartMapItems "0" (mega,quad,etc..)
set xp_roundRestartPlayerStatus "0" (hp,ammo, etc..)

My ideas and content for E+:

.DoK. Clan® founder/leader since October 2008 ©.

.DoK. Clan Trailer <-- Thanks to DoK SoftAir.
Throphy: 3rd place AFC 2010.
]DOK[ DanGeR FroSteD! 95.130.10.38:27960

Caipiroska-fragola , Sex on the beach, Pink floid Big grin
Soft prendiamo i soliti? ok, 1 canarino e 3 ACE con ghiaccio Big grin

onion
Offline
Joined: Jun 2010
Posts:
Re: Reset ammo in round games

Thanks for answer.

I don't have those variables.

I'm not talking about a config in specific. I'm writing my own config.

The problem is that I can only reset ammos in player stats, not ammos item on the map.

I play in Openarena.

bye

onion