Programming Question Animating 3 or 4 doors (Earth Spacedock)

Kendo

New member
Joined
Oct 16, 2007
Messages
589
Reaction score
1
Points
0
I wish to animate 3 or 4 separate doors individually, what keys can I use.?
Many thanks,Ken.
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,907
Reaction score
205
Points
138
Location
Cape
Do you mean with spacecraft3 ?
 

Kendo

New member
Joined
Oct 16, 2007
Messages
589
Reaction score
1
Points
0
The only keys I get to work are G and K.
Ideally 1 2 3 4 would be good.
 

liber

Member
Joined
Aug 15, 2008
Messages
950
Reaction score
2
Points
18
Location
Room
Website
www.bw.org
Copy past from Spacecraft.pdf


‘j’ : jettison the payloads
Keys for animation sequence must be defined in the ini file (recognized keys are K, G,
left-shift 0,1,2, …, 9. In pause mode, left-shift 0,1 ...9 will pause then restart the motion.
Using left-shift and left-ctrl 0,1,2,...,9 will restart the motion in the opposite direction.
new'a' : Activate / Deactivate parent attachment management. A message will be displayed in
the screen bottom left when activated. The name of the selected attachment and the name of
the attached vessel (if any) is displayed. When active, cycle through attachment by using left
shift Key + NumPad 4 (previous) or NumPad 6 (next). Use left shift Key + NumPad 0 to
attach child (if any) / detach child (depending on the current status of the parent attachment)
Use left shift Key + NumPad 5 to toggle display of grapple points
new'space bar' : Activate / Deactivate robotic arm. A message will be displayed in the screen
bottom left when activated. The name of the selected robotic arm part is displayed. You can
cycle through the different parts by using left shift Key / NumPad 4 (previous) or NumPad 6
(next). Use left shift Key + NumPad 8 or left shift Key + NumPad 2 to move the part in one
direction or in the other direction. Releasing the key will stop motion. Use left shift Key +
NumPad 0 to grapple or release the target.
newLeftShift +NumPad * : activate/deactivate RCS mode
newLeftShift + NumPad . : activate/deactivate Control Surface mode


There is problem with keyborad without numpad for LeftShift+number.
Depend on laptop you can activate it for use.

Some hint:

http://www.dummies.com/how-to/content/how-to-use-the-numeric-keypad-on-your-laptop.html

http://www.northlite.net/ps/numpad.htm

http://www.pctips.smittystips.com/v_enable_laptop_numpad.php
 

Kendo

New member
Joined
Oct 16, 2007
Messages
589
Reaction score
1
Points
0
Only K and G work. Numbers don,t.
 

n122vu

Addon Developer
Addon Developer
Donator
Joined
Nov 1, 2007
Messages
3,196
Reaction score
51
Points
73
Location
KDCY
Not trying to be a jerk here, but did you read liber's post before thanking it?

In pause mode, left-shift 0,1 ...9 will pause then restart the motion.
Using left-shift and left-ctrl 0,1,2,...,9 will restart the motion in the opposite direction.

You have to use left-shift in conjunction with the numbers. If you want to be able to pause and/or reverse the sequence, left-shift plus the defined number will start, pause and restart, while holding left-shift and left-control and pressing the number will reverse the animation and also pause/restart in that direction.

If you don't have a numberpad on your keyboard, you need to check out the links he posted.

Hope this adds a little clarity...
 

Kendo

New member
Joined
Oct 16, 2007
Messages
589
Reaction score
1
Points
0
YES....I did read it.
I didn,t realize it was the Number Pad keys.
You have to turn off Numloock first.
If that,s so, that,s crap.
I,ll just have 2 doors animated.
I,m not messing around with this anymore.

O.K done 3 doors. 1, G, K, the other is permanently open.
 
Last edited:

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,907
Reaction score
205
Points
138
Location
Cape
Look at some examples of other spacecraft, done with spacecraft3.
 

Kendo

New member
Joined
Oct 16, 2007
Messages
589
Reaction score
1
Points
0
Is it possible to bring the doors slightly closer to you when opening.
Or better still alter the sliding angle.
As the doors open, they rotate in a circle, I need this circle wider.
With my Spacedock, when the doors are open, part of the doors show on the inside because they rotate in too tight a circle.
I cant use translate because they translate in a straight line.
I can get round it to a point by raising the doors up slightly when opening, but that changes the angle.
Hope you understand. Ken
 

Izack

Non sequitur
Addon Developer
Joined
Feb 4, 2010
Messages
6,665
Reaction score
13
Points
113
Location
The Wilderness, N.B.
Maybe as an alternative can you open/close the doors in groups of two?

As for the rotate animation, you can widen the circle by moving the centre of rotation farther away.
 

Kendo

New member
Joined
Oct 16, 2007
Messages
589
Reaction score
1
Points
0
Thanks Izack. How do you widen the circle by moving the centre of rotation farther away.

I,ve just got the best setting so far by using translate. I gave up on the others.
The Spacedock top slopes inwards towards the top.


[ANIM_COMP_0]
; Right Door
SEQ=0
GROUPS=35,36
TYPE=TRANSLATE
SHIFT=(-253.7,-10,0)

[ANIM_COMP_1]
; Left Door
SEQ=0
GROUPS=33,34
TYPE=TRANSLATE
SHIFT=(253.7,-10,0)

If I didn,t use the -10 setting, the doors would just show on the outside.
With this setting, the doors fit nicely between the inner and outer casing when open.

---------- Post added at 03:12 PM ---------- Previous post was at 04:54 AM ----------

All I need is for the doors to slide open horizontally, but keeping to the diameter of the vessel so they are in between the inner and outer shell when open.
I can,t seem find the relevant setting section.
 
Last edited:

Loru

Retired Staff Member
Retired Staff
Addon Developer
Donator
Joined
Sep 30, 2008
Messages
3,731
Reaction score
6
Points
36
Location
Warsaw
Some screensots would be helpfull
 
Top