View unanswered posts | View active topics It is currently Fri Dec 27, 2024 9:45 am



Reply to topic  [ 10 posts ] 
 Stop Crafts from Auto-Scuttling? 
Author Message
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Stop Crafts from Auto-Scuttling?
Setting a craft to a different AI mode every frame doesn't work, they still scuttle.


Thu Dec 31, 2009 3:04 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
Well what's causing it to scuttle - is it from overrotation or staying in one spot or what?


Thu Dec 31, 2009 3:30 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
Over-rotation. And I need it to rotate to use its doors for something.


Thu Dec 31, 2009 4:23 am
Profile
User avatar

Joined: Mon Jun 29, 2009 2:40 am
Posts: 610
Location: Deep below The Map of Mars
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
Check to see if it is about to rotate too far, then flip it instead so that it appears to very nearly rotate but does not ever go 180 degrees.
If you get what I mean.


Thu Dec 31, 2009 6:22 am
Profile
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
How fast it is rotating might be a factor too, though I'm not 100% positive on that.


Thu Dec 31, 2009 6:29 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
It didn't seem to be from my testing with the plane.

If possible, Cavecricket, try to use another class and just animate the doors. Keep in mind that literally all A* classes can have Inventory, it's just that craft are the only ones capable of delivering without gibbing.


Thu Dec 31, 2009 6:57 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
Alrighty, thanks for the help everyone. Perhaps I can use a list to store object presetnames and class...


Fri Jan 01, 2010 3:20 am
Profile
User avatar

Joined: Sun Feb 17, 2008 11:21 am
Posts: 54
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
You could have it go lifetime=1 and then spawn another one at the same angle, perhaps stopping it gibbing.


Fri Jan 01, 2010 12:28 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
You can use Actor:DropAllInventory if I remember correctly. The main problem will be making the doors pick things up, not spit them out.


Sat Jan 02, 2010 3:40 am
Profile WWW
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Stop Crafts from Auto-Scuttling?
Through some tests, I found that once you do DropAllInventory on a door craft, it will actually open it's doors and keep them open, allowing you to pick more things up (after a short time delay). But I don't think you can actually close the doors after that.


Sat Jan 02, 2010 3:43 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.072s | 13 Queries | GZIP : Off ]