Author Topic: [Scripting Help] LoZ-style item obtaining  (Read 4007 times)

Link obtained coding help!

Yes, I am going to try making a script that makes it so that when a player picks up an item or weapon for the first time, it does an Ocarina of Time-like camera zoom on the item above your head with text telling you what to do with it. It would allow for special Zelda-style weapons to have unique messages.

And we need YOU to help us!
[/hotelmario]

I'm not very good at scripting and need some help on exactly what I would do to change the camera angle, hand position, etc... Anyways, It might get a bit annoying after a while, but it's only once for every weapon on the server.

Pic for clarity:


« Last Edit: June 29, 2010, 05:45:40 PM by sciberdude »

Technically this is fine place to put this, but here would be better.

I guess so. It just seemed kind of general considering I am a beginning scripter, and I need help on what kinds of scripts to use rather than troubleshooting script problems.

Topic moved back here because nobody really cares about the other one.
« Last Edit: June 30, 2010, 08:17:13 PM by sciberdude »

Doublepostlol

This can get deleted now, I'm creating a new one in Coding Help because of the specificness of this topic... Probably won't though, I'm betting.

I'd love this, but how to do it... not s- WAIT

It would require the client downloads the add-on, but... What about a GUI with a 3D view that covers the screen and sets to rotate the object with displayed text?

What about a GUI with a 3D view that covers the screen and sets to rotate the object with displayed text?

Tell me if I'm wrong, but I'm pretty sure you mean that it would rotate the object without hand movements, just with the item and the text.

This would be REALLY fun.
I can just imagine it c:

Excalibur got a HK417! *music* Excalibur got a Light MG! *music*

Spammed easily, and if you put too much effects on it, you could lag a server up so badly...

This would be REALLY fun.
I can just imagine it c:

Excalibur got a HK417! *music* Excalibur got a Light MG! *music*

Spammed easily, and if you put too much effects on it, you could lag a server up so badly...

Thanks. :)

Although I don't see how it would lag it up, it would just show text on your screen and an item spinning above your head. How could you spam it?

Tell me if I'm wrong, but I'm pretty sure you mean that it would rotate the object without hand movements, just with the item and the text.

I'm pretty sure I remember camera settings for the 3D view and such. It would basically be a GUI without the big box element surrounding it. You might want to put a slightly transparent background to put darkness.

Just to tell you in case you suggest it, I checked, and RTB's GUI downloading doesn't support 3D Views. :/ So... ya.

Oh ya, a problem would be the pulled out camera angle... forcing a third person, maybe? Or does it really matter how the background of this scene looks?

Nah, I really just want to get at the whole "zoom in on the object" aspect.

With the epic DUU-NUU-NNAA-NAAAA!! noise in the background, of course, but that's easy enough.

Look up the Torque Game Engine "PathCamera" object and tutorials for it, it might help.

Thanks. :)

Although I don't see how it would lag it up, it would just show text on your screen and an item spinning above your head. How could you spam it?
This would be REALLY fun.
I can just imagine it c:

Excalibur got a HK417! *music* Excalibur got a Light MG! *music*

Spammed easily, and if you put too much effects on it, you could lag a server up so badly...

You could do this by creating a variable for
every
item
in
the
game

then checking it.

OR

Make it create a variable for each item when picked up. You'd have to be careful with this, though, as too many variables active at the same time can lag a server.

Then, as for the camera, you could spawn an image of the item above the player's headskin, then make the camera focus on it, though this could be a problem. As for rotating, look for the item rotating script.

I still stand by my idea, which is probably how they did it in the game: A GUI overlays the screen with a 3D view of an object.

I still stand by my idea, which is probably how they did it in the game: A GUI overlays the screen with a 3D view of an object.
Maybe that would cause less lag. Or if any, on the client, not the server.