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 / Using 'cheats' to give the player a weapon (Ply's Mod 1.08)

Author
Message
lil marioman
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: Canada
Posted: 11th Jul 2009 23:50
I'm having a bit of trouble making this script. It's supposed to give the player a weapon after I press 'okok', and show an HUD that tells me the cheat was activated. Here's my script, so far:


It doesn't show the HUD, nor give me the weapon. I'm 99.9% sure the file path to the HUD is correct. I attached this to the 'Main' script second of a Dynamic Entity. The MSG90 that I was trying to give was on the level. Any suggestions?

Scrabble is not my thing. X_X
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 12th Jul 2009 02:09
I dunno, I've had trouble with a similar thing, replacing the player's empty hands with a Katana...

I dunno what the issue is, I'd recommend you email Ply about it...

If I was ever given the opportunity to remove all the bad from the world, I wouldn't, because for there to be heroism, compassion and all that is good, there must also be all that is bad.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 12th Jul 2009 03:25
When giving folder names, or file names in general, make sure they DO NOT contain a space. The space in the name confuses the parser and breaks the command.

You will need to go and rename the folder/file that contains the space before using the command.


The one and only,


shadowfire
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: England
Posted: 12th Jul 2009 17:30
ply's right, you can't have any spaces, but you can take a look at conjured's scripts, they work on the same principle, and you can copy some of the lines from them.

Coming soon: what lies beneath.
check out the official thread: http://forum.thegamecreators.com/?m=forum_view&t=153893&b=25
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 14th Jul 2009 01:20
As far as I'm aware, CE doesn't use any Mods, he only scripts for vanilla FPSC. So it'd be kind of hard to make a weapon replacement system based off of his scripts.


The one and only,


Login to post a reply

Server time is: 2024-11-25 03:44:10
Your offset time is: 2024-11-25 03:44:10