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 Scripts / My cheat script dont work

Author
Message
Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 17:50 Edited at: 10th Mar 2008 18:02
I made a cheat script but it has no effect,
can somebody can help my find the bug?


Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 10th Mar 2008 17:59 Edited at: 10th Mar 2008 18:02
Take out reload weapon, it doesn't work for the player so the script stops. I'd take out ALWAYS too.


Image made by the overworked Biggadd.
Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:01 Edited at: 10th Mar 2008 18:04
I have tried, i have removed the reload weapon and always but it still dont work..
But thank you

Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 10th Mar 2008 18:04
See above post ^^


Image made by the overworked Biggadd.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Mar 2008 18:05 Edited at: 10th Mar 2008 18:05
ALWAYS is a condition, not an action, and you dont need it.

Best.

Ooops. Missed Keo's post.

Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:06 Edited at: 10th Mar 2008 18:06
Do it work for you ? , now i got :



Do i must ad PLRWITHIN things or something?

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Mar 2008 18:07 Edited at: 10th Mar 2008 18:10
You've got too many colons in the first line.

Best.

And make sure whatever you've assigned the script to is dynamic. I'm not sure how those two =31 are going to work.

Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:09 Edited at: 10th Mar 2008 18:19
What do you mean xplosys?

Quote: "You've got too many colons in the first line."



I know i am not very good, but i am just new with scripting.

i have now:



xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Mar 2008 18:14
Quote: ":state=0::state=1"


:state=0::state=1 should be.... :state=0:state=1

And you have...

:state=1:SCANCODEKEYPRESSED=31:state=2
:state=2:SCANCODEKEYPRESSED=31:state=3

Both of those will be true when you press the key once so the state will go from 1 to 3. I don't know if you did that for a reason.

Best.

Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:18
Edit post above:

With i have now:

But i still dont work, but thanks for your help

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Mar 2008 18:20 Edited at: 10th Mar 2008 18:24
You do know that health will not be added unless it is below full, right? What entity is the script assigned to and is it a dynamic entity?

best.

Ok, now all of your lines have too many colons. Only 2 per line. One before the conditions, and one before the actions.

:state=1,SCANCODEKEYPRESSED=31:state=2
:state=2,SCANCODEKEYPRESSED=31:state=3
:state=3,SCANCODEKEYPRESSED=25:state=4
:state=4,SCANCODEKEYPRESSED=18:state=5
:state=5: PLRADDHEALTH=100,state=6

Best.

Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:22 Edited at: 10th Mar 2008 18:29
Its meant for a world , a full level not an entity..
I mean i cann activate the cheat everyware in the level so i use a triggerzone..

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Mar 2008 18:25
I changed my post above. Place a dynamic light anywhere in the level and assign the script to the lights AI Main.

Best.

Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:30 Edited at: 10th Mar 2008 18:36
Quote: "Ok, now all of your lines have too many colons. Only 2 per line. One before the conditions, and one before the actions."


-

I have tried replace , i will restart make the script with diffrent keys..
like o,p,0,m .. with your information

Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:47
Update:

I recreate the script with no luck:



And ad the screeny for more information:

Attachments

Login to view attachments
Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 18:48 Edited at: 10th Mar 2008 18:50
Screeny in-game

So the script dont work

( same story with the light )

I am back soon to read what happenings here

Attachments

Login to view attachments
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Mar 2008 19:08
I assigned this script to a dynamic light, and it worked fine.

Quote: ";Artificial Intelligence Script

;header

desc = Cheat op0m

:state=0:state=1

:state=1,scancodekeypressed=24:state=2
:state=2,scancodekeypressed=25:state=3
:state=3,scancodekeypressed=11:state=4
:state=4,scancodekeypressed=50:state=5
:state=5:plraddhealth=50,state=6

:state=6:state=1

;end of script"


Best.

Dark Jaguar Flame
17
Years of Service
User Offline
Joined: 9th Aug 2007
Location: The Netherlands
Posted: 10th Mar 2008 19:23
Great !
Thank you Xplosys!
What have you changed with


and



?

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 11th Mar 2008 15:02
I'm not sure but you have a space after :state=5:, perhaps that's what's throwing it out.

Login to post a reply

Server time is: 2024-11-24 07:00:10
Your offset time is: 2024-11-24 07:00:10