View unanswered posts | View active topics It is currently Thu Oct 03, 2024 4:52 am



Reply to topic  [ 4 posts ] 
 Another one of those RTE Aborted posts 
Author Message
User avatar

Joined: Mon Dec 21, 2009 12:26 am
Posts: 77
Reply with quote
Post 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
Mon Dec 21, 2009 1:01 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: 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.


Mon Dec 21, 2009 4:55 am
Profile
User avatar

Joined: Mon Dec 21, 2009 12:26 am
Posts: 77
Reply with quote
Post Re: Another one of those RTE Aborted posts
Thank you!!! I never could have figured that out on my own.


Mon Dec 21, 2009 10:36 pm
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: 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.


Mon Dec 21, 2009 10:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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.063s | 14 Queries | GZIP : Off ]