Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Carepackage hiding
#1
Question 
Since the extension for solid cp is released, (What I really appriciate) I have a question:
Well my idea is to show a carepackage for 2 seconds, then it hides for 2 seconds, and it pop ups for 2 seconds ( and it goes on and on)
So I know and heard something about thread sleep.
But I don't really know how that works.

And then my second question, is it possible to disable the shown carepackage?

Thanks in advance Smile
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#2
(12-11-2012, 17:22)99IRock Wrote: Since the extension for solid cp is released, (What I really appriciate) I have a question:
Well my idea is to show a carepackage for 2 seconds, then it hides for 2 seconds, and it pop ups for 2 seconds ( and it goes on and on)
So I know and heard something about thread sleep.
But I don't really know how that works.

And then my second question, is it possible to disable the shown carepackage?

Thanks in advance Smile

How many carepackages you had spawned? There's limit.
If not so many, problem could be in wrong spawning, cps shouldn't touch themselves

I had same in mw2, but problem is gone.

EDIT: I thought it's a problem, like always xD

He wants to make something like this
Code:
ent.show();
wait 2;
ent.hide();
etc..
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
I think, u don't really understand me :p.
I wan't it like its a parcour : So a carepackage will be shown for 2 secs, and then hided for 2 secs, and this repeats everytime :p.
( I just wan't to know if its possible to enable and disable a carepackage to be shown) (Shown = wrong I mean from the verb that its possible to see)

EDIT:
And another thing:
Sometimes I don't see the carepackages (but they are their) , its when I go some up I don't see them, when I go more down I see them.
If I'm almost on the same level as the carepackage I can't see it.
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#4
I really don't know how that's possible but yeah about the carepackage disappearing. It's because of the Quake3 engine being stupid not drawing the carepackages because there's a limit on what can be shown. Also try throwing a grenade next to the packages if the grenade shows you haven't hit the entity limit if you don't see it then you passed it and you need to reduce the amount of packages you have
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#5
Ok thank you
I have like 15 CP's on mp_carbon
Like what numbers should I look for max?
100?
50?
25?
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#6
(12-11-2012, 18:14)99IRock Wrote: Ok thank you
I have like 15 CP's on mp_carbon
Like what numbers should I look for max?
100?
50?
25?

Nah you should be able to spawn a good amount. In my mapedit I use about ~100 CP's AT LEAST.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#7
(12-11-2012, 17:35)SailorMoon Wrote:
(12-11-2012, 17:22)99IRock Wrote: Since the extension for solid cp is released, (What I really appriciate) I have a question:
Well my idea is to show a carepackage for 2 seconds, then it hides for 2 seconds, and it pop ups for 2 seconds ( and it goes on and on)
So I know and heard something about thread sleep.
But I don't really know how that works.

And then my second question, is it possible to disable the shown carepackage?

Thanks in advance Smile

How many carepackages you had spawned? There's limit.
If not so many, problem could be in wrong spawning, cps shouldn't touch themselves

I had same in mw2, but problem is gone.

EDIT: I thought it's a problem, like always xD

He wants to make something like this
Code:
ent.show();
wait 2;
ent.hide();
etc..

Yes, thats what I ment. Is it possible?
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#8
Yes, it probably is possible but I'll have to add it to my extension.

EDIT - Done: http://www.itsmods.com/forum/Thread-Rele...nsion.html
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#9
Master131, thank you Smile.
By the way is rotations already possible ?
[Image: b_560_95_1.png]
[Image: hax0r3ez.gif]
Reply

#10
(12-12-2012, 12:50)99IRock Wrote: Master131, thank you Smile.
By the way is rotations already possible ?

Probably, it just hasn't been added.
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Spawning carepackage helicopter -- DidUknowiPwn 4 4,062 11-08-2013, 08:18
Last Post: DidUknowiPwn
  Hiding _Smile_Man_ 5 2,841 08-04-2011, 15:19
Last Post: _Smile_Man_
  [Request] Carepackage Romuald27 2 2,216 02-27-2011, 09:24
Last Post: Ivankec

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.