General > Developers Corner

[SOLVED] FastDL for an addon

<< < (2/2)

emilhem:
I've done that already...

The fastdl already works for the addons that have it built in. Like some wiremod stuff. I want to make this one weaponpack's models (it's not a .GMA file! It's a legacy addon.) get sent to the client when he joins.

My fastdl link: http://gangnamstylegaming.com/fastdl/


--- Quote from: nathan736 on December 29, 2012, 03:26:20 PM ---Ps: why would you do it anyways

--- End quote ---
Because people doesn't want to run around with errors as weapons.  ::)

nathan736:
emilhem you are going to need to do the following
1) shift all models and what not that  the addon uses to the normal dir
2)add resource files so fast dl will work
3) tell me when you got this all done

Ps: legacy addons are not much different from normal things you would add to a server

Pss: wire mod works in the addon folder because its assuming the users must have it for it to work.

emilhem:
This is what I did:
I added resource.AddFile( [filenamehere] ) for every single file I wanted to add. (Helpful link: http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexf8be.html)
The files such as model files, sound files, etc were already fixed on the fastdl server.

Now everything is working.

Updated topic title to solved.

Navigation

[0] Message Index

[*] Previous page

Go to full version