send custom files from server to client

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
blood01
Private
Posts: 5
Joined: Mon Dec 22, 2003 10:44 pm

send custom files from server to client

Post by blood01 »

Hello everybody,

I made a little mod with custom colors for the smoke grenade. I just changed the colors of the dds files (hrpuffnstuff_allied.dds, hrpuffnstuff_german.dds...etc..etc). If I start a server, the clients, when they launch a smoke grenade, have the original colors for the smoke.

Is there a way to send this mod automaticaly when they connect to my server?

thank a lot...

bld01
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

another way you can change the color of the smoke is to copy models/projectiles/m18_smoke_grenade.txt and tweak that and I think it will be serverside
originemitter smoke
(
spawnrate 30
model smokegrenade_allied.spr
color 1 1 1 <------------------------------
spritegridlighting
alpha .85
bouncefactor 0.8
life 2.25 3.5
scalerate .8
velocity 24
randvelaxis crandom 4 crandom 4 4
spin 0.133
angles 0 0 random 360
avelocity 0 0 crandom 20
scalemin 0.1
scalemax 0.25
fadedelay 2
fadein 0.25
)
Image
Post Reply