AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D] Spawn Minigun (https://forums.alliedmods.net/showthread.php?t=87225)

antihacker 03-08-2009 13:12

[L4D] Spawn Minigun
 
2 Attachment(s)
[L4D] Spawn Minigun
Version 1.0
Spawn a Minigun where ever you want, seems to work on all maps now!
The command is sm_minigunspawn, so you can easy spawn a minigun by entering /minigunspawnor !minigunspawn in chat.
Only works with realy clients not over rcon, and with the adminflag cheats.
Please Report Bugs:up:
Commands:
sm_minigunspawn: Spawns a minigun and return its position (orgin), and entity ID.
sm_minigunrotate: <Entity ID|-1|-2> <Degree>: Rotate a minigun by a defined Degree with its entity ID, or if -1 the minigun looking at, or if -2 the last minigun created
sm_minigundelete <Entity ID|-1|-2>: Removes a mingun by its entity id, or if -1 the minigun looking at, or if -2 the last minigun created

Installation:
Just copy the spawnminigun.smx in you plugins/ directory.

Cvars:

sm_spawnminigun_version = 1.0 the Spawn Minigun Version

Credits:
Fyren for helping me alot over irc
hlstriker for this code.
Frozenology for his "Direction" Code
ednomerve for the bugfix

Changelog:
Code:

0.1 Initial Release
0.2
- Renamed sm_spawnminigun to sm_minigunspawn
- Fixed sm_minigunspawn direction bug
- Added sm_minigunlist, sm_minigunrotate, sm_minigundelet
0.3
-Added looking at minigun and last minigun created (-1,-2), as a option of sm_minigunrotate and sm_minigundelet
-Removed sm_minigunlist
1.0
-Hotfix for spawn Origin by ednomerve                                                 
1.1
-renamed sm_minigundelet to smminigundelete, thx mikeym9


ApocalypseDan 03-08-2009 14:27

Re: [L4D] Spawn Minigun
 
Going to try it out with our tank arena game type now we can add more taknks and miniguns ill let you know how it gose

antihacker 03-08-2009 14:43

Re: [L4D] Spawn Minigun
 
Do this, if you have Problems i will try to answere :)
You can change the radius of the weapon and some thing i will try out what its possible tomorrow.

ApocalypseDan 03-08-2009 14:57

Re: [L4D] Spawn Minigun
 
:cry:
Update:Sorry Could Not Get It Working Tried in chat with server set to sv cheats 1 !spawnminigun and spawnminigun and nothign happened can you shed some light is there something i am missing

server ip 83.142.49.27:28016

The JCS 03-08-2009 15:32

Re: [L4D] Spawn Minigun
 
Nice. I'd started a plugin like this, but i had no time to work on it =/
I'll test this soon

mikercool 03-08-2009 23:19

Re: [L4D] Spawn Minigun
 
What flag is needed for this to work?

This plugin barely works. Spawns only in one direction and spawns in the floor.

AcidTester 03-09-2009 01:50

Re: [L4D] Spawn Minigun
 
make this with combination l4d buildenabler that allows rotate objects.

antihacker 03-09-2009 08:28

Re: [L4D] Spawn Minigun
 
@mikercool:
1)You need the Flag "Cheats".
2)I work on this
@AcidTester:
Thanks, i will look for this plugin.


Can please some help me with the spawn location?
It would be cool if its spawn like ent_spawn, so its drops to ground at the point you aimed.

x13lade 03-09-2009 15:47

Re: [L4D] Spawn Minigun
 
Nice plugin, minigun works. The only problems right now are: Minigun can not be rotated to whatever direction you want, and the minigun is somewhat buried in the ground.
I tried to rotate the minigun with ent_rotate, but it still only let me use it from its default position. Seems like it only rotated the model image thing?.

Jay Dogg 03-09-2009 19:42

Re: [L4D] Spawn Minigun
 
This plug is buggy for sure, The minigun is half in the floor most of the time I spawn it and you cant use it about half the time for some reason anyway. And even if you use the l4d buildenabler to rotate the minigun it still only shoots the way it was pointed when you spawn it. Needs alot of work before I would put this plug back on my server again. But I sure hope antihacker keeps working on this plug cause I have been waiting for this.


All times are GMT -4. The time now is 04:26.

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