armoury_entity problem

armoury_entity problem

Hammer Mapping — Page [1] 2
bandora

2008 Sep 23 • 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 13:45 PST — Ed. 2008 Dec 11 at 13:45 PST
bandora

2008 Sep 23 • 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 14:03 PST — Ed. 2008 Dec 11 at 14:14 PST
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 04:06 PST
bandora

2008 Sep 23 • 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 12 at 18:26 PST — Ed. 2008 Dec 12 at 18:30 PST
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 02:29 PST
bandora

2008 Sep 23 • 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 14 at 20:39 PST — Ed. 2008 Dec 14 at 20:40 PST
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 06:41 PST
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 08:12 PST — Ed. 2008 Dec 15 at 08:13 PST
bandora

2008 Sep 23 • 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 15:44 PST — Ed. 2008 Dec 15 at 16:12 PST
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 15 at 16:12 PST
bandora

2008 Sep 23 • 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 15 at 18:09 PST — Ed. 2008 Dec 15 at 18:21 PST
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 15 at 22:37 PST
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 00:10 PST
bandora

2008 Sep 23 • 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 11:34 PST — Ed. 2008 Dec 16 at 11:46 PST
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 12:36 PST — Ed. 2008 Dec 16 at 12:36 PST
bandora

2008 Sep 23 • 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 12:58 PST
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 13:16 PST — Ed. 2008 Dec 16 at 13:16 PST
bandora

2008 Sep 23 • 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 16 at 16:22 PST — Ed. 2008 Dec 16 at 16:24 PST
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 01:00 PST
bandora

2008 Sep 23 • 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 17 at 16:23 PST
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 17 at 19:10 PST
bandora

2008 Sep 23 • 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 11:02 PST
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 12:11 PST — Ed. 2008 Dec 18 at 12:21 PST
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 18 at 18:32 PST
bandora

2008 Sep 23 • 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 19 at 19:21 PST — Ed. 2008 Dec 19 at 23:23 PST
Page [1] 2