Advanced Search

Author Topic: Help with coding  (Read 4113 times)

0 Members and 1 Guest are viewing this topic.

July 28, 2015, 05:45:53 PM
Read 4113 times

Offline BiscuitSlash

  • MM8BDM Extender
  • *
  • Date Registered: November 20, 2010, 12:49:25 PM

    • View Profile
Help with coding
« on: July 28, 2015, 05:45:53 PM »
Need a little help with 8BDM coding here.

I'm making a small mod that adds an extra class to be used alongside the Megaman class that is still there.

However, two problems:

-Whenever someone respawns, the top-left of the screen says "P_StartScript: Unknown Script 252", or something along those lines. I really don't know what this is referring to.
-The new class only allows the base skin to be used. What decides whether or not a class can use every skin available?

Any help would be appreciated.

July 28, 2015, 06:53:09 PM
Reply #1

Offline Trillster

  • Time Lord

  • what's a code
  • *******
  • Date Registered: July 18, 2014, 08:42:32 PM

    • View Profile
    • Portfolio
Re: Help with coding
« Reply #1 on: July 28, 2015, 06:53:09 PM »
Eh, I might as well help with this, I couldn't be too sure about the P_StartScript: Unknown Script 252 issue without actually seeing the code though I'm guessing there's an ACS_ExcuteAlways causing that issue and as for the skin issue, the playerclass should have a flag named SKIN,
with -SKIN meaning it can't use other skins.

July 28, 2015, 08:20:06 PM
Reply #2

Offline Russel

  • MM8BDM Extender

  • Doc Croc
  • ***********
  • Date Registered: December 17, 2010, 11:11:25 PM

    • View Profile
Re: Help with coding
« Reply #2 on: July 28, 2015, 08:20:06 PM »
Quote from: "BiscuitSlash"
-Whenever someone respawns, the top-left of the screen says "P_StartScript: Unknown Script 252", or something along those lines. I really don't know what this is referring to.
Based on the fact script 252 is in the core, it sounds like you're trying build your class off of an older version of the ACS script. I would recommend updating the ACS files to that of v4c.

Quote from: "BiscuitSlash"
-The new class only allows the base skin to be used. What decides whether or not a class can use every skin available?
Skins are connected with the name of the class, which means you can't have a skin for more than one single class without redefining it to work with both classes.

July 29, 2015, 02:27:57 PM
Reply #3

Offline BiscuitSlash

  • MM8BDM Extender
  • *
  • Date Registered: November 20, 2010, 12:49:25 PM

    • View Profile
Re: Help with coding
« Reply #3 on: July 29, 2015, 02:27:57 PM »
Thanks! All's good now!

It's kinda saddening that custom skins can't be used for this, but ah well, it's a single player mod anyway.