mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 21:02:14 +00:00
SERVER: Make instances of lightning.spr FULLBRIGHT
This commit is contained in:
parent
1138c79519
commit
dfd5e6787e
3 changed files with 3 additions and 0 deletions
|
@ -403,6 +403,7 @@ void(entity where) spawn_dog_lightning =
|
||||||
dogsprite = spawn();
|
dogsprite = spawn();
|
||||||
setmodel(dogsprite, "models/sprites/lightning.spr");
|
setmodel(dogsprite, "models/sprites/lightning.spr");
|
||||||
setorigin(dogsprite, where.origin);
|
setorigin(dogsprite, where.origin);
|
||||||
|
dogsprite.effects = EF_FULLBRIGHT;
|
||||||
dogsprite.owner = where;
|
dogsprite.owner = where;
|
||||||
dogsprite.think = dogsprite_think;
|
dogsprite.think = dogsprite_think;
|
||||||
dogsprite.nextthink = time + 0.05;
|
dogsprite.nextthink = time + 0.05;
|
||||||
|
|
|
@ -150,6 +150,7 @@ void(vector where, float time_alive) SpawnSpark =
|
||||||
entity spark = spawn();
|
entity spark = spawn();
|
||||||
setmodel(spark, "models/sprites/lightning.spr");
|
setmodel(spark, "models/sprites/lightning.spr");
|
||||||
setorigin(spark, where);
|
setorigin(spark, where);
|
||||||
|
spark.effects = EF_FULLBRIGHT;
|
||||||
spark.think = SparkThink;
|
spark.think = SparkThink;
|
||||||
spark.nextthink = time + 0.05;
|
spark.nextthink = time + 0.05;
|
||||||
spark.ltime = time + time_alive;
|
spark.ltime = time + time_alive;
|
||||||
|
|
|
@ -49,6 +49,7 @@ void(vector pos) tesla_spark = {
|
||||||
local entity lightning = spawn();
|
local entity lightning = spawn();
|
||||||
setmodel(lightning, "models/sprites/lightning.spr");
|
setmodel(lightning, "models/sprites/lightning.spr");
|
||||||
setorigin(lightning, pos);
|
setorigin(lightning, pos);
|
||||||
|
lightning.effects = EF_FULLBRIGHT;
|
||||||
lightning.think = tesla_spark_think;
|
lightning.think = tesla_spark_think;
|
||||||
lightning.nextthink = time + 0.05;
|
lightning.nextthink = time + 0.05;
|
||||||
lightning.ltime = time + 1;
|
lightning.ltime = time + 1;
|
||||||
|
|
Loading…
Reference in a new issue