mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-21 11:21: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();
|
||||
setmodel(dogsprite, "models/sprites/lightning.spr");
|
||||
setorigin(dogsprite, where.origin);
|
||||
dogsprite.effects = EF_FULLBRIGHT;
|
||||
dogsprite.owner = where;
|
||||
dogsprite.think = dogsprite_think;
|
||||
dogsprite.nextthink = time + 0.05;
|
||||
|
|
|
@ -150,6 +150,7 @@ void(vector where, float time_alive) SpawnSpark =
|
|||
entity spark = spawn();
|
||||
setmodel(spark, "models/sprites/lightning.spr");
|
||||
setorigin(spark, where);
|
||||
spark.effects = EF_FULLBRIGHT;
|
||||
spark.think = SparkThink;
|
||||
spark.nextthink = time + 0.05;
|
||||
spark.ltime = time + time_alive;
|
||||
|
|
|
@ -49,6 +49,7 @@ void(vector pos) tesla_spark = {
|
|||
local entity lightning = spawn();
|
||||
setmodel(lightning, "models/sprites/lightning.spr");
|
||||
setorigin(lightning, pos);
|
||||
lightning.effects = EF_FULLBRIGHT;
|
||||
lightning.think = tesla_spark_think;
|
||||
lightning.nextthink = time + 0.05;
|
||||
lightning.ltime = time + 1;
|
||||
|
|
Loading…
Reference in a new issue