- Oct 3, 2011
- 6
- 1
Hello everybody!
This is my first Thread here so if this Thread does not fit here please excuse me.
I am mapping now for years and I know how to map complex in/output systems in maps.
but now I found a problem that I cannot solve alone.
I want to make an easter map for tf2.
In this map the intelligence will be an big Easteregg and it is hidden on the map somewere. I have now 42 possible places where the Intelligence (Egg) could be hidden randomly by teleporting.
I will change the hud texture so that the hud dont show where the neutral Egg is hidden. only a silent sound should be played from the egg and a little sparkling particle script should point where its hidden.
you need do bring the egg to the center of the map.
ok. that will all work but I want something special in the map when picking up the intelligence. MUSIK.
and now the problems begin. 3 days now I work on this problem with no solution. :crying:
I want that these things to happen:
* when looking to the egg if you not too far away the teams should hear a sound like ( the enemy has discovert the easter egg)
(( tested now and works with no problems. ))
* Pick up the intelligence (egg) the musik plays. (from the intelligence so other players know where they should search for the player holding the egg)
* Getting closer to the center of the map the musik should play faster. 3 changes or more till it reaches the center.
* on drop, the musik should have a pitch of 30.
* on pickup again the musik should play with the right pitch again.
* every theam should have ther own musik.
1)) try:
I build func_triggers with an filter_name. that should it recognize. right? WRONG!!!
I dont know why but the triggers dont recognize the Intelligence.
I tryed everything, every possible setting but the func_triggers dont recognize the intelligence. I even parented a info_target to the intelligence and put the name of that in the filter for the triggers... dont work.
2)) next try:
point_proximity_sensor.
works for me. it detects the intelligence and so I could work with it.
I used it with a logic_compare so I got a OnGreaterThan and a OnLessThan output that worked.
with these outputs I sended them to two logic_relays so I could disable them (cause to set the sound to pitch 30 at dropping the intelligence I needed to disable them first or the pitch would be set instantly to the value of the logic_relays cause the logic_compare sends the signal non stop to the logic_relays. (logic_case and logic_compare cant be enabled or disabled so I use relays instead)
now its like that:
if I drop the intelligence the logic_relays will be disabled and after that the sound will be set to pitch 30. if picked up the intelligence the logic_relays will be enabled and the sound plays in the right speed. on capture the logic_relays will be disabled and after that the sound will be stopped. (if not done in this order the sound will not be controllable anymore cause of a bug in the sound system. never change the pitch of a stopped sound... you cant stop it anymore.)
but.....
I wanted 3 sound speed changes or if possible much more.... and with only one logic_compare I cant get more outputs out of it. so I need a entity that could compare more values with the imput value.
3)) next try:
I sended the point_proximity_sensor output as pitch change directly to the ambient_generic. (that has a funny, really fast changing and seamless pitch change.) but way toooooo fast. i cant go 2 steps from the point_proximity_sensor away till the pitch is like hamsters on helium.
I have never tryed somthing like math_remap..... I dont know if it would be possible to combine them to get results like pitch 50 - 140.
my opinion:
the first try would allow me to set as many speed changes as a want if the triggers would recognize the intelligence.
the second try would be an easy, functionally and accurate way to create what I want if someone has an idea how to make more pitch changes.
the third try would be the beautifullest way if someone has an idea how to get only these outputs 50 - 140.
I hope I dont talked too much but I dont have anyone in my friendslist that could help me.
thanks for listening and hopefully someone of you could help me. that would be awesome ^^ :wow:
Harry64
This is my first Thread here so if this Thread does not fit here please excuse me.
I am mapping now for years and I know how to map complex in/output systems in maps.
but now I found a problem that I cannot solve alone.
I want to make an easter map for tf2.
In this map the intelligence will be an big Easteregg and it is hidden on the map somewere. I have now 42 possible places where the Intelligence (Egg) could be hidden randomly by teleporting.
I will change the hud texture so that the hud dont show where the neutral Egg is hidden. only a silent sound should be played from the egg and a little sparkling particle script should point where its hidden.
you need do bring the egg to the center of the map.
ok. that will all work but I want something special in the map when picking up the intelligence. MUSIK.
and now the problems begin. 3 days now I work on this problem with no solution. :crying:
I want that these things to happen:
* when looking to the egg if you not too far away the teams should hear a sound like ( the enemy has discovert the easter egg)
(( tested now and works with no problems. ))
* Pick up the intelligence (egg) the musik plays. (from the intelligence so other players know where they should search for the player holding the egg)
* Getting closer to the center of the map the musik should play faster. 3 changes or more till it reaches the center.
* on drop, the musik should have a pitch of 30.
* on pickup again the musik should play with the right pitch again.
* every theam should have ther own musik.
1)) try:
I build func_triggers with an filter_name. that should it recognize. right? WRONG!!!
I dont know why but the triggers dont recognize the Intelligence.
I tryed everything, every possible setting but the func_triggers dont recognize the intelligence. I even parented a info_target to the intelligence and put the name of that in the filter for the triggers... dont work.
2)) next try:
point_proximity_sensor.
works for me. it detects the intelligence and so I could work with it.
I used it with a logic_compare so I got a OnGreaterThan and a OnLessThan output that worked.
with these outputs I sended them to two logic_relays so I could disable them (cause to set the sound to pitch 30 at dropping the intelligence I needed to disable them first or the pitch would be set instantly to the value of the logic_relays cause the logic_compare sends the signal non stop to the logic_relays. (logic_case and logic_compare cant be enabled or disabled so I use relays instead)
now its like that:
if I drop the intelligence the logic_relays will be disabled and after that the sound will be set to pitch 30. if picked up the intelligence the logic_relays will be enabled and the sound plays in the right speed. on capture the logic_relays will be disabled and after that the sound will be stopped. (if not done in this order the sound will not be controllable anymore cause of a bug in the sound system. never change the pitch of a stopped sound... you cant stop it anymore.)
but.....
I wanted 3 sound speed changes or if possible much more.... and with only one logic_compare I cant get more outputs out of it. so I need a entity that could compare more values with the imput value.
3)) next try:
I sended the point_proximity_sensor output as pitch change directly to the ambient_generic. (that has a funny, really fast changing and seamless pitch change.) but way toooooo fast. i cant go 2 steps from the point_proximity_sensor away till the pitch is like hamsters on helium.
I have never tryed somthing like math_remap..... I dont know if it would be possible to combine them to get results like pitch 50 - 140.
my opinion:
the first try would allow me to set as many speed changes as a want if the triggers would recognize the intelligence.
the second try would be an easy, functionally and accurate way to create what I want if someone has an idea how to make more pitch changes.
the third try would be the beautifullest way if someone has an idea how to get only these outputs 50 - 140.
I hope I dont talked too much but I dont have anyone in my friendslist that could help me.
thanks for listening and hopefully someone of you could help me. that would be awesome ^^ :wow:
Harry64
Last edited: