Data Realms Fan Forums
http://45.55.195.193/

Another one of those RTE Aborted posts
http://45.55.195.193/viewtopic.php?f=1&t=17392
Page 1 of 1

Author:  dhart5000 [ Mon Dec 21, 2009 1:01 am ]
Post subject:  Another one of those RTE Aborted posts

I'm trying to use part of the Dummy Crate script as a template to make a craft that will die immediately upon spawning and release no gibs, making it look like the contents just fell out of space. When I load up CC, it gives me an RTE Aborted message saying that I tried to reference "Air Lock Crate Craft" and it wasnt defined, but I did put it in there. I'm realatively new at modding, so if anyone could take a look at my coding and see what I screwed up it would be greatly appriciated.

Attachments:
File comment: This is the file
Air Lock.ini [3.69 KiB]
Downloaded 99 times

Author:  PhantomAGN [ Mon Dec 21, 2009 4:55 am ]
Post subject:  Re: Another one of those RTE Aborted posts

The issue is that you first define a rocket, then CopyOf a dropship.
You can replace it like so: [Attachment]
You effectively were defining three different crafts, each only slightly different from the last.

Edit:
I made this into a mod, as it only took a few minutes.
Attachment:
Air Lock.rte.zip [2.49 KiB]
Downloaded 84 times
You'll need to made it work better for yourself, but it's pretty satisfactory.

I wanted to solve the non-instant death with lua, but instead I just deleted the doors.
Note: it basically hurls things down randomly, but this is more or less what being tossed out of an airlock would be like.

Author:  dhart5000 [ Mon Dec 21, 2009 10:36 pm ]
Post subject:  Re: Another one of those RTE Aborted posts

Thank you!!! I never could have figured that out on my own.

Author:  PhantomAGN [ Mon Dec 21, 2009 10:50 pm ]
Post subject:  Re: Another one of those RTE Aborted posts

No problem, I like helping out.
But in return, see what I did so you can pass it on yourself.

With a little work you could produce a whole line of bombs to put in this too, like anvils, random furniture, a cow, etc.
It would make a pretty fun collection actually.
Also, I made it a bit better just now.
Attachment:
Air Lock Drop.rte.zip [2.5 KiB]
Downloaded 90 times

Now it has lua code for gibbing, and by changing the ini code for the "crate's" initial velocity, you can sorta aim the thing that comes out.

Oh, and try filling it to the brim with standard coalition bombs.

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