ItemSpawn: Last update to balrog for now..
This commit is contained in:
parent
4c168bd651
commit
326c340b27
@ -44,9 +44,6 @@ public void OnPluginStart()
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public void OnMapStart()
|
||||
{
|
||||
// Physbox
|
||||
PrecacheModel("models/props/cs_militia/crate_extrasmallmill.mdl");
|
||||
|
||||
// Vortigaunt
|
||||
PrecacheModel("models/vortigaunt_slave.mdl");
|
||||
|
||||
|
@ -97,7 +97,6 @@ public void SpawnBalrog(float fOrigin[3])
|
||||
ParentToEntity(iTriggerStrip, iKnife);
|
||||
|
||||
// make the trigger work.
|
||||
SetEntityModel(iTriggerStrip, "models/vortigaunt_slave.mdl");
|
||||
SetEntityBBox(iTriggerStrip, view_as<float>({-8.0, -8.0, -8.0}), view_as<float>({8.0, 8.0, 8.0}));
|
||||
SetEntitySolid(iTriggerStrip);
|
||||
SetEntityNodraw(iTriggerStrip);
|
||||
@ -116,7 +115,6 @@ public void SpawnBalrog(float fOrigin[3])
|
||||
ParentToEntity(iTriggerDeath, iKnife);
|
||||
|
||||
// make the trigger work.
|
||||
SetEntityModel(iTriggerDeath, "models/vortigaunt_slave.mdl");
|
||||
SetEntityBBox(iTriggerDeath, view_as<float>({-8.0, -8.0, -8.0}), view_as<float>({8.0, 8.0, 8.0}));
|
||||
SetEntitySolid(iTriggerDeath);
|
||||
SetEntityNodraw(iTriggerDeath);
|
||||
@ -140,7 +138,6 @@ public void SpawnBalrog(float fOrigin[3])
|
||||
ParentToEntity(iTriggerWalk, iKnife);
|
||||
|
||||
// make the trigger work.
|
||||
SetEntityModel(iTriggerWalk, "models/vortigaunt_slave.mdl");
|
||||
SetEntityBBox(iTriggerWalk, view_as<float>({-32.0, -72.0, -84.0}), view_as<float>({32.0, 72.0, 84.0}));
|
||||
SetEntitySolid(iTriggerWalk);
|
||||
SetEntityNodraw(iTriggerWalk);
|
||||
@ -170,7 +167,6 @@ public void SpawnBalrog(float fOrigin[3])
|
||||
ParentToEntity(iTriggerRoar, iKnife);
|
||||
|
||||
// make the trigger work.
|
||||
SetEntityModel(iTriggerRoar, "models/vortigaunt_slave.mdl");
|
||||
SetEntityBBox(iTriggerRoar, view_as<float>({-736.0, -736.0, -560.0}), view_as<float>({736.0, 736.0, 560.0}));
|
||||
SetEntitySolid(iTriggerRoar);
|
||||
SetEntityNodraw(iTriggerRoar);
|
||||
@ -194,7 +190,6 @@ public void SpawnBalrog(float fOrigin[3])
|
||||
ParentToEntity(iTriggerAttack, iKnife);
|
||||
|
||||
// make the trigger work.
|
||||
SetEntityModel(iTriggerAttack, "models/vortigaunt_slave.mdl");
|
||||
SetEntityBBox(iTriggerAttack, view_as<float>({-152.0, -256.0, -71.5}), view_as<float>({152.0, 256.0, 71.5}));
|
||||
SetEntitySolid(iTriggerAttack);
|
||||
SetEntityNodraw(iTriggerAttack);
|
||||
@ -304,11 +299,11 @@ public void SpawnBalrog(float fOrigin[3])
|
||||
DispatchKeyFormat(iHealth, "explodemagnitude", "0");
|
||||
DispatchKeyFormat(iHealth, "explodedamage", "0");
|
||||
DispatchKeyFormat(iHealth, "disableshadows", "1");
|
||||
DispatchKeyFormat(iHealth, "disablereceiveshadows", "0");
|
||||
DispatchKeyFormat(iHealth, "disablereceiveshadows", "1");
|
||||
DispatchKeyFormat(iHealth, "damagetype", "0");
|
||||
DispatchKeyFormat(iHealth, "damagetoenablemotion", "0");
|
||||
DispatchKeyFormat(iHealth, "damagefilter", "item_spawn_human_filter");
|
||||
DispatchKeyFormat(iHealth, "model", "models/props/cs_militia/crate_extrasmallmill.mdl");
|
||||
DispatchKeyFormat(iHealth, "model", "models/player/slow/amberlyn/lotr/balrog/balrog_rafuron_hannibal.mdl");
|
||||
DispatchKeyFormat(iHealth, "OnBreak", "item_balrog_walk_%d,Kill,,0,-1", g_iCounter);
|
||||
DispatchKeyFormat(iHealth, "OnBreak", "item_balrog_roar_%d,Kill,,0,-1", g_iCounter);
|
||||
DispatchKeyFormat(iHealth, "OnBreak", "item_balrog_attack_%d,Kill,,0,-1", g_iCounter);
|
||||
@ -325,8 +320,7 @@ public void SpawnBalrog(float fOrigin[3])
|
||||
SpawnAndActivate(iHealth);
|
||||
ParentToEntity(iHealth, iKnife);
|
||||
|
||||
// make the trigger work.
|
||||
SetEntityModel(iHealth, "models/vortigaunt_slave.mdl");
|
||||
// make the physbox work.
|
||||
SetEntityBBox(iHealth, view_as<float>({-124.0, -120.0, -188.2}), view_as<float>({124.0, 120.0, 188.2}));
|
||||
SetEntitySolid(iHealth);
|
||||
SetEntityNodraw(iHealth);
|
||||
|
Loading…
Reference in New Issue
Block a user