https://github.com/Neyami/Custom-Weapons
Same thing here, unknown if it's the latest for the moment.
1 messages · Page 1 of 1 (latest)
https://github.com/Neyami/Custom-Weapons
Same thing here, unknown if it's the latest for the moment.
Excellent work
Say, do you know who created the RTCW weapons? I would love to see those added also
Yes, loved it very much, I think it's on one of those Misfire servers
The FG-42 and the knife are good weapons too
Judging by the tag, are there server plugin versions of this thing?
Nah, you're supposed to include the script files in the buymenu script and use the register functions
There should be a buymenu script somewhere 
https://github.com/Ecco-SC/Ecco this one maybe? 
Without a plugin like that you'll have to use the give command to get the weapons
Or .player_give @me weapon_redeemer if using afbase
In that way, I get to bypass the annoying map_script limit?
But anyways, I'll try what you said
Added RC Apache
https://youtu.be/GMQKREr5uEU
Ok, that was funny. What I find interesting is that the Apache has some decent amounts of health and none of the enemies are targeting it.
Offtopic: Another thought has entered my mind. Could it be possible to create a controllable monster, just like in the Rocket Crowbar mod?
I was actually working on porting the RC mod to sven, but I didn't get far with the controllable npcs 
If the source code for Rocket Crowbar 19 and/or 20 was available this would get finished soooooo much faster! ;;_;;
IF ANYONE COULD GIVE ME THE SOURCE CODE TO ROCKET CROWBAR 19 AND/OR 20 THAT WOULD BE SO GREAT! ❤️❤️
That mod has some fun weapons, pity the source code isn't available :[
This is great! Brings back the good old memories! Keep it up!
Added M16A2 from Firearms.
Hey @marble steppe how do you register the Apache?
The same as any other; apacheweapon::Register();
Oh and the weapon_apache.txt goes into sprites\custom_weapons\hl_npc
Thanks!
Ohh, my favourite, thanks nero! man I wish someone would make full HL:WE and Firearms 3.0 weapons plugin for Sven Co-op just like KernCore's INS2 Weapons Plugin, but scripting all of them are not easy, which is understandable. Either way, thanks nero!
BTW, I don't know about register commands, etc., How do we use them?
I was gonna test that once, but then I had a lot of work to do
Help would be very appericiated.
@knotty kettle https://github.com/Neyami/Custom-Weapons/blob/main/!Custom-Weapons-Plugin/scripts/plugins/custom_weapons.as
Use this plugin.
Alright.
It worked, TYSM!
One more question, can I use the same method to use the weapons from your Quake 2 Weapons Pack?
Yeah I made a plugin for that too somewhere 
I am still trying the same method on it, but it keeps giving me errors, here's how it looks like in my logs :
My custom weapons file :
Wait a minute, how did you even update it so fast LOL
Yeah you need to include the items.as script as well
Was about to say that.
And ammo
I was like "why it feels like it's less than it should be?"
I'll try including those two
I'll report back the results
And projectiles 
Oh my lord, anyways I'll try adding that too
Wasn't expecting common.as to be required too
Exactly
You'll probably also need the functions void q2_CreatePelletDecals and void q2_CreateShotgunPelletDecals
At the bottom
The q2 weapons were made as a map script, and I just threw together the plugin. Should probably clean everything up some day 
No wonder why this feels like doing a brain surgery LOL
At least this means I am progressing
Just when I decided to fire it, the server crashed
It was like BFG was charging up to blast the server (sorry for the terrible joke)
Oh yeah, gotta register the projectiles and ammo too 
q2_RegisterProjectiles(); q2_RegisterAmmo();
It's probably easier if you just use the quake 2 plugin and put the redeemer stuff in there 
And remove the weapons you don't want
That oughta do it 
Well, they were already registered
That's the scary part
This is correct, right?
I wonder if they're case sensitive
Yupyup, yeah case sensitive
Case sensitive...
There is nothing wrong there either
As a last resort, I'll just switch to the one you sent to me
Well, it's the same error, the server crashes because quake2/laser.mdl is not precached
Oh yeah
You're just using the bfg
laser.mdl gets precached in the blaster script for some reason 
Put
g_Game.PrecacheModel( "models/quake2/laser.mdl" );
in the bfg script then
Alright, 2 sec
IT WORKED!
BTW, there is a small issue
BFG is hidden from HUD, is that easy to fix?
The projectile has a small issue with having too much yellow spawn particles, these two aren't gamebreaking but still a bit annoying
Hidden from hud? 
Oh 
Check bool GetItemInfo in the bfg script. Maybe
info.iSlot info.iPosition
Are using the same values as another weapon
otherwise ¯_(ツ)_/¯
Fixed it
Yellow spawn particles is superficial, but would be nice to fix, actually, I am asking for way too much : - )
Still, THANKYOUTHANKYOUTHANKYOUTHANKYOU- alright that was enough
damn How great of you to use ecco plugin. I can't even get it to work. I'm just using the buymenu system that solokiller coded (similar to KernCore's weapon projects buymenu system)
It's a bit complicated to set Ecco up, but in the end it was worth it. What kind of problems are you having? Might be able to help.
This is off-topic now so we should talk about it in #server-operators or #tech-support
I happened to make it work, but when i shoot enemies, money doesn't goes up
Oh
You can remove them by editing projectiles.as
in
class projectile_q2bfg
https://github.com/Neyami/SvenQuake2/blob/e9328b2a27a4590d4d163b6e379ecb67e1448c8b/scripts/maps/quake2/weapons/projectiles.as#L407
Will look at it, ty.
Removing
self.pev.effects |= EF_BRIGHTFIELD;
Should do it
Sorry for late reply, but that worked too, TYSM once again, now the BFG is 100% functioning. I'm glad people like you exist, no wonder why this game is afloat even after almost 25 years
I forgot to mention, I also learned how to make other map scripts act as plugins thanks to you, you just helped someone A LOT.
I didn't know about register commands, etc. until now
I wish I could somehow help you back, anyways, have a good day
You could get magical powers and heal my eyes and head! 
what's wrong with them
||I haven't been able to use a computer properly or read a book or even short texts without debilitating symptoms for the past 5 years, and no one knows why because I live in a cuntry without proper healthcare (Sweden)
||
USA? From what I've heard its pretty bad
Nah Sweden
Can't seem to be able to add these on a map, not through a plugin 😦
i'm only trying to add the biorifle and redeemer
It seems I uploaded an old version of the script, now that I finally have access to my PC again I can see that 