Raised This Month: $159 Target: $400
 39% 

Hero: Longshot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 07-18-2004 , 09:26   Hero: Longshot
Reply With Quote #1



Description:
Throwing Knives - Knife must be equipped

Cvars:
longshot_knifeammo # = How many knives does he have (def=30)
longshot_throwforce = Force of knives throw (def=1000)
longshot_cooldown = How long must between each thrown knife (def=0.25)
longshot_knifedmg = How much damage does a knife do (def=25)
longshot_knifebuy = Can he buy more knives (def=1)
longshot_knifecost = Cost of more knives (def=250)
longshot_knifesinpack = How many knives in a pack he buys (def=10)

Commands:
buyknife = Buy More Knives
Use+Attack = Throw a knife (also +power#)
Reload=Drop Knives

GOOD HERO COMBOS:
Longshot+Poison Ivy=Poison Throwing Knives
Longshot+Dracula=Leaching Throwing Knives
Longshot+Blade=Silver Throwing Knives
Longshot vs ShangChi=50%damage & Knife thrown back
Longshot vs Hero In Godmode = No damage

AMX Download: Here
AMXX Download: Attached
Attached Files
File Type: zip sh_longshot.zip (61.5 KB, 3262 views)
__________________
My Plugins

Got ??
AssKicR is offline
joker_102877
Junior Member
Join Date: Sep 2004
Old 09-27-2004 , 14:38  
Reply With Quote #2

This plugin does not work with AMX 0.9.9. Is there a newer version that does work?
joker_102877 is offline
Send a message via Yahoo to joker_102877
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-27-2004 , 18:15  
Reply With Quote #3

NO, not yet
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Furonem
Junior Member
Join Date: Apr 2005
Old 05-01-2005 , 15:49  
Reply With Quote #4

Does this work on AMXx? It isn't working on my server.
Furonem is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-01-2005 , 15:56  
Reply With Quote #5

it should but are you sure you are running the
engine, fun, cstrike module if you don't have the cstrike module
dl the cstrike addon package from www.amxmodx.org/downloads.php
__________________
- Bye bye!
nightscreem is offline
Furonem
Junior Member
Join Date: Apr 2005
Old 05-01-2005 , 16:14  
Reply With Quote #6

I have all that stuff. When I try to compile the sma, this is what i get:
Code:
//AMXXSC compile.exe
// by the AMX Mod X Dev Team


//// sh_longshot.sma
// C:\Program Files\Valve\Steam\SteamApps\ermine92\condition zero\czero\addons\a
mxmodx\scripting\sh_longshot.sma(132) : warning 213: tag mismatch
// C:\Program Files\Valve\Steam\SteamApps\ermine92\condition zero\czero\addons\a
mxmodx\scripting\sh_longshot.sma(153) : warning 213: tag mismatch
//
// 2 Warnings.
// Done.
//
// Compilation Time: 0.45 sec
// ----------------------------------------

Press enter to exit ...
Then, when I play, it won't let anyone access the buy menu and no one can pick anything up. An error message gets repeated in the console, but I forgot what it said.
Furonem is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-01-2005 , 18:00  
Reply With Quote #7

Compile using the amx version because the code uses vexd, amxmodx will forward the vexd natives correctly to engine... don't forget to put the models in the models folder...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Furonem
Junior Member
Join Date: Apr 2005
Old 05-01-2005 , 19:01  
Reply With Quote #8

Quote:
Originally Posted by vittu
Compile using the amx version because the code uses vexd, amxmodx will forward the vexd natives correctly to engine... don't forget to put the models in the models folder...
That seemed to work, I can actually buy weapons and pick things up. The power seems to work fine. I'm still getting the error report in the console though. It just keeps repeating.

Code:
L 05/01/2005 - 16:39:24: [ENGINE] Invalid player 0 (not in-game)
L 05/01/2005 - 16:39:24: [AMXX] To enable debug mode, add " debug" after the plugin
name in plugins.ini (without quotes).
L 05/01/2005 - 16:39:24: [AMXX] Run time error 10 (native) (plugin "sh_longshot.amxx")
- debug not enabled.
Also, what model(s) should I use? The AMX d/l comes with only "w_throwknife.mdl (291 KB)" and the AMXX one comes with "w_knifepack.mdl (47 KB)" and "w_throwknife.mdl (34 KB)". I had the two AMXX ones in my models folder, then I put the "w_throwknife.mdl (291 KB)" instead of "w_throwknife.mdl (34 KB)" when you told me to use the AMX d/l, but I left the "w_knifepack.mdl (47 KB)" in there. Why does AMXX come with 2 models and AMX only come with 1 (big) one. If you understood that, thanks.

Lastly, there is a "longshot_level" cvar, right?
Furonem is offline
guy
Senior Member
Join Date: Apr 2005
Old 05-01-2005 , 21:06  
Reply With Quote #9

all heroes have the lvl cvar
guy is offline
imported_goldfish
Senior Member
Join Date: May 2005
Old 05-31-2005 , 20:53  
Reply With Quote #10

they are both amx versions not amxx
imported_goldfish is offline
Send a message via AIM to imported_goldfish Send a message via MSN to imported_goldfish
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 02:22.


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