예제 #1
0
from direct.showbase import PythonUtil
from panda3d.core import VBase4, Vec3, Point3
from CogdoUtil import VariableContainer, DevVariableContainer
AI = VariableContainer()
AI.GameActions = PythonUtil.Enum(('LandOnWinPlatform', 'WinStateFinished', 'GotoWinState', 'HitWhirlwind', 'HitLegalEagle', 'HitMinion', 'DebuffInvul', 'RequestEnterEagleInterest', 'RequestExitEagleInterest', 'RanOutOfTimePenalty', 'Died', 'Spawn', 'SetBlades', 'BladeLost'))
AI.BroadcastPeriod = 0.3
AI.SafezoneId2DeathDamage = {2000: 1,
 1000: 2,
 5000: 4,
 4000: 8,
 3000: 12,
 9000: 16}
AI.SafezoneId2WhirlwindDamage = {2000: 1,
 1000: 2,
 5000: 4,
 4000: 8,
 3000: 12,
 9000: 16}
AI.SafezoneId2LegalEagleDamage = {2000: 2,
 1000: 4,
 5000: 8,
 4000: 16,
 3000: 24,
 9000: 32}
AI.SafezoneId2MinionDamage = {2000: 1,
 1000: 2,
 5000: 4,
 4000: 8,
 3000: 12,
 9000: 16}
Camera = VariableContainer()
예제 #2
0
from direct.showbase import PythonUtil
from panda3d.core import VBase4, Vec3, Point3
from CogdoUtil import VariableContainer, DevVariableContainer
AI = VariableContainer()
AI.GameActions = PythonUtil.Enum(
    ('LandOnWinPlatform', 'WinStateFinished', 'GotoWinState', 'HitWhirlwind',
     'HitLegalEagle', 'HitMinion', 'DebuffInvul', 'RequestEnterEagleInterest',
     'RequestExitEagleInterest', 'RanOutOfTimePenalty', 'Died', 'Spawn',
     'SetBlades', 'BladeLost'))
AI.BroadcastPeriod = 0.3
AI.SafezoneId2DeathDamage = {
    2000: 1,
    1000: 2,
    5000: 4,
    4000: 8,
    3000: 12,
    9000: 16
}
AI.SafezoneId2WhirlwindDamage = {
    2000: 1,
    1000: 2,
    5000: 4,
    4000: 8,
    3000: 12,
    9000: 16
}
AI.SafezoneId2LegalEagleDamage = {
    2000: 2,
    1000: 4,
    5000: 8,
    4000: 16,
예제 #3
0
# File: t (Python 2.4)

from direct.showbase import PythonUtil
from pandac.PandaModules import VBase4, Vec3, Point3
from CogdoUtil import VariableContainer, DevVariableContainer
AI = VariableContainer()
AI.GameActions = PythonUtil.Enum(
    ('LandOnWinPlatform', 'WinStateFinished', 'GotoWinState', 'HitWhirlwind',
     'HitLegalEagle', 'HitMinion', 'DebuffInvul', 'RequestEnterEagleInterest',
     'RequestExitEagleInterest', 'RanOutOfTimePenalty', 'Died', 'Spawn',
     'SetBlades', 'BladeLost'))
AI.BroadcastPeriod = 0.29999999999999999
AI.SafezoneId2DeathDamage = {
    2000: 1,
    1000: 2,
    5000: 4,
    4000: 8,
    3000: 12,
    9000: 16
}
AI.SafezoneId2WhirlwindDamage = {
    2000: 1,
    1000: 2,
    5000: 4,
    4000: 8,
    3000: 12,
    9000: 16
}
AI.SafezoneId2LegalEagleDamage = {
    2000: 2,
    1000: 4,