Restrict certain ultimates on certain maps ?

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
erik2k3
Militia
Posts: 73
Joined: Wed Aug 03, 2005 6:34 am
Location: Germany / UK
Contact:

Restrict certain ultimates on certain maps ?

Post by erik2k3 » Sat Nov 11, 2006 12:52 pm

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 ...
Image

zverj
Peon
Posts: 2
Joined: Thu Nov 09, 2006 11:16 am

Post by zverj » Sat Nov 11, 2006 5:38 pm

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)

erik2k3
Militia
Posts: 73
Joined: Wed Aug 03, 2005 6:34 am
Location: Germany / UK
Contact:

Post by erik2k3 » Wed Nov 15, 2006 9:20 am

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....
Image

Post Reply