Advanced Search

Author Topic: Help Making an SMMG4 Class  (Read 1289 times)

0 Members and 1 Guest are viewing this topic.

November 07, 2016, 12:12:12 AM
Read 1289 times

SMMG44

  • Guest
Help Making an SMMG4 Class
« on: November 07, 2016, 12:12:12 AM »
I'm trying to make a MM8BDM v5a class with TNTCannon as the copywep.that works fine,just remove the other "#include <>" besides the "#include newweapon.txt" one.Otherwise,there's a couple of errors.

"Script error, "SMMG4CLASS.pk3:custom/smmg4.txt" line 4:
Unexpected '1' in definition of 'SMMG4'"

ried to register class 'WeaponCharge' more than once.
Tried to register class 'ShieldCheck' more than once.
Tried to register class 'TargetMarker' more than once.
Tried to register class 'TargetTracer' more than once.
Tried to register class 'TargetAimPoint' more than once.
Tried to register class 'ShieldHits' more than once.
Tried to register class 'HitShieldProtection' more than once.
Tried to register class 'StopHitShield' more than once.
Script error, "SMMG4CLASS.pk3:custom/tntcannon.txt" line 28:
Weapon TNTCANDORF doesn't define a select state.

Script error, "SMMG4CLASS.pk3:actors/smmg4/smmg4" line 4:
"player.displayname" requires an actor of type "PlayerPawn"


Execution could not continue.

Script error, "SMMG4CLASS.pk3:actors/smmg4/smmg4" line 4:
Unexpected 'SMMG4' in definition of 'SMMG4'


Could anyone mind helping?Also,Here's a link:
https://www.dropbox.com/s/lwy9u8t1dymk5pj/SMMG4CLASS.pk3?dl=0


edit:

Fixed it a bit,but got more errors


Tried to register class 'WeaponCharge' more than once.
Tried to register class 'ShieldCheck' more than once.
Tried to register class 'TargetMarker' more than once.
Tried to register class 'TargetTracer' more than once.
Tried to register class 'TargetAimPoint' more than once.
Tried to register class 'ShieldHits' more than once.
Tried to register class 'HitShieldProtection' more than once.
Tried to register class 'StopHitShield' more than once.
Script error, "SMMG4CLASS.pk3:custom/tntcannon.txt" line 24:
Weapon TNTCANDORF doesn't define a select state.

Script error, "SMMG4CLASS.pk3:custom/tntcannon.txt" line 24:
Weapon TNTCANDORF doesn't define a deselect state.

Execution could not continue.

2 errors while parsing DECORATE scripts

November 07, 2016, 12:13:00 AM
Reply #1

SMMG44

  • Guest
Re: Help Making an SMMG4 Class
« Reply #1 on: November 07, 2016, 12:13:00 AM »
And I dont know what to put instead of "1" :mad:
And once I delete one line,another error shows "Unexpected <> in Definition of 'SMMG4'"

Edit:Can someone lock this?IVE GOT IT