Ссылка на Сообщение
#1
28.3.2010, 10:12
watermelon suprise
This watermelon surprise spawns a watermelon and after about 1 - 5 seconds, it flies around the entire map killing everyone that touches it. GIVE IT A TRY.
***SV_CHEATS 1 REQUIRED***
save code into notepad and save as cfg named "watermelon.cfg" Place file into cfg folder and go into game. Open console and: Bind "(key)" "exec watermelon"
Go set some traps.
(SET ABOUT 5 RECOMENDED)
NOTE: YOU WILL ALSO GET KILLED IF IT TOUCHES YOU
This watermelon surprise spawns a watermelon and after about 1 - 5 seconds, it flies around the entire map killing everyone that touches it. GIVE IT A TRY.
***SV_CHEATS 1 REQUIRED***
save code into notepad and save as cfg named "watermelon.cfg" Place file into cfg folder and go into game. Open console and: Bind "(key)" "exec watermelon"
Go set some traps.
(SET ABOUT 5 RECOMENDED)
NOTE: YOU WILL ALSO GET KILLED IF IT TOUCHES YOU
CODE
wait
wait
ent_setname sp
ent_fire sp color 255
ent_fire sp addoutput "rendermode 1"
ent_fire sp alpha 225
ent_fire sp addoutput "max_health 9999999"
ent_fire sp sethealth 9999999
ent_fire sp addoutput "onhealthchanged spark,sparkonce"
ent_create env_spark
ent_fire env_spark addoutput "targetname spark"
ent_fire env_spark addoutput "magnitude 8"
ent_fire env_spark setparent sp
ent_Create env_explosion
ent_fire env_explosion addoutput "targetname ex1"
ent_fire env_explosion addoutput "iradiusoverride 400"
ent_Fire env_explosion addoutput "imagnitude 100"
ent_fire env_explosion setparent sp
ent_fire env_explosion addoutput "spawnflags 2"
ent_create env_smokestack
ent_fire env_smokestack addoutput "Targetname ssred"
ent_fire ssred addoutput "rendercolor 255 0 0"
ent_fire ssred addoutput "renderamt 255"
ent_fire ssred addoutput "Twist 10"
ent_fire ssred addoutput "BaseSpread 7"
ent_fire ssred addoutput "SpreadSpeed 10"
ent_fire ssred addoutput "speed 200"
ent_fire ssred addoutput "StartSize 3"
ent_fire ssred addoutput "EndSize 4"
ent_fire ssred addoutput "rate 125"
ent_fire ssred addoutput "JetLength 100"
ent_fire ssred addoutput "SmokeMaterial sprites/light_glow02_add_noz"
ent_fire ssred turnon
echo SMOKESTACKS ARE SS(COLOR)
ent_fire ssred setparent sp
give logic_timer
ent_fire logic_timer refiretime 5
ent_fire logic_timer addoutput "ontimer ex1,explode"
ent_fire logic_timer addoutput "ontimer ex1,explode,.5,.5"
ent_fire logic_timer addoutput "ontimer ex1,explode,1,1"
ent_fire logic_timer addoutput "ontimer ex1,explode,1.8,1.8"
ent_fire logic_timer addoutput "ontimer ex1,explode,2.5,2.5"
ent_fire logic_timer addoutput "ontimer ex1,explode",3,3"
ent_fire logic_timer addoutput "ontimer ex1,explode,4.5,4.5"
ent_fire logic_timer addoutput "ontimer ex1,explode,4.6,2.6"
wait
ent_setname sp
ent_fire sp color 255
ent_fire sp addoutput "rendermode 1"
ent_fire sp alpha 225
ent_fire sp addoutput "max_health 9999999"
ent_fire sp sethealth 9999999
ent_fire sp addoutput "onhealthchanged spark,sparkonce"
ent_create env_spark
ent_fire env_spark addoutput "targetname spark"
ent_fire env_spark addoutput "magnitude 8"
ent_fire env_spark setparent sp
ent_Create env_explosion
ent_fire env_explosion addoutput "targetname ex1"
ent_fire env_explosion addoutput "iradiusoverride 400"
ent_Fire env_explosion addoutput "imagnitude 100"
ent_fire env_explosion setparent sp
ent_fire env_explosion addoutput "spawnflags 2"
ent_create env_smokestack
ent_fire env_smokestack addoutput "Targetname ssred"
ent_fire ssred addoutput "rendercolor 255 0 0"
ent_fire ssred addoutput "renderamt 255"
ent_fire ssred addoutput "Twist 10"
ent_fire ssred addoutput "BaseSpread 7"
ent_fire ssred addoutput "SpreadSpeed 10"
ent_fire ssred addoutput "speed 200"
ent_fire ssred addoutput "StartSize 3"
ent_fire ssred addoutput "EndSize 4"
ent_fire ssred addoutput "rate 125"
ent_fire ssred addoutput "JetLength 100"
ent_fire ssred addoutput "SmokeMaterial sprites/light_glow02_add_noz"
ent_fire ssred turnon
echo SMOKESTACKS ARE SS(COLOR)
ent_fire ssred setparent sp
give logic_timer
ent_fire logic_timer refiretime 5
ent_fire logic_timer addoutput "ontimer ex1,explode"
ent_fire logic_timer addoutput "ontimer ex1,explode,.5,.5"
ent_fire logic_timer addoutput "ontimer ex1,explode,1,1"
ent_fire logic_timer addoutput "ontimer ex1,explode,1.8,1.8"
ent_fire logic_timer addoutput "ontimer ex1,explode,2.5,2.5"
ent_fire logic_timer addoutput "ontimer ex1,explode",3,3"
ent_fire logic_timer addoutput "ontimer ex1,explode,4.5,4.5"
ent_fire logic_timer addoutput "ontimer ex1,explode,4.6,2.6"