News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Thread Tools Display Modes
Old 13th Oct 2001, 09:30 PM   #1
DeeperShade's Avatar
Join Date: Dec. 8th, 2000
Posts: 9,621
Redeemer Chopper stuff

Ok, basically ive got the model in my sig into UT. Now i want to to move around like a chopper. It can hover near targets and stuff, but i want it to be fired like the GuidedWarShell.... so the player controls it but it only lives for about 3 minutes..

The Heavy Corvette has two chaincannons which it can use as weapons. If it touchs a building it blowsup, if it touchs a player then it knocks the player away but doesnt do damage to the player...

Can someone give me some pointers for this please?
DeeperShade is offline   Reply With Quote
Old 26th Oct 2001, 11:25 PM   #2
Registered User
Join Date: Feb. 4th, 2001
Posts: 25
Exclamation Advanced Topic, be warned.

First, i would suggest making it a subclass of the redeemer shell, and making its launcher a subclass of the redeemer itself.


- Chainguns. make your launcher weapon do all the firing when the pilot presses the 'fire' button. however, instead of running a trace (the best chaingun trace examples are of the minigun, complete with spiffy little lines of light) from the weapon like usual, simply imput the projectiles location and rotation instead. This way, the weapon fires the bullets, but as far as the weapon is concerned these bullets are coming out from the location and dirrection of your aircraft.

Though possibly to make another weapon for the chaingun state, i would recomend you leave this alone, as modelless weapon timing is a general pain in the rear, and it is a frightfulyl compelx system to amke a weapon that temporarily blocks out other weapons, esspecially while flying around this modified redeemer rocket. Though this is the best solution if the player rides inside the aircraft (aka a strangelove clone to some degree) it is probally the worst choice if the player stays stationary like with the basic redeemer weapon.

- Collsion. well, the hit something - explode is pretty much made. You may want to play around with the actual explosion setup itself, but the general hitwall is perfect i would imagine. However, there should be a function along the lines of processtouch or the like. in it you want to test if the actor it touched is a pawn, then you want to give that pawn a blurp of acceleration in the dirrection the aircraft is moving, or something similar. All in all, i think there is a lot you can do here, and it would take a lot of playtesting to perfect.

- Hover. This is the hard part. The easiest, though far from 'best', way to do this would be to add a throttle system. Basically you will need to take a look at how the rocket moves foreward, and add a fucntion (preferably keybinding started) that increases or decreases things ability to move foreward. If you are creative with it, you could havea brake button that would slow you to a hover if held down, and will slowly speed up if released. I would warn you about rewriting any of the mahor movement issues of the weapon, mostly becase the netcode is heavy and it is generally complex; leaving it alone iwll leave you with more than half decent air physics, and in theory basic netsupport (at least for the projectile) for the inevitable time when you try to play this onliine with your friends
vlosk is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 02:12 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.

Copyright ©1998 - 2015, BeyondUnreal
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer