Just create an entity and select func_model in the drop down list. Now go to properties and in location type '' progs/YOURGUNNAME.mdl ''
progs/g_ray.mdl for the ray gun,
progs/g_thomp.mdl for the thompson. etc.
you can find tou files in nzp\progs. just copy the names that start with a g_.
Now you will need to rename func_model with place_model. now when you run your game, it shut be on the wall.
For buying the weapon just put a box with a trigger texture around your weapon.
( make sure your player is able to touch it. )
Now select that block and hit Ctrl and T. a window shut pop up with buy_weapon. if not, change it's name to buy_weapon.
Now go to ''Wich weapon'' and type the ID of one off the guns in the list above.
Now you can put the rest to your liking. for example the gewehr:
Name: Blank
Target: Blank
Killtarget: Blank
Message if not same weapon: Hold use to buy Gewehr [ 500 ]
Message if same weapon: Gewehr [ 500 ] Ammo [ 250 ]
Wich weapon: 142
Cost to buy: 500
Cost to buy ammo: 250
How much ammo it gives: 120
''BLANK'' Means just leave it blank.
It MUST work for you now.
If not, sorry I can't help you :(
But if you have a question, feel free too ask : )
progs/g_ray.mdl for the ray gun,
progs/g_thomp.mdl for the thompson. etc.
you can find tou files in nzp\progs. just copy the names that start with a g_.
Now you will need to rename func_model with place_model. now when you run your game, it shut be on the wall.
For buying the weapon just put a box with a trigger texture around your weapon.
( make sure your player is able to touch it. )
Now select that block and hit Ctrl and T. a window shut pop up with buy_weapon. if not, change it's name to buy_weapon.
Now go to ''Wich weapon'' and type the ID of one off the guns in the list above.
Now you can put the rest to your liking. for example the gewehr:
Name: Blank
Target: Blank
Killtarget: Blank
Message if not same weapon: Hold use to buy Gewehr [ 500 ]
Message if same weapon: Gewehr [ 500 ] Ammo [ 250 ]
Wich weapon: 142
Cost to buy: 500
Cost to buy ammo: 250
How much ammo it gives: 120
''BLANK'' Means just leave it blank.
It MUST work for you now.
If not, sorry I can't help you :(
But if you have a question, feel free too ask : )