armoury_entity problem

armoury_entity problem

Hammer Mapping — Page [1] 2
bandora

2008 Sep 24 • 80
Hey guys,

I have a problem with armoury_entity, the problem is that in my new (very simple but lots of fun) map the armoury_entity build up round after round...

My map is basically a huge trampoline and you jump around and kill people it's hilarious and lots of fun, but the problem is that round after round the weapons that the people get build up and then the fps starts dropping..

My question now is, how to make those armoury_entity disappear after people get the weapons needed or after round ends.

Thanks in advance,

BaNdOrA

P.S.: Once this problem is solved I am going to post it in the - Your Own Maps - thread by fiskeN.

Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 11 at 21:45 UTC — Ed. 2008 Dec 11 at 21:45 UTC
bandora

2008 Sep 24 • 80
I also have another problem. if more than 7 or 8 people join the server to play on my map it crashes the server. :S

And the weird thing is that when it crashes the server there's no error logs what-so-ever.. and when I check the log file it goes from the map then it says map changed to de_dust2 (default map)

Here's what the log says:

Quote:
L 12/11/2008 - 17:38:58: -------- Mapchange to fs_trampoline --------
L 12/11/2008 - 17:38:58: [admin.amxx] Login: "R@W[FS] #fskillz<44><"xx><>" became an admin (account "xx") (access "abcdefghijklmnopqrstuz") (address ""xx")
L 12/11/2008 - 17:38:58: [admin.amxx] Login: ":| [FS]<39><"xx><>" became an admin (account ""xx") (access "bcdefghijklmnopqrstuz") (address ""xx")
L 12/11/2008 - 17:38:58: [admin.amxx] Login: "SKILLER[FS] #fskillz<50><"xx><>" became an admin (account ""xx") (access "bcdefghijklmnopqrstuz") (address ""xx")
L 12/11/2008 - 17:39:05: [admin.amxx] Login: "SKILLER[FS] #fskillz<54><"xx><>" became an admin (account ""xx") (access "bcdefghijklmnopqrstuz") (address ""xx")
L 12/11/2008 - 17:40:14: -------- Mapchange to de_dust2 --------
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 11 at 22:03 UTC — Ed. 2008 Dec 11 at 22:14 UTC
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
In the armoury_entity's properties there is a field called 'count'. That determines how many of the weapon are in the pile. Change it to 1.

I don't understand what you said about having the weapon disappear after a round ends. When a new round begins, everything resets.
May contain traces of invisible text.
 
 
 
2008 Dec 12 at 12:06 UTC
bandora

2008 Sep 24 • 80
eDan Co. said:
In the armoury_entity's properties there is a field called 'count'. That determines how many of the weapon are in the pile. Change it to 1.

I don't understand what you said about having the weapon disappear after a round ends. When a new round begins, everything resets.


But that's the problem it doesn't reset in my map!

I have uploaded the map so you guys can see what I am talking about..

fs_trampoline.zip

BTW I am sorry I am a dumbass.. I meant game_player_equip when I said armoury_entity.. SORRY SORRY SORRY!

EDIT: You need to have at least two players playing in the map to see what I am talking about. (Also you need to play it for more than one round; obviously.)
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 13 at 02:26 UTC — Ed. 2008 Dec 13 at 02:30 UTC
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
bandora said:
BTW I am sorry I am a dumbass.. I meant game_player_equip when I said armoury_entity..


Now that makes even less sense. You don't get a weapon at the begging of every round? In that case, we would you "want to make it disappear"? I'm not quite following you on this one.

Also, my CS isn't working, so I can't test your map.
May contain traces of invisible text.
 
 
 
2008 Dec 13 at 10:29 UTC
bandora

2008 Sep 24 • 80
eDan Co. said:
bandora said:
BTW I am sorry I am a dumbass.. I meant game_player_equip when I said armoury_entity..


Now that makes even less sense. You don't get a weapon at the begging of every round? In that case, we would you "want to make it disappear"? I'm not quite following you on this one.

Also, my CS isn't working, so I can't test your map.



hehehehehe sorry for all the confusion.. ok, so here's whats going on.. I have game_player_equip set for everybody in the map.. They all get Shotty (M3), MP5, Deagle, USP and ofcourse a knife.. BUT the problem is that the game_player_equip instead of having it disappear after the round ends or right away it stays there and accumulate round after round until there's a lot of those on the air.. Also my map crashes after about 7 people joins the map with no error what-so-ever.. ANY HELP would be MUCH appreciated.
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 15 at 04:39 UTC — Ed. 2008 Dec 15 at 04:40 UTC
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
So you want players to get weapons only in the first round? Impossible.

About the floating weapons, it happens a lot. Do you happen to have more than 1 game_player_equip?
May contain traces of invisible text.
 
 
 
2008 Dec 15 at 14:41 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
hmm.. I'm sorry but I don't feel like reading everything, so if you want you can check here:
http://www.countermap2.com/Tutorials/tutorial8803.html?id=7
http://www.countermap2.com/Tutorials/tutorialf62c.html?id=36
to see if you can find something to use here. I'm not sure whether it will work, but you can try.

EDIT: I've been meaning to ask for a long time though. Why does this trick work? I mean why does triggering something with a door without using trigger_relay make it reset relentless of whether it's been used or not in the previous round?

Also why does it trigger them at the start of a round if a door has them set as targets? Doesn't a door have to be triggered itself to trigger its target?
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 15 at 16:12 UTC — Ed. 2008 Dec 15 at 16:13 UTC
bandora

2008 Sep 24 • 80
@eDan: No, I don't want people to have weapons only in the first round.. my problem is that the weapons don't disappear after round ends or immediately.

@Vita : Thanks for that I will try and see if that works.

P.S: Any suggestions on why the map actually crashes with no errors what-so-ever after like 7-8 people joins teams? (the map should fit 20 people, 10 ts and 10 cts).

EDIT: Vita after I did what the first tutorial (that you gave me) told me.. now if one person goes in it's all good for the first round then, in the second round, the server crashes... and/or if more than one person joins the server crashes too! :S
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 15 at 23:44 UTC — Ed. 2008 Dec 16 at 00:12 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
Could be because there are so many gpe entities. But the thing is random crashes are very difficult to diagnose. Are there any console messages before it happens?
 
 
 
2008 Dec 16 at 00:12 UTC
bandora

2008 Sep 24 • 80
Down Rodeo said:
Could be because there are so many gpe entities. But the thing is random crashes are very difficult to diagnose. Are there any console messages before it happens?


See in the hammer that I got, i only need to add one gpe entity anywhere on the map and it will give EVERYONE the same thing I put on that entity. (which didn't used to do that before I upgraded hammer and got fgds from other websites)..

Maybe the hammer/fgd that I have are messed up?

P.S.: I used to put gpe entity on every single player to give weapons to everyone.. I hate it now how you have to put only one.. and if u put more than one it crashes the server when someone joins the server. (A problem that I had before, but then figured it out).

P.P.S: Just to try a solution for this problem, can anyone guide me to where I can get a good copy of hammer 3.4/3.5 (which ever is better) and some good hl/cs fgds?
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 16 at 02:09 UTC — Ed. 2008 Dec 16 at 02:21 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
aha, you want the players to lose the weapons at the end of every round and then get them again at the beginning of the next?
If so, then you could do the following:
game_playerdie triggers a weapon_strip for the player (though I don't know whether this is possible or not) who died.
game_roundtimeover triggers a weapon_strip for all players.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 16 at 06:37 UTC
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
its impossible to do it... however dude if u put a game_player_equip entity, players will lose their weapons wenever the round start, and get equiped, so i dont understand ur problems

Free Steam Games
 
 
 
2008 Dec 16 at 08:10 UTC
bandora

2008 Sep 24 • 80
That's not the problem guys.. Ok so I am trying to make a new kind of map (fun map?).. Trampoline map. :) BUT the problem is that.. the gpe entity instead of disappearing instantly or after round ends (like it's suppose to) it just hangs on the air like it's stuck or something. And it stays there round after round...

I uploaded my map here so if you guys want to see what I am talking about download it and play it with a friend or something or you could do that by urself but you have to wait a couple of rounds to see what I am talking about..

Also, the map crashes after 7-8 people joins teams.

P.S.: I don't want people to lose their weapons on a new round or anything like that... This has nothing to do with players, just that the weapons that the players get stays on the air..

EDIT: Ok I might have a solution for all this mess but I can't quite do it. I want to do like how superjer did in his map awp_sk33tl33t map; you know how when u spawn you don't have any weapons but as soon as it's time for the t's or ct's launch they get weapons, I want to do that and then when a new round begins I want the players to get stripped then get weapons again.. etc.
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 16 at 19:34 UTC — Ed. 2008 Dec 16 at 19:46 UTC
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
bandora said:

EDIT: Ok I might have a solution for all this mess but I can't quite do it. I want to do like how superjer did in his map awp_sk33tl33t map; you know how when u spawn you don't have any weapons but as soon as it's time for the t's or ct's launch they get weapons, I want to do that and then when a new round begins I want the players to get stripped then get weapons again.. etc.


Download the source for the map to find out how he did then.
QUACK! QUACK!
 
 
 
2008 Dec 16 at 20:36 UTC — Ed. 2008 Dec 16 at 20:36 UTC
bandora

2008 Sep 24 • 80
Killer-Duck said:
bandora said:

EDIT: Ok I might have a solution for all this mess but I can't quite do it. I want to do like how superjer did in his map awp_sk33tl33t map; you know how when u spawn you don't have any weapons but as soon as it's time for the t's or ct's launch they get weapons, I want to do that and then when a new round begins I want the players to get stripped then get weapons again.. etc.


Download the source for the map to find out how he did then.


Alright ty going to check that out and see what I can do to my map.
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 16 at 20:58 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
bandora said:
P.S.: I don't want people to lose their weapons on a new round or anything like that... This has nothing to do with players, just that the weapons that the players get stays on the air..

wait wait. Let me get this straight. At the beginning of a new round there are M4s and MP5s and AK-47s in the air? If that's so, then that's funny
Imagine walking along the street, suddenly looking up and seeing an M4 just hovering in the air.
I'd tell everyone around me not to look up and then (naturally they would all look up) I'd steal their wallets walk on.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 16 at 21:16 UTC — Ed. 2008 Dec 16 at 21:16 UTC
bandora

2008 Sep 24 • 80
Mate de Vita said:
bandora said:
P.S.: I don't want people to lose their weapons on a new round or anything like that... This has nothing to do with players, just that the weapons that the players get stays on the air..

wait wait. Let me get this straight. At the beginning of a new round there are M4s and MP5s and AK-47s in the air? If that's so, then that's funny
Imagine walking along the street, suddenly looking up and seeing an M4 just hovering in the air.
I'd tell everyone around me not to look up and then (naturally they would all look up) I'd steal their wallets walk on.


When did I ever say aks and m4s???? You spawn with: "Knife, Mp5, M3 (SHOTTY), Deagle, USP).

Killer-Duck said:
bandora said:

EDIT: Ok I might have a solution for all this mess but I can't quite do it. I want to do like how superjer did in his map awp_sk33tl33t map; you know how when u spawn you don't have any weapons but as soon as it's time for the t's or ct's launch they get weapons, I want to do that and then when a new round begins I want the players to get stripped then get weapons again.. etc.


Download the source for the map to find out how he did then.



I am not going to lie to you KD but when I opened superjer's map I was then I became

I couldn't understand a thing! hehehe.. I'll look for more help in there but in the mean time can u at least guide me (PLEASE) on what I should do first? or how? and what? why? lol.. I am so confused.
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 17 at 00:22 UTC — Ed. 2008 Dec 17 at 00:24 UTC
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
dude they fall into a trigger_multiple that triggers a trigger_changetarget
the change target changes the teleport location to the start points
next round, they fall into the trigger_multiple and it changes the teleport locations again
understand?


Free Steam Games
 
 
 
2008 Dec 17 at 09:00 UTC
bandora

2008 Sep 24 • 80
SRAW said:
dude they fall into a trigger_multiple that triggers a trigger_changetarget
the change target changes the teleport location to the start points
next round, they fall into the trigger_multiple and it changes the teleport locations again
understand?




Hmmm.. Ok I think I got it but I don't see how that will help me.. Maybe I picked a wrong map to base what I am trying to do on. I think the closest idea of what I want to do is actually more like a 35hp map (the knife map) where people start in a dark place where they get hurt and then gets teleported to the map itself. But instead of doing a trigger_hurt, I want to give the players the weapons then get teleported.

If I want to do that, Do I make two dark rooms where I put the info_player_start in one place and info_deathmatch_start in another (could be one room tho), then they will get teleported to the map? But if I want to do that how can I make them get teleported in different positions (inside the map) instead of having each team spawn from one place only? (I.E. trigger_teleport to info_teleport_destination.
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 18 at 00:23 UTC
SolidKAYOS
Count Adelaide

Roar Of The Tigress Medal
2007 Jun 24 • 84
68 ₧
bandora said:
SRAW said:
dude they fall into a trigger_multiple that triggers a trigger_changetarget
the change target changes the teleport location to the start points
next round, they fall into the trigger_multiple and it changes the teleport locations again
understand?




Hmmm.. Ok I think I got it but I don't see how that will help me.. Maybe I picked a wrong map to base what I am trying to do on. I think the closest idea of what I want to do is actually more like a 35hp map (the knife map) where people start in a dark place where they get hurt and then gets teleported to the map itself. But instead of doing a trigger_hurt, I want to give the players the weapons then get teleported.

If I want to do that, Do I make two dark rooms where I put the info_player_start in one place and info_deathmatch_start in another (could be one room tho), then they will get teleported to the map? But if I want to do that how can I make them get teleported in different positions (inside the map) instead of having each team spawn from one place only? (I.E. trigger_teleport to info_teleport_destination.


So why did you pick Bandora for a nickname?
Make awkward sexual advances, not war.
Down Rodeo said:
Dammit, this was the one place that didn't have this, but noooooo, molkman pisses all over that
 
 
 
2008 Dec 18 at 03:10 UTC
bandora

2008 Sep 24 • 80
Havokk Edge said:
bandora said:
SRAW said:
dude they fall into a trigger_multiple that triggers a trigger_changetarget
the change target changes the teleport location to the start points
next round, they fall into the trigger_multiple and it changes the teleport locations again
understand?




Hmmm.. Ok I think I got it but I don't see how that will help me.. Maybe I picked a wrong map to base what I am trying to do on. I think the closest idea of what I want to do is actually more like a 35hp map (the knife map) where people start in a dark place where they get hurt and then gets teleported to the map itself. But instead of doing a trigger_hurt, I want to give the players the weapons then get teleported.

If I want to do that, Do I make two dark rooms where I put the info_player_start in one place and info_deathmatch_start in another (could be one room tho), then they will get teleported to the map? But if I want to do that how can I make them get teleported in different positions (inside the map) instead of having each team spawn from one place only? (I.E. trigger_teleport to info_teleport_destination.


So why did you pick Bandora for a nickname?


lol LOOONG story... So anyone can help/guide me on how to make it similar to 35hp?
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 18 at 19:02 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
the 35hp is probably made like this (at least I'd make it like this) - though I'm not sure why you need the teleporters for the 35hp map, but you will probably need them for your map:
There are two separate rooms (1 for Ts and 1 for CTs) and in each players fall through a trigger_hurt which hurts the players. Then they fall into a trigger_teleport and it has the destination (the info_teleport_destination entity) at the desired CT/T spawn point respectively.

So you could do it similarly but you have to replace the trigger_hurt with a trigger_multiple which triggers a game_player_equip that gives the players the desired weapons.

But I'm not sure if this will work.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 18 at 20:11 UTC — Ed. 2008 Dec 18 at 20:21 UTC
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
u do notice that in 35hp they take a while until they get teleported to the start

cause theres probably a trigger_multiple at top of the trigger_hurt and below the trigger_hurt is the teleport :O
Free Steam Games
 
 
 
2008 Dec 19 at 02:32 UTC
bandora

2008 Sep 24 • 80
Mate de Vita said:
the 35hp is probably made like this (at least I'd make it like this) - though I'm not sure why you need the teleporters for the 35hp map, but you will probably need them for your map:
There are two separate rooms (1 for Ts and 1 for CTs) and in each players fall through a trigger_hurt which hurts the players. Then they fall into a trigger_teleport and it has the destination (the info_teleport_destination entity) at the desired CT/T spawn point respectively.

So you could do it similarly but you have to replace the trigger_hurt with a trigger_multiple which triggers a game_player_equip that gives the players the desired weapons.

But I'm not sure if this will work.


Ok I got it, thanks.. I will try to do that and will post the results.. :)

BTW: Any idea on why the server crashes after 7+ people join teams in my map? (No errors what-so-ever on the logs).

EDIT: Yep it worked like a charm!!!!!!!!! :D :D :D :D :D :D :D :D I will make sure ur name goes on the credits of this map! hehe

I also want to see if it will still crash the server if 7+ people join teams... or if that got fixed too!?!?

I need 7+ people now.. hehe
Bandora = tomato in arabic.. GOT IT? :)

And don't ask why I picked this nickname.. LOONG STORY!
 
 
 
2008 Dec 20 at 03:21 UTC — Ed. 2008 Dec 20 at 07:23 UTC
Page [1] 2