Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Fix for Model Pack 20 attack scripts

Author
Message
Flatlander
FPSC Tool Maker
19
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 9th Jun 2012 04:27 Edited at: 10th Jun 2012 06:34
To all who have this model pack

When you write a script or if any older scripts are encountered where the characters appear to be stuck and kind of shake and shimmy, you need to know this: when a semi-colon is on a line no matter in what position of that line, then that line is treated as a comment. That is the problem with the scripts for in Model Pack 20 and was also one of the problems in Model Pack 52.

To the fix the script do the following.

Locate the text:

;this is the callback after the enemy dies to reset his aimation

It is found on four (4) separate lines.


Either delete this text or cut it from the line it is on and paste it above the line where it was found.

Be sure and include the semi-colon. That's what causes the line not to be executed.

This is all that is necessary. The script and your characters will then work fine.

If you have FPI EditPad, you will notice that the line is colored green. This means the line is considered a comment line and it will be ignored. So anytime you see a green line check to see if there is a semi-colon -- not at the beginning -- but at the end of valid commands. This will probably mean that the valid commands need to be executed and therefore the commented text needs to be deleted or moved.

"A programmer is just a tool which converts caffeine into code . . . reminds me….. if I had one more brain cell, I could have a synapse! woo hoo, Sparky!

~I'm the Terry of the Flatlands.
TIMON
14
Years of Service
User Offline
Joined: 28th Aug 2011
Location: France
Posted: 9th Jun 2012 11:03
And you have to do this for the 2 files: swordattack.fpi and axeattack.fpi
MK83
FPSC Reloaded TGC Backer
20
Years of Service
User Offline
Joined: 10th Jun 2006
Location: Greeneville, TN
Posted: 10th Jun 2012 00:53
thank you Flatlander

mk83 Productions
The Zombie Killer
15
Years of Service
User Offline
Joined: 27th Mar 2011
Location: Gold Coast, Australia
Posted: 10th Jun 2012 03:50
Why has this not been stickied? Plus, why haven't Flatlander's fixes
been put into upgrades for the packs? These fixes are essential to
the users of the packs.

-TZK

TriSpefear Studios
14
Years of Service
User Offline
Joined: 11th Nov 2011
Location: Dallas, Texas, USA
Posted: 13th Jun 2012 17:24
That happens in model pack 12 too i think

"Everyone may doubt me, but your just giving me more of a reason to continue on..."
TIMON
14
Years of Service
User Offline
Joined: 28th Aug 2011
Location: France
Posted: 14th Jun 2012 00:00
Note: This problem happens also in the roman model pack, the way to fix it is the same
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 14th Jun 2012 15:28
thanks for pointing on this, flatlander.

for you:

Login to post a reply

Server time is: 2026-07-05 15:02:23
Your offset time is: 2026-07-05 15:02:23