Raised This Month: $51 Target: $400
 12% 

help me


Post New Thread Reply   
 
Thread Tools Display Modes
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 01-05-2010 , 12:07   Re: help me
Reply With Quote #41

I think this solution, "change de hud.txt player is not possible"
Quote:
Originally Posted by Arkshine View Post
hud.txt is on the client's computer, you can not use a server plugin to alter a client's file.

what about this !?
http://forums.alliedmods.net/showthread.php?t=87160
, I think it does not help...

wait another variant
dFF is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-05-2010 , 12:12   Re: help me
Reply With Quote #42

Quote:
Originally Posted by Sa1MaN View Post
write_file works only with server's files right? If so it's too bad..

Here you go the plugin (it's precaching the resources) if someone needs it.
why not precaching the hud.txt too ? i dont have a hud.txt in my sprites folder yet. if this doesnt work ok then why not, if u have a fastdownload
put the file in all *.res files ? then the player got it without doing itself ;)
platzpatrone is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-05-2010 , 12:14   Re: help me
Reply With Quote #43

Quote:
Originally Posted by dFF View Post
what about this !?
http://forums.alliedmods.net/showthread.php?t=87160
, I think it does not help...
as u can see its just server sided too
platzpatrone is offline
Sa1MaN
Junior Member
Join Date: Nov 2009
Location: Moldova, Orhei
Old 01-05-2010 , 12:20   Re: help me
Reply With Quote #44

Quote:
Originally Posted by platzpatrone View Post
why not precaching the hud.txt too ? i dont have a hud.txt in my sprites folder yet. if this doesnt work ok then why not, if u have a fastdownload
put the file in all *.res files ? then the player got it without doing itself ;)
i dont have a hud.txt in my sprites folder yet - check cstrike/sprites/ again. I don't believe..
why not precaching the hud.txt too - it's possible to precache it but not overwrite if the file exists
__________________

Last edited by Sa1MaN; 01-05-2010 at 12:23.
Sa1MaN is offline
Send a message via ICQ to Sa1MaN Send a message via Yahoo to Sa1MaN Send a message via Skype™ to Sa1MaN
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-05-2010 , 12:28   Re: help me
Reply With Quote #45

If the file is not in sprites/ , it means the file is in the steam cache files ( counter-strike.cgf ). But still, you won't be able to precache since the file exists.
__________________
Arkshine is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-05-2010 , 12:31   Re: help me
Reply With Quote #46

Quote:
Originally Posted by Arkshine View Post
If the file is not in sprites/ , it means the file is in the steam cache files ( counter-strike.cgf ).
ah i see. thx
platzpatrone is offline
261869247
Member
Join Date: Nov 2009
Location: 中国
Old 01-05-2010 , 23:55   Re: help me
Reply With Quote #47

Quote:
Originally Posted by Sa1MaN View Post
Hmm plugin is working fine..
Here is a test video http://www.youtube.com/watch?v=V5D8livSQ3Q

write_file works only with server's files right? If so it's too bad..

