DM Maps to OBJ Maps - Respawn problem

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
PetSeL
Lance Corporal
Posts: 11
Joined: Sun Jan 06, 2008 9:23 am

DM Maps to OBJ Maps - Respawn problem

Post by PetSeL »

Hi all,

I have some kind of error with a missing script command i think and was hoping if somebody inhere can help me out..
I have rescripted Remagen to an Obj-Gametype.
But for some reason when players get killed in game (by opponent) and they switch to the other team they get back "alive" in the current Obj-Round... Wich is not very good..
Also i noticed that when some players a playing this objective match and a spectator joins after 2 mins that the round started let's say, he "also" gets spawned alive..

PROBLEM= i would like to have only 1 spawn moment at the beginning of the round just like in the Stock Objective Maps.

Can anybody help me out on this? I searched allready on the forums here but didn't found anything about that certain issue.

Thx in advance
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hi PetSel, welcome to .Map!

It's probably time to post your script and server config :wink:
Image
User avatar
PetSeL
Lance Corporal
Posts: 11
Joined: Sun Jan 06, 2008 9:23 am

Post by PetSeL »

Thx for the welcome :)
Last edited by PetSeL on Thu Jan 10, 2008 2:00 am, edited 1 time in total.
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

The problem you describe is the result of a bug in the game logic. It's being exploited on public servers extensively. Solving it with a script is very tricky. I remember inventing a fix for it some time ago but can't find it on my hard drive now.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
JoeyC
Lance Corporal
Posts: 18
Joined: Sat Apr 30, 2005 11:03 am

Post by JoeyC »

try set allowjointime "5" in your server.cfg. Most servers are setup to this setting set allowjointime "30". 5 gives less time to switch. It is a known bug in moh since it came out.
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

What game mode are you running - Team?

Is this for AA?

You could try running it in round-based and change the gametype to obj just before team win - then set it back.

Code: Select all

	setcvar g_gametype 4
	teamwin axis

	setcvar g_gametype 3
User avatar
PetSeL
Lance Corporal
Posts: 11
Joined: Sun Jan 06, 2008 9:23 am

Post by PetSeL »

JoeyC wrote:try set allowjointime "5" in your server.cfg. Most servers are setup to this setting set allowjointime "30". 5 gives less time to switch. It is a known bug in moh since it came out.
gonna try it out
will give feedback soon
User avatar
PetSeL
Lance Corporal
Posts: 11
Joined: Sun Jan 06, 2008 9:23 am

Post by PetSeL »

Viper wrote:What game mode are you running - Team?

Is this for AA?

You could try running it in round-based and change the gametype to obj just before team win - then set it back.

Code: Select all

	setcvar g_gametype 4
	teamwin axis

	setcvar g_gametype 3
Can u explain this code a bit more?
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

you didn't answer my questions?

That code will allow you to run dm maps in roundbased mode and via script conlude the objective script like it was in objective mode.
User avatar
PetSeL
Lance Corporal
Posts: 11
Joined: Sun Jan 06, 2008 9:23 am

Post by PetSeL »

Viper wrote:you didn't answer my questions?

That code will allow you to run dm maps in roundbased mode and via script conlude the objective script like it was in objective mode.
Ok , i will add that code and see if it works.
Will give feedback asap

Answer to your question? Yes this for MohAA.. (.Map :: MoHAA Mapping Forum Index)
User avatar
PetSeL
Lance Corporal
Posts: 11
Joined: Sun Jan 06, 2008 9:23 am

Post by PetSeL »

hmm, i think i'm doing something wrong..
Could u show me where i should put the code in the above .scr Viper?
User avatar
PetSeL
Lance Corporal
Posts: 11
Joined: Sun Jan 06, 2008 9:23 am

Post by PetSeL »

PetSeL wrote:
JoeyC wrote:try set allowjointime "5" in your server.cfg. Most servers are setup to this setting set allowjointime "30". 5 gives less time to switch. It is a known bug in moh since it came out.
gonna try it out
will give feedback soon
I think its working :)
Post Reply