Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: HLD_Prophecy on October 31, 2016, 10:33:13 am

Title: Wierd bug - no weapons?
Post by: HLD_Prophecy on October 31, 2016, 10:33:13 am
So I've got this really strange bug. The weapons assigned to the player ship don't show up. In-mission, the weapons field on the HUD just says <None>.

And that's all I know. I can't find what's wrong in the wep.tbm or the shp.tbm. I had just changed a custom primary weapon name in the wep.tbm, and I did change the name in the corresponding areas of the shp.tbm. The error only happened after I did that.

Can someone help me out, please?
Title: Re: Wierd bug - no weapons?
Post by: Droid803 on October 31, 2016, 10:52:24 am
Did you put the msission into a campaign?
Are said weapons unlocked for the player in the campaign?
Title: Re: Wierd bug - no weapons?
Post by: HLD_Prophecy on October 31, 2016, 11:26:53 am
Did you put the msission into a campaign?
Are said weapons unlocked for the player in the campaign?

Aha, unlocking is what I forgot. How do I do that again?

Thanks!
Title: Re: Wierd bug - no weapons?
Post by: Droid803 on October 31, 2016, 12:02:18 pm
Should be an option in the campaign editor to have it unlocked by default.
Otherwise there's an sexp you put into a mission that unlocks it if you want it to be unlocked at a certain point of the campaign.
Title: Re: Wierd bug - no weapons?
Post by: HLD_Prophecy on October 31, 2016, 02:38:44 pm
Thanks, found the option and set that up!
Title: Re: Wierd bug - no weapons?
Post by: HLD_Prophecy on October 31, 2016, 02:43:28 pm
Um, I hate to say this but the bug is still there. Any other ideas?
Title: Re: Wierd bug - no weapons?
Post by: HLD_Prophecy on October 31, 2016, 02:51:17 pm
Um, I hate to say this but the bug is still there. Any other ideas?

Aha, problem solved! I just had to restart my campaign. Thanks a bunch!