Raised This Month: $94 Target: $400
 23% 

GunShop Creater


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   The Specialists        Category:   Fun Stuff        Approver:   twistedeuphoria (82)
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-06-2005 , 21:28   GunShop Creater
Reply With Quote #1

This plugin requires the Xeno Core.
http://forums.alliedmods.net/showthread.php?t=15838
Requires:
xeno_core
xeno_save

This plugin allows the user to create permanent gun spawns.

Makes a gun. Outputs the slot of the gun into console
xen_make_gun <gunId> <timetill respawn> <clips> <flags>

Sends a gun to a player
xen_send_gun <player> <gunId> <clips> <flags>

xen_remove_gun <slot>
Slot is outputted into console when you make a gun


DOCUMENTATION:

NOTE: Using a number that doesnt exist will either crash you, or give you a tau cannon.
Weapons:
1: "Glock 18"
3: "Mini Uzi"
4: "Benelli M3"
5: "M4A1"
6: "MP5SD"
7: "MP5K"
8: "Akimbo Berettas"
9: "Socom Mk23"
11: "Usas12"
12: "Desert Eagle"
13: "Ak47"
14: "FiveSeven"
15: "Steyr Aug"
17: "Steyr Tmp"
18: "Barrett M82"
19: "HK Pdw"
20: "Spas12"
21: "Akimbo colts"
22: "Glock 20"
23: "Mac10"
25: "Combat Knife"
26: "Mossberg 500"
27: "M16A4"
28: "Ruger Mk1"
24: "M61 Grenade"
29: "C4"
31: "Raging Bull"
32: "M60"
33: "Sawed off"
34: "Katana"
35: "Seal Knife"

flags:
USING FLAGS:
Flags are additive. If you want the gun to have a lasersight and a silencer, then it would be "3" for a flag. Add the flags you want.

0: "At Your Feet" - if lie on wall is not defined.
1: "Silencer"
2: "LaserSight"
4: "Flashlight"
8: "Scope"
16: "Lie on wall?"

Powerups:

0: "Random"
1: "Slow Motion"
2: "Infinite Clip"
4: "Kung Fu"
8: "Slow Pause"
16: "Double Firerate"
32: "Grenade"
64: "Health"
128: "Armor"
256: "Superjump"
Attached Files
File Type: sma Get Plugin or Get Source (xen_gunshop_addon.sma - 5719 views - 3.4 KB)
File Type: inc xen_gunshop.inc (1.1 KB, 2017 views)
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
DarkShadowST
Member
Join Date: Apr 2004
Location: Texas
Old 02-06-2005 , 21:47  
Reply With Quote #2

I want to be the first to reply......
Looks amazing....like you.......
__________________
My Current Desktop:
Entire

DONT WATCH ME!!! Evil...People...
DarkShadowST is offline
Send a message via AIM to DarkShadowST Send a message via MSN to DarkShadowST Send a message via Yahoo to DarkShadowST
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-06-2005 , 21:52  
Reply With Quote #3

Erm.....k.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Black
Junior Member
Join Date: Oct 2004
Old 02-09-2005 , 22:05  
Reply With Quote #4

VERY NICE!!!

Haven't tested it though. Will have to do that soon.

Off topic: How is the jedi mind control coming?
__________________
!!!!!!
Black is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 02-09-2005 , 22:56  
Reply With Quote #5

Quote:
Originally Posted by DarkShadowST
I want to be the first to reply......
Looks amazing....like you.......
Lay off the Heineken... lol. Anyways , nice job... looks interesting.
Peli is offline
Send a message via MSN to Peli
Smokey485
Senior Member
Join Date: Dec 2004
Location: Newt 'Ellin
Old 02-09-2005 , 23:00  
Reply With Quote #6

i been using it a for long time.... its not bad.
Smokey485 is offline
Send a message via AIM to Smokey485 Send a message via MSN to Smokey485
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-10-2005 , 00:30  
Reply With Quote #7

this is an update, which allows powerup creations.

I've got jedi mind control working perfectly, but wont release it till I solve an HL2 project problem.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Mr. Satan
Senior Member
Join Date: Apr 2004
Location: Fort Wayne, Indiana
Old 02-13-2005 , 04:51  
Reply With Quote #8

The weapon giving and spawning works fine but the powerups are a different story.

I am running the TSX module and everything but whenver I try to give or spawn a powerup nothing happens.
__________________
DITN's TEAMSPEAK Server @ ditn.sytes.net:8767
Mr. Satan is offline
Send a message via AIM to Mr. Satan Send a message via MSN to Mr. Satan Send a message via Yahoo to Mr. Satan
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-13-2005 , 11:55  
Reply With Quote #9

powerups use numbers as well as the other ones.

Dont use the flag bit numbers, use their position


0: "Random" 0
1: "Slow Motion" 1
2: "Infinite Clip" 2
4: "Kung Fu" 3
8: "Slow Pause" 4
16: "Double Firerate" 5
32: "Grenade" 6
64: "Health" 7
128: "Armor" 8
256: "Superjump" 9

The second number is the one you put into the command.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Mr. Satan
Senior Member
Join Date: Apr 2004
Location: Fort Wayne, Indiana
Old 02-13-2005 , 12:34  
Reply With Quote #10

Quote:
Originally Posted by Twilight Suzuka
powerups use numbers as well as the other ones.

Dont use the flag bit numbers, use their position


0: "Random" 0
1: "Slow Motion" 1
2: "Infinite Clip" 2
4: "Kung Fu" 3
8: "Slow Pause" 4
16: "Double Firerate" 5
32: "Grenade" 6
64: "Health" 7
128: "Armor" 8
256: "Superjump" 9

The second number is the one you put into the command.
It still doesn't work. I always used ts_give_powerup dewd 4 before and that is a valid # anyways but still, doesn't work.
__________________
DITN's TEAMSPEAK Server @ ditn.sytes.net:8767
Mr. Satan is offline
Send a message via AIM to Mr. Satan Send a message via MSN to Mr. Satan Send a message via Yahoo to Mr. Satan
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:10.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode