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=0edit:
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