View Single Post
byteframe
Member
Join Date: Jul 2011
Location: Pitcairn Island
Old 01-29-2012 , 02:23   Re: [TF2] Force Holidays - Updated 2011-12-16/21
Reply With Quote #83

does crit candy _only_ spawn on the halloween event maps? they do spawn and count towards the achievements on cp_manor_event (with bots).

found this : https://developer.valvesoftware.com/..._logic_holiday

tried this in OnMapStart with a custom map....no dice...

Code:
new entity = -1;
if ((entity = FindEntityByClassname(-1, "tf_logic_holiday")) == -1) {
    entity = CreateEntityByName("tf_logic_holiday");
    new Float:pos[] = {0.0,0.0,0.0};
    DispatchKeyValue(entity, "Holiday", "Halloween");
    DispatchSpawn(entity);
    TeleportEntity(entity, pos, NULL_VECTOR, NULL_VECTOR);
}
----

also crit candy (when it drops on manor, atm) only gives achievement credit if `tf_forced_holiday = 2` is also enabled (should you only be using tfh_halloween 1).

Last edited by byteframe; 01-29-2012 at 03:37.
byteframe is offline