Error upon loading a custom ship

Got questions about Shipmaker? Get answers here. Please read the stickied topics first!

Moderators: th15, Moderators

Post Reply
TehDictionary
Ensign
Ensign
Posts: 5
Joined: Wed Jun 26, 2013 12:23 pm

Error upon loading a custom ship

Post by TehDictionary »

I keep getting this error when I use custom ships with more than two weapons textured w/ different sprites. Any help appreciated.
Spoiler!
___________________________________________
ERROR in
action number 1
of Create Event
for object __newobject1097:

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 Step Event
for object ctr_Turrets:

Error in code at line 48:
else if (dc_group != -1 && l_owner.dc_controlled) then

at position 29: Unknown variable l_owner

___________________________________________
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 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 ShipSection:

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

at position 20: Unknown variable l_owner
User avatar
Zalausai
The Tutorialist
The Tutorialist
Posts: 939
Joined: Tue Feb 12, 2013 11:42 am
Location: Looking for angels in the Maze of the Dead.

Re: Error upon loading a custom ship

Post by Zalausai »

Are you using the most recent version of the game?
viewtopic.php?f=3&t=7034

Also, is the weapon depthed (pressing "w") before you mirrored it?
If it is mirrored while it is depthed, it can cause errors.
Last edited by Zalausai on Sat Jun 29, 2013 7:24 am, edited 1 time in total.
Has written a series of tutorials for the newbies
Zalausai's Tutorial Index

Created: Elements of Discord, Heaven's Grace, and Hell's Last Battalion.

I stop in from time to time to check in on the community. Though I don't spend much time with shipmaker anymore.
Proud parent since: 8/15/2013 (Baby Boy)

Good shipbuilders never die . . . they just fade away.
TehDictionary
Ensign
Ensign
Posts: 5
Joined: Wed Jun 26, 2013 12:23 pm

Re: Error upon loading a custom ship

Post by TehDictionary »

Oh, okay, thanks very much. Downloading now.
Edit: Thank you very much Zalausai, it works!
Last edited by TehDictionary on Sat Jun 29, 2013 7:30 am, edited 1 time in total.
User avatar
Zalausai
The Tutorialist
The Tutorialist
Posts: 939
Joined: Tue Feb 12, 2013 11:42 am
Location: Looking for angels in the Maze of the Dead.

Re: Error upon loading a custom ship

Post by Zalausai »

This may not fix everything. These are simply the most common solutions.
Has written a series of tutorials for the newbies
Zalausai's Tutorial Index

Created: Elements of Discord, Heaven's Grace, and Hell's Last Battalion.

I stop in from time to time to check in on the community. Though I don't spend much time with shipmaker anymore.
Proud parent since: 8/15/2013 (Baby Boy)

Good shipbuilders never die . . . they just fade away.
TehDictionary
Ensign
Ensign
Posts: 5
Joined: Wed Jun 26, 2013 12:23 pm

Re: Error upon loading a custom ship

Post by TehDictionary »

It works! Thank you.
Post Reply