Game Development Community

Cloaking Pack

by Sean Pollock · in Torque Game Engine · 07/03/2003 (6:13 pm) · 16 replies

Hey everyone,

I was just wondering if anyone would be interested in a Cloaking Pack. I've noticed that there isn't any in the resource listings or atleast non that I have found.

I could make mine available as a resource but I am not sure if I would be allowed to include the cloaking pack models since they have been borrowed from Tribes 2 as place holders so I can test it.

I will also be doing other packs too so if anyone has any ideas on different types of packs let me know.

#1
07/03/2003 (6:14 pm)
YEAH I would love it, I wanted to get into pack sometime soon anyway, I'd love to check it out
#2
07/03/2003 (7:04 pm)
Sean that would be very kind of you to do a cloaking pack resource and I am looking forward to seeing your future submission. :)
#3
07/03/2003 (8:25 pm)
Thanks Anthony and Nathan for replying and I am happy to see that people would want something like this. It is pretty cool and with the latest HEAD when you cloak you get a kind of rotating transparent texture look (Not sure how else to describe it.)

What I will probably do because of size and also because I am not sure if it is legal or not to include the models for this I will upload my resource that just includes the scripts necessary to get a cloaking pack into your game. Does that sound like an ok plan? Let me know. If so, I will upload my resource hopefully tomorrow sometime.

Btw...for testing purposes, you can just take the cloaking pack and textures from Tribes 2. If there is anyone that would like to make a cloaking pack and textures for this pack\resource then I would love to hear from you.
#4
08/10/2003 (2:01 pm)
Hi everyone,

It's been awhile but I posted my Cloaking Pack as a resource but I guess it was never approved for some reason. Since I've posted it I have been working on my website and am almost finished with it. I am currently looking for tutorials and links to torque related sites to add to my site.

However, I did put my cloaking pack on my site if you would like to download it. Please keep in mind that the website isn't finished yet.

Anyway, just visit www.darkravenstudios.com and please register when you visit. Registration is completely free and it lets me know who is visiting my site. Thank you and I hope to see you there.

- DarkRaven
www.darkravenstudios.com
#5
08/10/2003 (2:39 pm)
Hi,

I downloaded your pack out of curiosity and becuase I need some sort of cloacking in my game. If I had known it was so simple I would have added it before ;) So, thanks for this little resource... I didn't know there was a function called "setCloaked()".
However... I have a question... what's the cloack texture used for? I see no difference with or without the cloack texture. Is this becuase of the way may game is setup? Please inform me how this texture is used and where it should be placed etc in order for the engine to use it.
#6
08/10/2003 (2:47 pm)
The way I heard it the texture is just a smi-transparent png that the setcloak function replaces your objects texture with
#7
08/10/2003 (2:48 pm)
I just thought I'd mention that the cloaking isnt really effective as long as the name is put in big green letters above the player ;) someone should do a resource about modifying the setcloak function to take it out while cloaked
#8
08/10/2003 (2:57 pm)
Hi Ward,

I am glad you liked the cloaking pack. I will be attempting to make more packs in the near future such as shield packs, energy packs, etc.

Now to answer your question. The cloakTexture is used by the engine to put a kind of texture over the player. It really does add to the whole affect. Now, i have a question for you? Are you using the latest HEAD because if not, that may be why you aren't seeing the cloakTexture being applied to your player.

Let me know and I will try to answer your questions.

- DarkRaven
www.darkravenstudios.com
#9
08/10/2003 (2:57 pm)
@ Eric: I took that out completely ;)

But about the cloack texture... it doesn't seem to be used at all... I was just wondering why. Is it appearing on your models? If so, where was it placed and how was it named?
#10
08/10/2003 (2:58 pm)
Perhaps I'm not using the latest head.... but its a very recent one... I don't think that's the reason.
I'm not really using your pack... I just looked at your pack and noticed the setcloacked function, and implemented it in my own way, that's why I'm wondering if I didn't overlook something, becuase I don't see the cloack texture (I see a VERY transparent character, that looks the same wether or not I put a cloack texture in its folder)
#11
08/10/2003 (3:03 pm)
Hey Eric,

Cool catch on your part. I never thought about that before. Hmmm, does anyone wanna tackle that problem?
#12
08/10/2003 (3:08 pm)
@ Ward

Did you add
cloakTexture = "~/data/shapes/player/cloakTexture.png";

to your player datablock

I put mine right below
shapeFile = "~/data/shapes/player/player.dts";
#13
08/10/2003 (3:16 pm)
Aha! Defenetly overlooked that one ;) Thanks a lot!
#14
08/10/2003 (3:19 pm)
@ Ward

You are most welcome. The reason I asked before if you had the most recent HEAD was because I am not sure exactly when they made it so you can specify where the cloakTexture is located. It was at one time hardcoded into the engine. If you have a fairly recent HEAD then you should be ok. Let me know if it works.
#15
08/10/2003 (3:41 pm)
@Eric: www.garagegames.com/mg/forums/result.thread.php?qt=11629 --> fix to get rid of the name hud... or simply remove the name hud completely like I did (it annoyed the crap out of me... no fun having sniper rifles in your game when you can see the players miles away)

@Sean... it works now.
#16
01/26/2004 (4:35 pm)
Hmmm looks good :D but one thing i need help with is, is there away to make it so it well use what ever pack u have on you? becuse i dont wanna have a dif key for each pack :D