Forum Jump :

Author Message


Posts: 11
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2014-01-29 19:24        
     
Hey guys,

i am trying to give 2 different BASE spawn points in my mission. One at the main airfield and one on the other side of the map.

I currently use BTC revive. When a unit get killed he can only spawn at Base (main airfield). I didn't manage to have a second option. I tried With another maker called "respawn_west1". Saw that online but it didn't work out. Any hint on this?

Thx


Author Message


Posts: 8
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2014-01-30 00:12        
     
Just a beginner myself, but what I found is, if you are using "base" as your respawn type, you can create almost any object and of course give it the name "respawn_west". If the object is a logic or vehicle, you spawn right on it. If the object is like a marker or target, you spawn within its radius, which might be a better effect.

If you want more than one spawn point, you simply copy the spawn point object. For example a marker named "respawn_west" when copied the new copy will be named "respawn_west_1". Another paste will be "respawn_west_2". You can of course create them manually and name them as such too. It is the naming nomenclature that seems to be the key. Never tried "respawn_west1" so maybe the "_1" is the key. I don't see any options however that lets you choose which spawn point to use, at least not a native solution.

I have also learned that you can move these respawn points pretty easily. For example, if you make a trigger named "myTrigger1" at the first objective that says when blufor present do this:
"respawn_west_1" setMarkerPos (getPosATL myTrigger1);
you would move your spawn point to that trigger point. Lets you move forward through tasks/objectives, moving the spawn point closer to you as you go.

Lately I have been playing with this method. Create an ATV and name it, maybe "demon" or something. In its init use this
this setDamage false;
Now you simply have a 4 wheeler that won't die.
Next you create an addAction or trigger or whatever you like, and essentially move the move the position of the spawn point (marker or whatever you used as "respawn_west") to the position of the 4 wheeler. Something like
"respawn_west" setMarkerPos (getPosATL demon);
In this way you can move the 4wheeler where you like and call the action that changes the spawn point position to the 4wheeler, and you can go into an area, inspect things, etc. If you die (or you are testing death etc) you spawn right at a vehicle, either close to where you were or giving the ability to drive quickly to where you want to be. Great for testing purposes as you cut your teeth on this script language.


Advertisement


Author Message


Posts: 11
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2014-01-30 02:55        
     
I have tried with respawn_west_1 before writing this post. It didn't work I think. I'll try again to be sure. I know a can move the base respawn but since I want 2 different respawn i cannot really use the move trick. Maybe it's the BTC revive script that is the issue. I'll retry in a empty mission.

I'll let you know if it works in a couple of days.

Added 2 hours 32 minutes later:

I foud this. Never Called a fonction Before. Linked in a trigger it could work maybe? http://community.bistudio.com/wiki/BIS_fnc_addRespawnPosition

This post was edited by Sillyflip (2014-01-30 05:28, ago)


Author Message

Crix  



Posts: 122
Rank:


Level: Member

Country: de
Location:
Occupation:
Age:
In-game name:

 
#4 Posted at 2014-01-31 15:00        
     
Ahoy,
You just put this in the onAct: field of the a trigger. The condidtion field determines when exactly the respawn position becomes available. This would be a respawn position that is available from mission start on. Using an APC named "respawnAPC".

COND.:  isServer || isDedicated
ON ACT: [WEST, respawnAPC] call BIS_fnc_addRespawnPosition;

You gotta use the "BASE" mode respawn tho, I think. That's what I usually use at least.


Author Message


Posts: 11
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#5 Posted at 2014-02-03 03:52        
     
Didnt work. I used a truck instead of the APC and a Marker. Cant make it work. WHen the BTC ReSpawn menu appears i can only choose Base....


Author Message

Crix  



Posts: 122
Rank:


Level: Member

Country: de
Location:
Occupation:
Age:
In-game name:

 
#6 Posted at 2014-02-03 09:38        
     
Ah, sorry, Didn't read the BTC part. I'm not familiar with that one im afraid. My bad. :/


Author Message


Posts: 11
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#7 Posted at 2014-05-01 19:42        
     
No worries. I found another way.

Added 1 second later:

No worries. I found another way.


Author Message


Posts: 19
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#8 Posted at 2014-05-01 21:21        
     
Instructions for respawning player at captured sector modules?

Has anyone successfully completed instructions with init.sqf (and scripts), sector modules and Respawn Templates or BIS_fbc_Respawn at captured sector modules for MP?

If so please send me the link?

Thanks