ItsMods

Full Version: Carepackage hiding
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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..
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.
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
Ok thank you
I have like 15 CP's on mp_carbon
Like what numbers should I look for max?
100?
50?
25?
(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.
(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?
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
Master131, thank you Smile.
By the way is rotations already possible ?
(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.