View unanswered posts | View active topics It is currently Mon May 06, 2024 8:37 pm



Reply to topic  [ 5 posts ] 
 UFO Question: hatch / flypositions 
Author Message

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post 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


Sat Sep 19, 2009 12:59 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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


Sat Sep 19, 2009 1:05 am
Profile

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post 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


Sat Sep 19, 2009 1:21 am
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post 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.


Sat Sep 19, 2009 2:07 am
Profile YIM WWW

Joined: Fri Sep 18, 2009 7:44 pm
Posts: 13
Reply with quote
Post 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.


Sat Sep 19, 2009 6:48 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.030s | 13 Queries | GZIP : Off ]