https://www.17buddies.rocks/index.html

17's Buddies Maps HL1 Maps HL2 Wads Plan des Maps
17 Buddies
Only for stats

Welcome Guest ( Log In | Register )

 
New
(vmf) Weapon Spawns, Prefab by SpherixNL
S3B
post 16/03/2014 - 09:56:57 |   Post #1
+Reply

Group: 17 Buddies
Posts: 1 200
Joined: 12/11/2007

fr 

Team:
17B addict


weapon spawns

Author : SpherixNL

Attached Image


QUOTE
Rotating weapons that respawn after you picked them up

This prefab shows how to create respawning weapons. The prefab shows a total of 6 different weapons as an example. The weapons rotate above a platform, and once they are picked up, they will respawn after a set time.

So how does this work?
◾A prop-dynamic-override is used to display the weapon model, it is attached to a func-rotating for the rotation animation.
◾The actual func-weapon is positioned below the func-illusionary platform (used to define non-solid platform), or below the floor as can be seen with the AWP; players can pick it up just fine.
◾After the weapon is picked up, the rotating model is disabled and after a set time in seconds, a point_template will be activated that both respawns the func-weapon and enables the rotating model again.

If you plan on placing more than one of the same weapon in your map, remember to rename all entities accordingly, so they don't activate one another.

Notes:

I'm currently using these as weapon spawning entities in a new game mode project for CS:GO. If you want to use these, be sure to credit.

Based on a respawning weapon tutorial found on YouTube; I've improved upon the tutorial as it had a few flaws.

Works in CSS as well.


Attached File  prefab_weaponspawns.zip ( 6.87K ) Number of downloads: 229


(IMG:http://wps3b.17buddies.net/design/hlbox1.jpg)
Hlbox17B
Post PM
Website
Go to the top of the page
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

Quick ReplyNew
 


RSS Lo-Fi Version
 
Skin © Chapo