Raised This Month: $ Target: $400
 0% 

Creating a room dynamically off the map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 07-05-2006 , 15:18   Re: Creating a room dynamically off the map
Reply With Quote #1

Awesome thanks, this will get me started Is there a downside to going off the map ??
__________________
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
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-05-2006 , 15:41   Re: Creating a room dynamically off the map
Reply With Quote #2

Quote:
Originally Posted by Geesu
Awesome thanks, this will get me started Is there a downside to going off the map ??
No, I guess it should really be

Code:
// dist between center and shortest point of each wall #define ROOM_RADIUS 100.0 // limits of the map #define MAP_MAX 4096.0 - ROOM_RADIUS
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
VEN
Veteran Member
Join Date: Jan 2005
Old 07-06-2006 , 15:52   Re: Creating a room dynamically off the map
Reply With Quote #3

I'd simply trace a few lines instead of looping.
VEN is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 07-06-2006 , 15:52   Re: Creating a room dynamically off the map
Reply With Quote #4

Quote:
Originally Posted by VEN
I'd simply trace a few lines instead of looping.
Interesting... not a bad idea...
__________________
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
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-06-2006 , 17:43   Re: Creating a room dynamically off the map
Reply With Quote #5

Quote:
Originally Posted by VEN
I'd simply trace a few lines instead of looping.
I don't think that would work well, I haven't had good results with trace_line when using it off the map.

If it does though that's a good idea.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 08:02.


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