Raised This Month: $ Target: $400
 0% 

Trying to get origins of the VIP escape zone...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 06-08-2006 , 15:06   Trying to get origins of the VIP escape zone...
Reply With Quote #1

I thought it would be an entity hardcoded into the map, but I can't find one :/

Anyone have any ideas?
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Basic-Master
Veteran Member
Join Date: Apr 2005
Location: hello pm
Old 06-08-2006 , 15:47  
Reply With Quote #2

AFAIK it's a "func_escapezone" entity, have you checked that yet?
Basic-Master is offline
Send a message via ICQ to Basic-Master Send a message via MSN to Basic-Master
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 06-08-2006 , 16:07  
Reply With Quote #3

weird I assumed it would have been listed in as_oilrig.bsp but it wasn't, i'll search through all entities in game for it, ty
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-08-2006 , 16:12  
Reply With Quote #4

Quote:
The func_escapezone was used in escape missions (es maps) which don't exist anymore. Half of the terrorist team had to make it to a escapezone to win the round.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-08-2006 , 16:20  
Reply With Quote #5

Code:
get_brush_entity_origin //engine stocks

Look at Objective Proximity Warning by twistedeuphoria.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 06-08-2006 , 16:30  
Reply With Quote #6

it is func_vip_safetyzone
you just have to read the cs.fgd ;)
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 06-08-2006 , 16:33  
Reply With Quote #7

Well I'm trying to check if an origin would be in that zone, is that what i'd still use ?
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-08-2006 , 16:38  
Reply With Quote #8

Yea I think so. Here is an example,

I check if the user in inside the knifezone in my plugin
Code:
check_origin(Origin[3]) {     for(new i = 0; i < MAX_ZONES; ++i)     {         new ZoneSizeX = get_cvar_num("amx_kzsizex")         new ZoneSizeY = get_cvar_num("amx_kzsizey")         new ZoneSizeZ = get_cvar_num("amx_kzsizez") if((g_KnifeZoneOrgins[i][OriginX] - Origin[OriginX] > ZoneSizeX) || (g_KnifeZoneOrgins[i][OriginX] - Origin[OriginX] < -ZoneSizeX) || (g_KnifeZoneOrgins[i][OriginY] - Origin[OriginY] > ZoneSizeY) || (g_KnifeZoneOrgins[i][OriginY] - Origin[OriginY] < -ZoneSizeY)   || (g_KnifeZoneOrgins[i][OriginZ] - Origin[OriginZ] > ZoneSizeZ) || (g_KnifeZoneOrgins[i][OriginZ] - Origin[OriginZ] < -ZoneSizeZ)) {     continue }     return true } return false }
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode