need help with custom dday smoke

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

need help with custom dday smoke

Post by small_sumo »

Ok the fx dday smoke is the one I wantbut you cannot angle it in radient you need to write a new tik. Please tell me how to make the smoke go 180 deg the other way (from overview). The smoke heads towards zero.

Thanks guys.


TIKI
setup
{
scale 1.0
path models/fx/dummy
skelmodel dummy3.skd
}

init
{
server
{
classname effectentity
notsolid
rendereffects +dontdraw
}
client
{
cache vsssource.spr

originemitter firesmoke
(
model vsssource.spr
count 1
alpha 0.4
color 0.2 0.23 0.26
scale 4.00
life 85.00
spawnrate 2.00
scalerate 0.60
velocity 85.00
accel 16.00 0.00 4.00
offset crandom 128 crandom 64 random -32
offsetalongaxis crandom 128 crandom 64 -32
randvel crandom 64 crandom 64 0
fade
)
}
}

animations
{
idle dummy3.skc
}

/*QUAKED fx_smoke_ddaysmoke (0.0 0.5 0.5) (-8 -8 -8) (8 8 8)
Smoke from a burning pile of rubble.
Does collide.
*/
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Setting an angles key in radiant should do the job :?
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Thats the thing bro it doesnt do a thing. Thing too many times lol.

Could you please at least give me your best guess?
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I think this line may be the culprit:

accel 16.00 0.00 4.00

That could cause a 16 units/s^2 acceleration along the x-axis and 4 along the z-axis. Try changing it to:

accel -16.00 0.00 4.00
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Yes thats it, I changed 16 to -16.

Thanks
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Post Reply