Raised This Month: $ Target: $400
 0% 

DOD entity 'expert' wanted


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 10-18-2006 , 16:44   DOD entity 'expert' wanted
Reply With Quote #1

Whenever I create a new dod_control_point entity, it doesn't 'link' with the dod_control_point_master. Thus the flag appears, but you can't capture it and it doesn't appear on the HUD.

I've tried removing an existing control_point and then recreated the same control_point with the exact same key/values and it does the same thing.

Then I even removed all control_points AND the master, and recreated them ALL with the same keys and it still doesn't recognize them as 'captureable'.

Any ideas as to why?
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-18-2006 , 17:01   Re: DOD entity 'expert' wanted
Reply With Quote #2

Perhaps it only checks on map load, like player spawns. Try doing all of this in plugin_precache.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 10-18-2006 , 17:20   Re: DOD entity 'expert' wanted
Reply With Quote #3

Good thought! But if I create an entity in precache, do I risk overwriting another entity with the same number? Or is the plugin_precache triggered before the entity table is transferred?
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
Ingram
Veteran Member
Join Date: May 2004
Old 10-18-2006 , 20:42   Re: DOD entity 'expert' wanted
Reply With Quote #4

i just looked at this quickly, but as far as i can tell:

dod_control_point is linked to dod_control_point_master through point_group if it is a flag you run through.
or
dod_control_point is linked to dod_capture_area through target and targetname if it is a flag with a capture area. There is no link to dod_control_point_master from dod_control_point or dod_capture_area.

hope that helps
Ingram is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-18-2006 , 21:20   Re: DOD entity 'expert' wanted
Reply With Quote #5

Quote:
Originally Posted by Vet View Post
Good thought! But if I create an entity in precache, do I risk overwriting another entity with the same number? Or is the plugin_precache triggered before the entity table is transferred?
No.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 10-19-2006 , 08:39   Re: DOD entity 'expert' wanted
Reply With Quote #6

Thanx Avalanche! Doing it in precache worked great.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
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 04:56.


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