I thought that too.
It turns out, you click left mouse for light attacks, and hold it for heavy attacks.
[QUOTE=noobcake;28077021]I thought that too.
It turns out, you click left mouse for light attacks, and hold it for heavy attacks.[/QUOTE]
Yes, I'm afraid I removed the right-click function a while ago. I changed it to debug but have since removed that too. My bad.
I'll get on fixing the textures.
The only thing somewhat weird with it is that it is left-handed.
Okay, the texture's are finally working, I've seen them for the first time myself and I must say, they're awesome! Thanks 017!
Just take all the old files out of materials/models/weapons and replace them with these.
I tested this. This is what happened in the GMod console:
[code]Giving supervoltage a weapon_fl_jgcxsword
POWER ATTACK
POWER ATTACK
POWER ATTACK
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_02.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_03.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_03.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_01.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_03.wav", file probably missing from disk/repository
POWER ATTACK
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_01.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_03.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_03.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_02.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "melee_katana_03.wav", file probably missing from disk/repository
NPC undone
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "axe_impact_world2.wav", file probably missing from disk/repository
Failed to load sound "axe_impact_world1.wav", file probably missing from disk/repository
Failed to load sound "axe_impact_world2.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "axe_impact_world2.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "axe_impact_world2.wav", file probably missing from disk/repository
Failed to load sound "axe_impact_world2.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "axe_impact_world1.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Failed to load sound "axe_impact_world2.wav", file probably missing from disk/repository
Failed to load sound "axe_impact_world2.wav", file probably missing from disk/repository
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword\lua\weapons\weapon_fl_meleebase\shared.lua:861] attempt to index local 'wepmatstat' (a nil value)
Timer Error: [addons\jgcxsword
[QUOTE=supervoltage;28134140]I tested this. This is what happened in the GMod console:
[code]Giving supervoltage a weapon_fl_jgcxsword
[Wall of errors]
Loads of errors.. I tried to hit the NPC but it didn't react at all. He didn't even lose life. I tried hitting a prop. It didn't even budge.[/QUOTE]
Are you sure your data files are in the right place? They must go in garrysmod/garrysmod/data to work. Otherwise the sword can't find material data on the object it's hitting and thus can't calculate damage.
Also, I noticed that the sounds weren't working. I'll upload those when I get a chance.
[QUOTE=JgcxCub;28144671]Are you sure your data files are in the right place? They must go in garrysmod/garrysmod/data to work. Otherwise the sword can't find material data on the object it's hitting and thus can't calculate damage.
Also, I noticed that the sounds weren't working. I'll upload those when I get a chance.[/QUOTE]
Duh.. I didn't put it in the right place.. I just put "jgcxsword" in addons. The one with the "INFO.txt" file inside.
[QUOTE=supervoltage;28144694]Duh.. I didn't put it in the right place.. I just put "jgcxsword" in addons. The one with the "INFO.txt" file inside.[/QUOTE]
There's a data file in the SVN trunk. You need that for the addon to work.
Do you think it would be possible to make it so the data file creates itself?
I know lua can create folders to put things inside but I'm not sure about an entire file...
It is technically possible, but I'd assume he hasn't done it that way for a good reason.
[QUOTE=Chris220;28164230]It is technically possible, but I'd assume he hasn't done it that way for a good reason.[/QUOTE]
Yes, this is going to be part of a gamemode which would install the data files itself. I had to acquaint myself with them first (that is, reading data from them etc)
Alrighty.
I updated :smile:
- Sounds should be working now, I uploaded them. Check out the sound folder in the svn (and put it in the right place)
- Couple of fixes to the code.
:siren:Remember to put the data files in [I]garrysmod/garrysmod/data/falloutmod[/I], otherwise the weapon will not work:siren:
The swords v_model or whatever, the hands seem to be out a little far and you can see the back of the hand models. Is this normal, or is it just some conflicting addon?
[QUOTE=Keelwar;28330781]The swords v_model or whatever, the hands seem to be out a little far and you can see the back of the hand models. Is this normal, or is it just some conflicting addon?[/QUOTE]
I'm not sure if this is normal. Do you think you could put a screenshot of it up?
This. Is. awesome.
[QUOTE=DesumThePanda;28332971]This. Is. awesome.[/QUOTE]
:smile: You're welcome!
Okay, I'll try. My computer is screwy when it comes to screenshots.
[QUOTE=Keelwar;28330781]The swords v_model or whatever, the hands seem to be out a little far and you can see the back of the hand models. Is this normal, or is it just some conflicting addon?[/QUOTE]
Did you change the FOV?
Sorry, you need to Log In to post a reply to this thread.