OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Iwesshome on 12 Jul 2003, 06:40:07
-
Hi all,
My friend and I are working on our first MP map but we are running into a snag. We are currently using BAS addons but we are running into a snag with the respawn.
We are using the BAS Operator in which we have the character remove all weapons and then we add the weapons of choice for the initial start of the map.
removeAllWeapons S3; S3 addWeapon ""BAS_M4desREFLEX""; S3 addMagazine ""BAS_M4Mag""; S3 addMagazine ""BAS_M4mag""; S3 addWeapon ""BAS_Beretta""; S3 addMagazine ""BAS_BerettaMag""
When the character dies he will be respawned with only a handgun like we want him too, but instead of having his BAS M4 which we have removed on the respwan he show up with an M-16.
Now this is the code we use for the respawn...
"S1 addMagazine ""BAS_BerettaMag""; S1 addWeapon ""BAS_Beretta""; S1 selectWeapon ""BAS_Beretta""; S1 removeWeapon ""M16"""
Everything works good except that damn M-16 that shows up till we kill it with removeweapon... Why is it even showing up if it is not even in the mission.sqs? How do we get rid of it from the start so it won't even show up on the respawn?
-
By default, all base-respawning players on west start with an M16 and a single clip. All base-respawning east players start with an AK74 and a single clip. This can't be changed. Just remove all weapons on respawn and add whatever you like.
-
Thanks... I will give it a go.