Here you go the plugin (it's precaching the resources except hud.txt) if someone needs it.

Cvars:
nst_ek_time_kill (8, 9..) default is 8
nst_ek_sex (1 - man voice, 2 - woman voice) default is 1
nst_ek_type (1 - use image, 2 - use text) default is 1

THANK YOU
__________________


261869247 is offline
Send a message via AIM to 261869247 Send a message via MSN to 261869247
261869247
Member
Join Date: Nov 2009
Location: 中国
Old 01-05-2010 , 23:56   Re: help me
Reply With Quote #48

Quote:
Originally Posted by 261869247 View Post
THANK YOU
__________________


261869247 is offline
Send a message via AIM to 261869247 Send a message via MSN to 261869247
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-06-2010 , 07:11   Re: help me
Reply With Quote #49

Quote:
Originally Posted by Sa1MaN View Post
Hmm plugin is working fine..
Here is a test video http://www.youtube.com/watch?v=V5D8livSQ3Q

write_file works only with server's files right? If so it's too bad..

Here you go the plugin (it's precaching the resources except hud.txt) if someone needs it.

Cvars:
nst_ek_time_kill (8, 9..) default is 8
nst_ek_sex (1 - man voice, 2 - woman voice) default is 1
nst_ek_type (1 - use image, 2 - use text) default is 1
It's really idiot to do that because in-game it will not works unless you have the hud.txt modified ; it means :

- You will force people to download a lot of ressources to see nothing ;
- You will increase the precache number ( 512 is the limit ).

If the plugin doesn't precache the ressources, there is a reason.
You should provide a pack with the hud.txt modified and the ressources.


@261869247 : don't use it.
__________________
Arkshine is offline
Sa1MaN
Junior Member
Join Date: Nov 2009
Location: Moldova, Orhei
Old 01-06-2010 , 07:30   Re: help me
Reply With Quote #50

Quote:
Originally Posted by 261869247 View Post
THANK YOU
delete this lines if you don't want do force people to download useless resources for them if they don't have a modified hud.txt

PHP Code:
public plugin_precache() 
{    
    
precache_sound("misc/MultiKill/man/Grenadekill_CT.wav")
    
precache_sound("misc/MultiKill/man/Grenadekill_T.wav")
    
precache_sound("misc/MultiKill/man/Headshot_CT.wav")
    
precache_sound("misc/MultiKill/man/Headshot_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_1_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_1_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_2_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_2_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_3_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_3_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_4_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_4_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_5_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_5_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_6_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_6_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_7_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_7_T.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_8_CT.wav")
    
precache_sound("misc/MultiKill/man/MultiKill_8_T.wav")
    
precache_sound("misc/MultiKill/man/Revenge_CT.wav")
    
precache_sound("misc/MultiKill/man/Revenge_T.wav")
    
precache_sound("misc/MultiKill/woman/Grenadekill_CT.wav")
    
precache_sound("misc/MultiKill/woman/Grenadekill_T.wav")
    
precache_sound("misc/MultiKill/woman/Headshot_CT.wav")
    
precache_sound("misc/MultiKill/woman/Headshot_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_1_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_1_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_2_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_2_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_3_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_3_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_4_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_4_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_5_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_5_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_6_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_6_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_7_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_7_T.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_8_CT.wav")
    
precache_sound("misc/MultiKill/woman/MultiKill_8_T.wav")
    
precache_sound("misc/MultiKill/woman/Revenge_CT.wav")
    
precache_sound("misc/MultiKill/woman/Revenge_T.wav")
    
precache_model("sprites/Mark/c4_defuse.spr")
    
precache_model("sprites/Mark/c4_set.spr")
    
precache_model("sprites/Mark/kill_1.spr")
    
precache_model("sprites/Mark/kill_2.spr")
    
precache_model("sprites/Mark/kill_3.spr")
    
precache_model("sprites/Mark/kill_4.spr")
    
precache_model("sprites/Mark/kill_5.spr")
    
precache_model("sprites/Mark/kill_6.spr")
    
precache_model("sprites/Mark/kill_7.spr")
    
precache_model("sprites/Mark/kill_8.spr")
    
precache_model("sprites/Mark/kill_first.spr")
    
precache_model("sprites/Mark/kill_he.spr")
    
precache_model("sprites/Mark/kill_headshot.spr")
    
precache_model("sprites/Mark/kill_knife.spr")
    
precache_model("sprites/Mark/kill_last.spr")
    
precache_model("sprites/Mark/kill_revenge.spr")
    
precache_model("sprites/Mark/wall_shot.spr")
    
precache_model("sprites/Mark/wall_shot_hs.spr")

Quote:
Originally Posted by Arkshine View Post
You should provide a pack with the hud.txt modified and the ressources.
hud.txt is included in the pack, but not in the precache list
__________________

Last edited by Sa1MaN; 01-06-2010 at 07:34.
Sa1MaN is offline
Send a message via ICQ to Sa1MaN Send a message via Yahoo to Sa1MaN Send a message via Skype™ to Sa1MaN
Old 01-06-2010, 07:32
Sa1MaN
This message has been deleted by Sa1MaN. Reason: dp
Reply



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 02:53.


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