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 / Help with multiplayer weapon spawn

Author
Message
F14M3Z
17
Years of Service
User Offline
Joined: 10th May 2007
Location:
Posted: 13th May 2007 20:13
Hi,

Im new hear and to FPSC so this could be a stupid question.

I tried to change the weapon that the play will begin with following this tutorial http://forum.thegamecreators.com/?m=forum_view&t=93533&b=21

I did everything it said and changed SAS (Pistol).fpe into Player1.fpe using these codes.



And when i spawn as that player in game i have no weapons.


-F14M3Z

http://www.gigachat.0kn.com
MikeB
17
Years of Service
User Offline
Joined: 5th Apr 2007
Location: My Computer, Shropshire, England
Posted: 13th May 2007 22:53
Oh dear.... do not do that.

All you need to do is right click on the player start marker (or the player character in online).
Then click on the Has Weapon slot.
Choose your weapon.


Hope that helped.

E.D.

P.S. Do not fiddle with fpes until you are fairly experienced, or you may have to re-install to get that weapon/item/character working again.

You can change most of the stuff from the FPE when you right click on an entity.

F14M3Z
17
Years of Service
User Offline
Joined: 10th May 2007
Location:
Posted: 13th May 2007 22:59
Quote: "Then click on the Has Weapon slot."


There is one of these for single player, but when i right click the player character in mutiplayer there is no "has weapon" slot. If there where i would not be fiddling with the fpe. Thanks any way. More help would be great.

http://www.gigachat.0kn.com
F14M3Z
17
Years of Service
User Offline
Joined: 10th May 2007
Location:
Posted: 14th May 2007 22:53
Bump for more help

http://www.gigachat.0kn.com
Jock
17
Years of Service
User Offline
Joined: 14th May 2007
Location: UK
Posted: 15th May 2007 20:30
Hi, I just tried this, re-pathing the weapon in the .fpe, changing:

;identity details
strength = 100
ischaracter = 1
hasweapon = ww2\bazooka
isobjective = 0
cantakeweapon = 1


into

;identity details
strength = 100
ischaracter = 1
hasweapon = ww2\colt45
isobjective = 0
cantakeweapon = 1

...just as Butter Fingers advises in his tutorial....

I dropped the character entity (SAS Bazooka ) into my map and tested it in Multiplayer, using SAS Bazooka as my chosen character - no problem - the bazooka was replaced with the colt 45

I launched it as a single player game, with SAS Bazooka as my baddie, which didn't work as I had forgotten to delete the .bin file after editing the .fpe. Re-opening the level and re-testing in single player then worked fine (as the system re-compiled the .bin from the .fpe )


I know it sound stupid, but have you checked the path you're using to the weapon?

You've pasted the code as

hasweapon = model pack 6\at9mm.fpi

but could you try:

hasweapon = Model pack 6\AT9mm

It could be something as simple as a dropping a file name letter from upper case into lower case, and adding the .fpi suffix that is killing your script.

Login to post a reply

Server time is: 2024-11-23 16:25:49
Your offset time is: 2024-11-23 16:25:49