Data Realms Fan Forums http://45.55.195.193/ |
|
UFO Question: hatch / flypositions http://45.55.195.193/viewtopic.php?f=1&t=16567 |
Page 1 of 1 |
Author: | waldespast [ Sat Sep 19, 2009 12:59 am ] |
Post subject: | UFO Question: hatch / flypositions |
I made a ufo and i think that im ready, but there are 2 things which pissed me off^^ 1. How to increase the Hatch attraction? 2. i used dummydropshipt as source and now my ufo went diagonal to the left/right... its a ufo and should be only in horizontal position. im sure that this is easy but i cant fix this 2 things |
Author: | Duh102 [ Sat Sep 19, 2009 1:05 am ] |
Post subject: | Re: UFO Question: hatch / flypositions |
Hatch attraction... Like the rate at which things are sucked into it? I'm not sure you can. I've never played with it though, so I can't be certain. The diagonal movement thing can be fixed with a small Lua script. Put the following code into a file and save it as "horizontal.lua" in your mod's directory, then in the dropship definition, add the line "ScriptPath = [yourmod.rte]/[path to where you put the .lua file]" tabbed to the same level as "PresetName". Code: function Update(self) self.RotAngle = 0; end |
Author: | waldespast [ Sat Sep 19, 2009 1:21 am ] |
Post subject: | Re: UFO Question: hatch / flypositions |
Thanks for lua the Hatch should soak weapons , actors /friend&enemy. I think a lua script fix this(i dl all cool mods and there are some wich can help) but i am a crabby at lua |
Author: | carriontrooper [ Sat Sep 19, 2009 2:07 am ] |
Post subject: | Re: UFO Question: hatch / flypositions |
Dude, no need to use sparkle magic on this one. On this: Code: AddExit = Exit Offset = Vector X = 0 Y = 28 Velocity = Vector X = 0 Y = 4 Radius = 22 Range = 45 modify the Velocity. If your 'ship's hatch is straight down I suggest toying only with the Y velocity. |
Author: | waldespast [ Sat Sep 19, 2009 6:48 am ] |
Post subject: | Re: UFO Question: hatch / flypositions |
AHH ♥♥♥♥ i changed all other *options* whith exception to this part in ac rocket,,, realy thanks dude. (i thinked that this is only a easy think and that it cant be so difficult....) THX now i finished. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |