Madfox wrote:The nail functions are doubled and make to many calls.
While compiling I get the statement:
commen player.qc : 311 : warning : too many parameters on call to W_FireSuperSpikes
Its not that it is making too many calls, its that you don't have an upgraded W_FireSuperSpikes. (weapons.qc) The variables it takes allow for the offsetting of the nails to fit with the supernailgun models firing frames. Note that the v_nail2.mdl supplied with the mod has some extra frames used for making the SNG more..."Chaingunny".
Remember I mentioned that I built this on a modified gpl codebase. (actually I was upgrading it to my own specifications with the endgoal in mind of using it with with q2bsp in FTEQW) You can find some of the changes I made noted in the changelog file.
You shouldn't need to implement the nailgun / supernailgun mods for the serpent, unless you really want to.
Note that in the mad_serp qc, nails do 15 damage and travel at 2x the speed of a rocket regardless of NG or SNG. SNG only eats 1 nail per shot, but can spin up to 1200 RPM (2x the normal fire rate of 600RPM for Nailgun...Which isn't set properly because I was testing something.)
As far as the "trigger in clipping list" error, I don't think the SNG is causing the problem, as there isn't anything in that part of the code that changes solid type to SOLID_TRIGGER. Rather I think it probably has to do with the "transform into quad damage item" death of the serpent. I haven't run into this problem myself in FTEQW, but I'll look into it soon with those other engines, assuming I can find a linux version...
Fun side note: NG / SNG are actually the second worst weapons in the quake roster IMO. While on paper doing more damage per second than the shotguns, the incredibly slow projectiles coupled with a max capacity of only 200 nails means that the nailguns peak at 1800 potential damage (thats if you don't miss, and miss you will), whereas the shotguns are capable of 2400, the rockets somewhere around 12000 give or take, and the cells 3000.
EDIT: I can confirm this error occurs with QuakeSpasm-Spiked 0.93.1, and it doesn't just happen with the SNG either. Definitely a problem with the "transform into quad damage item" death. I dunno whats going wrong here, as FTEQW has absolutely no problem with this, but I don't wanna say that its a problem with QSS either. I'll see if I can isolate this issue and fix it.
