RuneStorm
https://www.runestorm.com/forums/

Vehicle Aide
https://www.runestorm.com/forums/viewtopic.php?f=69&t=74831
Page 1 of 1

Author:  Wangtang [ Mon Dec 08, 2008 2:14 pm ]
Post subject:  Vehicle Aide

I require Aide in teh vehicle area.
My advanced vehicle coding fails.
situation: I'm making a vehicle based off of the ONSPlaneCraft class.
As we know, the plane class lacks a good first person view, along with the lack of a rudder (which isnt much of a problem) and some general effects like engine exhaust (as int eh flames on the raptor) and the general startup/shutdown noise.

Problem: I need to get it to have some engine effects (preferably using the redeemer effect with its flame and smoke trail) and the general startup/shutdown sounds. And it must work online.

Author:  Black Eagle [ Fri Dec 19, 2008 3:34 am ]
Post subject:  Re: Vehicle Aide

I see..

Well.. first if the engine flames will be on all the time here is the best way..

Write this somewhere..

function PreBeginPlay()
{
Super.PreBeginPlay();

Spawn(class'Whatever the effect class is called',Location + EffectOffset);

you might want to have access to it's properties so make this instead.

EngineSmoke = Spawn(class'Whatever the effect class is called',Location + EffectOffset);

make sure you make a variable like this..

var NameOfEffectClass EngineSmoke;
}

It should have the startup sounds and such already under the default properties like most vehicles..

That should work fine in multiplayer.. But if you want to alter certain things.. it may get alot more complicated..

Failing everything, check out the BombardmentGametype thread, to get my plane class..
I could also use your skills with vehicles..

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/