View Full Version : sharks
legacy-K_K
01-18-2006, 02:18 PM
Could anybody tell me (without mentioning scripting because i am scared of scripting) How to add sharks!? and how to make them work? I can add one in but it just sits there and does sod all. Is it something to do with actors and xeffects? I searched the wiki and found loads but didnt understand it. I need it in plain english lol. I can't copy the ones from dm oceanic because they are far too big for my little pool.:)
sorry to keep posting about stupid things
thanx alot
legacy-xkznanna
01-18-2006, 04:28 PM
once you add the shark from oceanic right klik it open its properties goto display and lower the drawscale slightly would that work?
legacy-ImaCarrot
01-19-2006, 12:53 AM
the sharks from Oceanic are decorations that play a single animation in a loop. Even if you made them smaller, chances are their animation wouldn't fit your pool right. The scripting to make your own decoration with animation is really easy, as long as you know how to compile your own code. You just have to hijack the Shark.uc code and use your mesh and animation instead of theirs.
Sorry, if you want a shark that animates (decently) you are going to have to do a bit of coding... as well as animating and modeling and texturing...
Carrot
legacy-K_K
01-20-2006, 01:40 PM
the sharks from Oceanic are decorations that play a single animation in a loop. Even if you made them smaller, chances are their animation wouldn't fit your pool right. The scripting to make your own decoration with animation is really easy, as long as you know how to compile your own code. You just have to hijack the Shark.uc code and use your mesh and animation instead of theirs.
Sorry, if you want a shark that animates (decently) you are going to have to do a bit of coding... as well as animating and modeling and texturing...
Carrot
:) hijack the whawha? I dont know how to use maya! I dont know how to animate! easy? really? :mefiant15: can i not just use the meshes from oceanic and change their loops? hmmm could YOU do it for me? If all fails, or you dont have enough time, i will have my pool as a circle cut out of the floor, the subtraction underneath the rim can be as big as it wants to be, so the top of hte pool is more like an opening where you can see the sharks pass through now and then, not necessarily a restricting circle for the sharks. One more thing- are all the sharks from ocenaic the same but a different size? and how many are there, im sure there is 5 but evry1 else says there's only 4.:)
legacy-ImaCarrot
01-20-2006, 11:14 PM
So making your own is out of the question, and I don't have the time to do it for you. If you look at the shark's animation path, it is basically a circle shape that he swims in, so resizing the shark to fit your tank should work just fine. It might be a better idea to scale him down a bit, then fit your tank around him, that way he doesn't look ridiculously small compared to the player. As it is, the shark isn't that much bigger than the player so it's believable, so you can't get away with too much scaling.
As for changing the loop the shark plays, you would have to make your own animation and bring it in. There is no way (that I'm aware of) to change the actual animation inside of UED.
The Oceanic shark should work fine for your map from the sounds of it. You should be able to copy and paste the shark from Oceanic then just scale it down. You said that you added a shark but it wouldn't animate in game, did you add it from the actor class browser Decoration>Shark? Also check your ingame settings, I think that you can turn decorations off if your settings are too low.
Hope that helps,
Carrot
legacy-K_K
01-23-2006, 01:26 PM
ok cool thanx Imacarrot!
this works fine and the sharks werent really a MAIN feature of my map in the first place.
one more thing lol-
i was wondering if anybody knows how to a) make the sharks kill you on contact and b) make a custom death message for a shark (or even better) EACH shark when they kill you (don't ask why this was my little bro's request). I think the killing thing is in the mesh/ decoration actor properties but not sure where...
legacy-ImaCarrot
01-23-2006, 05:09 PM
i was wondering if anybody knows how to a) make the sharks kill you on contact and b) make a custom death message for a shark (or even better) EACH shark when they kill you (don't ask why this was my little bro's request). I think the killing thing is in the mesh/ decoration actor properties but not sure where...
I'm pretty sure that is going to involve some custom code as well. The shark's currently have ZERO collision, so they can't interact with anything really.
You might be able to do it in the editor, without writing your own code. Try attaching a trigger to the shark with the AttachTag, this trigger could set off a scripted trigger that has actions in it that tell it to kill the instigator.
It would be easier if you did a tiny bit of scripting to make a volume moveable (it's one little line of code, search the forums for a thread about it, I'm sure there is one). Then all you have to do is attach a small volume to the shark and set it to kill the player when they enter it, this would also make it easier to have your own death message. Which, by the way, I think you have to make in code as well, along with your own damage type. These are all really easy to do and it would do you well to learn even this little bit of programming.
Ask questions on the scripting forums, people are really helpful over there as long as you aren't rude or ignorant of other people's feelings.
Carrot
legacy-Joebo3
01-24-2006, 06:04 PM
oh, KK this shark killing thing was in an Unreal Championship map that you can get only from downloading off of XBOX live. When you fell into the tank you died and there was a death message. Perhaps if you made seperate tanks of water and put a shark in each one. Add a water volume that causes instant death and has a unique message. Like if you fall into tank 1 it'll say "Freddy ate your guts!!". I'm pretty sure this would work but i could be wrong. Try it, I doubt this requires coding, and if it does, very little will be needed.
legacy-K_K
01-25-2006, 12:56 PM
*sigh* lolol. ok me tryyyyyyy... thanks for all your time
Imacarrot, could i use the attatch tag to trigger a deathmessage to the moving volume? Could i not make the shark do x damage per second like you can do with moving or static meshes? and, scripting forums ok. I am rude and i am ignorant tho so, dunno if they will like me lol! *Going there now*
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.