Code for Custom Addons missing?
Posted: Sat Oct 04, 2008 6:16 pm
I find this code in gungame.py but there is no block calling out Custom Addons. Is that why they don't show up on first spawn like the Included Addons? I've added the code to register the addon but it doesn't act like Included Addons.
So although I don't think we want to add any new functions before release we should at least make existing stuff either work or take it out. Does that make sense or am I asking the wrong question?
# Included addons
elif cvarName in list_includedAddonsDir:
if newValue == 1:
es.server.queuecmd('es_load gungame/included_addons/%s' % cvarName)
elif newValue == 0 and cvarName in gungamelib.getRegisteredAddonlist():
es.unload('gungame/included_addons/%s' % cvarName)
elif cvarName in list_includedAddonsDir:
if newValue == 1:
es.server.queuecmd('es_load gungame/included_addons/%s' % cvarName)
elif newValue == 0 and cvarName in gungamelib.getRegisteredAddonlist():
es.unload('gungame/included_addons/%s' % cvarName)