Raised This Month: $ Target: $400
 0% 

forcing dl models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
s.w.a.t
Member
Join Date: Apr 2004
Old 09-07-2005 , 19:34   forcing dl models
Reply With Quote #1

/*
* Plugin for sounds precache
*/

#include <amxmodx>

public plugin_precache(){
precache_sound( "misc/impressive.wav")
precache_sound( "misc/headshot.wav")
precache_sound( "misc/multikill.wav")
precache_sound( "misc/doublekill.wav")
precache_sound( "misc/godlike.wav")
precache_sound( "misc/ultrakill.wav")
precache_sound( "misc/killingspree.wav")
precache_sound( "misc/rampage.wav")
precache_sound( "misc/unstoppable.wav")
precache_sound( "misc/monsterkill.wav")
precache_sound( "misc/humiliation.wav")
precache_sound("misc/knockedout.wav")
precache_sound( "misc/firstblood.wav" )
precache_sound( "misc/maytheforce.wav" )
precache_sound( "misc/oneandonly.wav" )
precache_sound( "misc/prepare.wav" )
precache_sound( "misc/oneandonly.wav" )
precache_model("models/player/gign/gign.mdl")
precache_model("models/player/sas/sas.mdl")
precache_model("models/player/gsg9/gsg9.mdl")
precache_model("models/player/urban/urban.mdl")
precache_model("models/player/arctic/arctic.mdl")
precache_model("models/player/leet/leet.mdl")
precache_model("models/player/guerilla/guerilla.mdl")
precache_model("models/player/terror/terror.mdl")
precache_model("models/player/vip/vip.mdl")

return PLUGIN_CONTINUE
}

public plugin_init() {
register_plugin("Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team")


this should make clients dl old cs models upon entering server right? if not what do i need to change...
s.w.a.t is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-07-2005 , 22:57  
Reply With Quote #2

You can't make clients download a file that they already have.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
s.w.a.t
Member
Join Date: Apr 2004
Old 09-07-2005 , 23:10  
Reply With Quote #3

i know but i tested this wihtout having any fiels setup it should precache the models and dl if no file is found right?
s.w.a.t is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-08-2005 , 01:17  
Reply With Quote #4

It should, except that models/player/gign/gign.mdl already exists in the Steam game cache so it won't download anything.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
s.w.a.t
Member
Join Date: Apr 2004
Old 09-08-2005 , 07:09  
Reply With Quote #5

any ways to bypass the steam cache or something dunno what the possiblilites are
s.w.a.t is offline
{NM}Jason
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Texas
Old 09-08-2005 , 07:16  
Reply With Quote #6

use the model Replacement Tech found On the Fourms it alliows you to change the model on perty much anything ..
__________________
http://forums.alliedmods.net/showthr...396#post451396
Quote:
Originally Posted by BAILOPAN View Post
Shortly after posting that image, Jason crushed the truck into a ball with his hands, and tossed it over his shoulder.
{NM}Jason is offline
Send a message via ICQ to {NM}Jason Send a message via AIM to {NM}Jason Send a message via MSN to {NM}Jason Send a message via Yahoo to {NM}Jason
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-08-2005 , 15:14  
Reply With Quote #7

Quote:
Originally Posted by s.w.a.t
any ways to bypass the steam cache
No.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode