Aller au contenu

Photo

Can someone make me a couple of script's pleaseeeee


  • Veuillez vous connecter pour répondre
11 réponses à ce sujet

#1
DukeVega

DukeVega
  • Members
  • 205 messages

Seriously im clueless!

 

 

 

So when the player spawns into the area (login area) 

It will play a sound file that is lik120 seconds long

 

 

I need the script to Rotate / spin the camera around the player 360'  a few times and then gently stop behind them

and then stop as the music file ends.

 

 

 

 

 

Second script

 

 

 

 

I need a Environmental object to basically start at the top and move down, delete and respawn at the start point.

 

 

 

 

any help would be greatfully appreciated

 

 

Regards,

 

 

Duke Vega

Www.Projectgaming.net



#2
rjshae

rjshae
  • Members
  • 4 505 messages

Possibly a cut-scene conversation could have the camera follow an invisible creature as it moves in a polygon about the character? *shrug* Just a guess really.

 

I believe that moving an object down as you describe can be done using a looping series of create/destroy calls with a slight delay between each loop. Or possibly using a pair of objects with each one getting sequentially scaled down by x.001, then back up again after it is moved (and the other scaled down).



#3
DukeVega

DukeVega
  • Members
  • 205 messages

kanji_nosebleed_by_unsomnus-d69cflz.jpg



#4
Loki_999

Loki_999
  • Members
  • 430 messages

When you say you are clueless DV, do you mean you have no clue about scripting at all, or no clue about how to do these things?

 

If its the former, and you are going to be needing scripting, then either you need someone on your team who can do it, or start to learn yourself.

 

If its the latter, yeah, tricky, not something i've ever done myself. I did see a demo once though by someone who created moving objects by using the create/destroy method mentioned by rjshae - although i wouldn't try that in a persistent world environment, only a single player module. The overhead would be crazy otherwise.

 

As for the rotating camera and music, I think rjshae also hits the nail on the head, i think this is exactly the sort of thing cutscene convos were designed for.  Not something i've ever done myself though.



#5
DukeVega

DukeVega
  • Members
  • 205 messages

mehh ill give it a go, sure i can work something out eventually ;) 



#6
rjshae

rjshae
  • Members
  • 4 505 messages

Assuming this doesn't make your explode like a potato in a microwave, you might have a look here:

 

http://www.sunjammer...eload_coolmenus



#7
Lugaid of the Red Stripes

Lugaid of the Red Stripes
  • Members
  • 955 messages

Any script would have to be fine-tuned to fit in your particular module, there are just so many little things that can go wrong, and so many little things that you'll want to tweak, that it's impossible just to give you a script that will work without you basically re-writing the whole thing.

 

For your needs, though, try messing around with the conversation editor and some static cameras.  You can't exactly manhandle the camera like Spielberg, but it's relatively easy to set up static shots and then pan or track to follow a creature (even an invisible creature, as suggested by rjshae). 

 

Moving an object is much more difficult, and an environmental object can't be moved at all.  What exact kind of object do you want to move?

 

It'd be tricky, but I would try to create a bit of walkmesh that follows the path you want the object to follow, maybe with just a walkmesh helper ramp just hanging out in midair.  Then I'd create a creature that looked like the object, maybe by creating a custom VFX and sticking it on a tiny creature.  Then you can move the creature about with a script.

 

Honestly, though, I'd probably just try to fake the movement with clever camera angles.


  • DukeVega aime ceci

#8
DukeVega

DukeVega
  • Members
  • 205 messages

its basically a montage to The Matrix, upon login you appear in a kind of matrix code glowing green room before speaking with a orb thingy which will take you into the game. its a kind of pointless but fun area



#9
DukeVega

DukeVega
  • Members
  • 205 messages

i think the camera angle idea may work, ill experiment with it 



#10
rjshae

rjshae
  • Members
  • 4 505 messages

If you are trying to simulate the columns of green symbols running downward, you could take advantage of the UV scroll feature available with placeables. I.e. you create a vertical surface with the texture you want, then set the UV scroll so that it marches down the side in a continual loop. Or maybe have several such with varying scroll rates placed against a black background.



#11
kamal_

kamal_
  • Members
  • 5 258 messages

If its the latter, yeah, tricky, not something i've ever done myself. I did see a demo once though by someone who created moving objects by using the create/destroy method mentioned by rjshae - although i wouldn't try that in a persistent world environment, only a single player module. The overhead would be crazy otherwise.

I posted a thread a while back where I released scripts to do it. I'm hardly the first person to do so. And yes, it's very bad for performance to do it that way. You would probably be better off making a placeable with a custom animation that moves it along the desired path.



#12
DukeVega

DukeVega
  • Members
  • 205 messages

I posted a thread a while back where I released scripts to do it. I'm hardly the first person to do so. And yes, it's very bad for performance to do it that way. You would probably be better off making a placeable with a custom animation that moves it along the desired path.

 

 

ermmmmm whats the basics on how to do this? sure i can work it out if you point me in the right direction lol