I'm about to embark on making a mini mod and wanted to ask a couple of questions. I've been reading at:-
http://udn.epicgames.com/Two/WebHome
I've not found a great amount of information I can use at the moment. I want to achieve the following: -
An operatable telescope / turret, doesn't have to fire simply turn and zoom.
A sentry gun (a copy of the ones from the film Aliens)
An egg hatchery room which has a trigger sense and then plays an animation on an egg static mesh eventually spawning a face hugger (obviously needs bot code + plenty of work).
Anyhow any ideas / points in the right direction?
Replies
Turret/telescope. just subclass an existing turret and remove the weapon code so you don't have to modify the playercontroller too much.
Sentry gun: Likely a full custom build, as there arent any monsters that act like sentry guns already in the unreal codebase. You can copy chunks of code though, like fireing states, and rest states. You'll likely rely on a radiusActors function to cause the thing to fire at what you want, especially if your aliens, or whatever, are all derived from a single class.
Egg hatchery: Animations wont be on a static mesh, but you can use animated objects in maps static meshes. syntax, I know. The actual egg shouldn't be too hard, the facehuggers would be the harder thing to code, but you should be able to find what yo uneed on UDN or Beyond unreal's WIKI, or just browse through the UC's of things that are similar to what you are trying to make and taking as much as you can from them.
Also feel free to PM me/use this thread if you have more specific questions. I've done a good bit of scripting in unreal.