TS
I searched up this here forum and couldn't find ANYTHING on these questions so....
Q; Can you make weapons/ and or change the weight of them for TS? as in, can you use a command that spawns a weapon that I can use? if so how? im a MAJOR noob compared to some of you so patience would help.... I can't think of some of my other questions at the moment..... most revolved around the ability to add weapons but whatever.. thanks, Mr.Eggbert |
This is one from TwilightSuzuka, and this spawns a weapon on the ground:
Code:
You can use the ts_giveweapon command from the TSX module to directly give a weapon to a player, or you can take Twilight's code, force the player to "use" the entity, and then remove the entity. |
can you elaborate? what do I do with the code?
|
What do you want to do with the code? Maybe you just want a plugin for giving weapons instead of adding it to one of your plugins. If so, try TwilightSuzuka's GunShop Creator:
http://hlrn.net/forum/index.php?showtopic=1270 |
thanks but I want to know how to change weapon properities and then spawn them
|
It is not possible to change the weight, although if you know anything about scripting then you could catch the CurWeapon event and change their maxspeed based on what weapon they pulled out.
|
how can i scratch build a weapon? can you give me the code for something basic?
|
You cannot really add a weapon to a mod, the weapons are hard-coded into the C++ source code. There are ways to replicate certain aspects of weapons with AMXx, but to "add" your own in takes a lot of work.
|
i don't mean i want my weapon in the TS dlls.... I mean I want them to just be an addon to the game as in I want it to be spawnable through amxx, so i make the gun in an sma file, compile and then use like a normal plugin
|
As I already said, it will take a lot of work.
|
| All times are GMT -4. The time now is 19:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.