AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Submissions (https://forums.alliedmods.net/forumdisplay.php?f=35)
-   -   Hero: Longshot (https://forums.alliedmods.net/showthread.php?t=30101)

AssKicR 07-18-2004 08:26

Hero: Longshot
 
1 Attachment(s)
http://asskicr.calzinger.net/superhe...s/Longshot.JPG

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

joker_102877 09-27-2004 13:38

This plugin does not work with AMX 0.9.9. Is there a newer version that does work?

jtp10181 09-27-2004 17:15

NO, not yet

Furonem 05-01-2005 14:49

Does this work on AMXx? It isn't working on my server.

nightscreem 05-01-2005 14:56

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

Furonem 05-01-2005 15:14

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.

vittu 05-01-2005 17:00

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...

Furonem 05-01-2005 18:01

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?

guy 05-01-2005 20:06

all heroes have the lvl cvar

imported_goldfish 05-31-2005 19:53

they are both amx versions not amxx


All times are GMT -4. The time now is 02:36.

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