Page 1 of 1

Restrict certain ultimates on certain maps ?

Posted: Sat Nov 11, 2006 12:52 pm
by erik2k3
Yo, might be dumb qeustion, but I`m askin it anyways :

Is tehere a way for 2.3 to restrict humans in this case to teleport on a certain map ?

Background :

we made a nice aim map, unfortunately people are using the teleport to get into the enemy`s base, not really the essence of an aim map, isn`t it ?

Was thinking maybe it would be possible to include something like the orc nade restriciotn somewhere in the ultimate.inl in the same way of the others.inl ?

I dont need to be given the code, a simple yes, might be possible if you can code well, or nope... can`t see a way at this point for what you`re askin ...

Posted: Sat Nov 11, 2006 5:38 pm
by zverj
It would be grate if you say how to make such thing in 3.0RC2, becouse i very need it on all awp_* maps 8)

Posted: Wed Nov 15, 2006 9:20 am
by erik2k3
just thought of a way :

in v2.1 :

add

Code: Select all

new mapname[32]
		get_mapname(mapname,31) 
		if (containi(mapname,"awp_")!=-1) {
....
} 
in the functon controlling the teleport, so IF the mapname contains "awp_" show the user a message saying something like... "No Teleport on this map blablabla" if the mapname doesnt contain "awp_" code wil run through like normal....