It looks cool, but it breaks!

Let's face it, the main attraction of BSF is building your own ships. Share them! If you need help, check the Shipmaker Info & Help forum a little ways down.

Moderators: th15, Moderators

Post Reply
Raptor_a22
Ensign
Ensign
Posts: 7
Joined: Mon Aug 22, 2011 4:27 pm

It looks cool, but it breaks!

Post by Raptor_a22 »

I'ver got a problem with a design I'm creating.

Image

It looks fine in ShipMaker, but when I try and load it into Sandbox it comes up with the following errors:
Spoiler!
ERROR in
action number 1
of Create Event
for object __newobject1016:

In script nTur2:
Error in code at line 24:
l_section[argument6].l_child[l_section[argument6].l_childnum] = l_weapon[wj]

at position 4: Unknown variable l_section or array index out of bounds
---
ERROR in
action number 1
of Alarm Event for alarm 7
for object ShipSection:

Error in code at line 14:
l_c1 = merge_color(l_cm1,c_black,l_drawglow)

at position 21: Unknown variable l_cm1
---
ERROR in
action number 1
of Step Event
for object ThrusterEx:

Error in code at line 1:
image_angle = rs_owner.image_angle-rs_owner.l_angle + l_special6

at position 24: Unknown variable image_angle
---
ERROR in
action number 1
of End Step Event
for object ShipSection:

Error in code at line 275:
image_angle = l_owner.image_angle + l_angle + rs_rotang

at position 20: Unknown variable l_owner
---
ERROR in
action number 1
of End Step Event
for object ctr_Turrets:

Error in code at line 4:
dir = rs_offsetdir + rs_owner.image_angle - rs_owner.l_angle

at position 32: Unknown variable image_angle
Does anyone know how to fix this problem?

I am using custom ship sections from Kaelis' Shipwright Packs and custom sprites from HorseMonster's Detailed Weapons.
viewtopic.php?f=23&t=3035
viewtopic.php?f=23&t=4770
Firewing_Broke.rar
(5.01 KiB) Downloaded 69 times
I've added the ship files for anyone who wnats to take a look at it.
User avatar
calvin1211
Commodore
Commodore
Posts: 720
Joined: Wed Apr 07, 2010 7:12 pm

Re: It looks cool, but it breaks!

Post by calvin1211 »

IIRC it's usually caused by mirroring depthed weapons, (and maybe modules) though it also seems to pop up randomly from time to time.
Normally reloading the ship, messing around with it and saving it again should solve it.
Raptor_a22
Ensign
Ensign
Posts: 7
Joined: Mon Aug 22, 2011 4:27 pm

Re: It looks cool, but it breaks!

Post by Raptor_a22 »

Well I found out what the problem was.
I was stuffing around with turrets and drivers trying to figure out how they work, and something must have stuffed itself.
I deleted the section that I had experimented with, and it worked perfectly!
User avatar
Kiltric
Captain
Captain
Posts: 491
Joined: Sat Apr 11, 2009 4:44 am

Re: It looks cool, but it breaks!

Post by Kiltric »

The shape is cool, and the general design is good.

My only two criticisms are the liberal use of the "Generic" sections, which lack fine details and don't look good in large quantities. Also, the holes in the ship make it look very fragile and don't look good in general. That's not to say holes are inherently bad, but here, they don't look good.
Post Reply