Game_player_equip?

Need Help? The Day isnt going so well on the Mapping front?
Post Reply
marnamai
Polygon
Polygon
Posts: 21
Joined: Mon Aug 21, 2006 4:26 pm

Game_player_equip?

Post by marnamai »

In Blackfinal's map ,"Garginfestation", he used some nice effect on the weapon spawn. I decompiled his to see how he did it. I can remake it easly but there are a few problems!

The "real" world weapon won't rotate with the hologram (or the world weapon should be invisible)

You can spam the gunspawn and use it as "stationary" gun turret ...
If you use it for the gauss and you got unlimmited ammo constant extra ammo, it lags like a bitch.

I got a a workaround for this, just use the regular weapon spawning so people can't spam it ... I am just gonna keep the fancy effect :)

Are there other ways?

I tried to use a game_player_equip, but I can't find a valid master (earlier in dm I used buttons as master, now doesn't works anymore?)

Anyway, if anybody has a idea on how to make the "game_player_equip"
work, I "ll be happy to hear.

Ok, just found out about the map cfg's ... testing them now.
Hope this will fix the need for a equiper.
User avatar
Hyperjag3
npc_strider
npc_strider
Posts: 604
Joined: Mon May 29, 2006 8:54 am
Contact:

Post by Hyperjag3 »

If you press the help button in the entity properites of a game_player_equip, it tells you how to use them for both spawn items and equipping players by an input.
Blackfinal
Polygon
Polygon
Posts: 41
Joined: Wed Aug 09, 2006 1:02 pm

Post by Blackfinal »

Yea i made it so that if You pick it up it will directly respawn (point_template)

And there is only 1 Weapon on each W_Spawn it doesnt lag or something.

And yes you have to turn off Smart Edit

And why the F**k you don't ask me for that?
Image
Let's say Your hour has come again...
[JSC][GU]PREDATOR
Obsidian Premium
Obsidian Premium
Posts: 1624
Joined: Mon May 29, 2006 12:06 pm

Post by [JSC][GU]PREDATOR »

So is it just my server or do they respawn instantly. and yeah you should have atleast asked him thats one of the reasons i quit mapping, wankers would steal my stuff.
marnamai
Polygon
Polygon
Posts: 21
Joined: Mon Aug 21, 2006 4:26 pm

Post by marnamai »

Hyperjag3 wrote:If you press the help button in the entity properites of a game_player_equip, it tells you how to use them for both spawn items and equipping players by an input.
I know, never actualy looked for that on the equip entity, :oops:

But I still need a valid master entity so the equip works.

Blackfinal wrote:Yea i made it so that if You pick it up it will directly respawn (point_template)

And there is only 1 Weapon on each W_Spawn it doesnt lag or something.

And yes you have to turn off Smart Edit

And why the F**k you don't ask me for that?
Meh, I am rather a person to find out then to ask.

Anyway, I just can't get the real w model to be invisible or to rotate with the hologram (the dynamic influenced by the "v-physics")
There is also a flag ticked with 3 ??? its missing ... or unavaidable in this mod?

Try making me that sorta spawn with a "gauss" stand on it and keep firing, lags like hell
Author Message [JSC]_PREDATOR wrote:So is it just my server or do they respawn instantly. and yeah you should have atleast asked him thats one of the reasons i quit mapping, wankers would steal my stuff.
Who's the wanker now? And by the way my weapon spawn system looks a different. Just the same entities to make em spawn.
User avatar
Hyperjag3
npc_strider
npc_strider
Posts: 604
Joined: Mon May 29, 2006 8:54 am
Contact:

Post by Hyperjag3 »

marnamai wrote:
Hyperjag3 wrote:If you press the help button in the entity properites of a game_player_equip, it tells you how to use them for both spawn items and equipping players by an input.
I know, never actualy looked for that on the equip entity, :oops:

But I still need a valid master entity so the equip works.
Why do you need a master? That is a legacy thing from hl1, shouldn't ever be needed in hl2. You activate the game_player_equip with an input, or if you check the Equip On Touch spawnflag, it will give the items to whichever player touches it. To have the game_player_equip give items to players when they spawn/respawn, name it "spawn_items_equip".
marnamai
Polygon
Polygon
Posts: 21
Joined: Mon Aug 21, 2006 4:26 pm

Post by marnamai »

the master is still used in HL2 for the equip ... must be a leftover.

I 'll do it your way. Earlier I got it to work with a button as master :)
Blackfinal
Polygon
Polygon
Posts: 41
Joined: Wed Aug 09, 2006 1:02 pm

Post by Blackfinal »

I keep looking for another Spawn system on my new map, anyway
Image
Let's say Your hour has come again...
Post Reply