Forum Jump :

Author Message


Posts: 42
Rank:


Level: Member

Country: uk
Location: bedford
Occupation: gliding
Age: 19
In-game name:

 
#1 Posted at 2011-10-29 21:55        
     
police life

I am making a mission [single player or multi player I dont know yet]
its about being a police officer [kind of like a mod for gta 4 police pursuit mods] with helicopter support and jail time
so far it has
    a prison
    a police support base - bomb squad
    a police helicopter base
    and a medical helicopter base
i just want help with scripts
i need help on
    resprawning cars and people
    AI chases without them going 2 mph at every car
    i also want help on what to add to it
I will try to upload pictures and videos soon


Author Message

EGgY  



Posts: 51
Rank:


Level: Muted

Country: uk
Location: United Kingdom
Occupation:
Age: 35
In-game name: EGgY

 
#2 Posted at 2011-10-29 22:29        
     
Foxhound:
Q: How do I make units respawn in MP?
A:
The following was posted in the BIS forums by Skip_Moniker

1. Create a mission using the ArmA Editor. You may optionally use the MP Editor too, but it takes longer to open & saves go to a different folder.

2. Save your new mission as a 'User Mission' and name it whatever you like. Exit the game back to desktop.

3. Open a blank Notepad & insert 2 lines:
respawn=[RespawnType];
respawndelay=[DelayInSeconds];
Substitute your type of respawn and respawn time delay (in seconds)
Types are:
0 or "NONE" = No Respawn
1 or "BIRD" = Respawn as a seagull
2 or "INSTANT" = Respawn just where you died
3 or "BASE" = Respawn at a basemarker
4 or "GROUP" = respawn in your groups ai
5 or "SIDE" = respawn in your sides ai
For example:
respawn=3;
respawndelay=4;

4. Close & name this new file 'Description.ext' & save as 'All file types' to the folder '/.../My Documents/ArmA/missions/[mission name]'. There should be a .sqm file there of the name you gave the mission. Note that if it gets saved as 'Description.ext.txt' rename it and remove the '.txt'. It then becomes a Windows unknown file type.

5. Start ArmA and return to the Editor. Load the mission you saved in step #2

6. Place a marker at the location you want players to respawn. You will have to name the marker one of the following:
respawn_west
respawn_east
respawn_guerrila
respawn_civilian
For the people that didn't play ofp:
West = bluefor
East = opfor
guerrilla = Independent
civilian = civilian
The rest of the marker details are up to you. If you make the marker a bigger size, like 100 by 100, you will respawn somewhere inside that area. You can also make multiple markers for the same side, nameing them respawn_east1, respawn_east2, etc. This will make a random respawn.
Additional info: You only need to create a marker if you selected a type 3 respawn. If you chose type 5, the respawn will occur wherever your squad or side is located (and only if a squad is created). Skip step 6 if using a type 5 respawn. *Note* You still must re-save and export the mission even if no changes are made in the Editor second time through. So, complete step 7 even if you skipped step 6.

7. Save the mission again but remember that the respawn doesn't work in preview mode. You have to now export it to
multiplayer to see the effects. If exporting to SP, remember that a SP mission must have one unit designated as "Player",
whereas a MP mission only needs one "Playable" unit.

8. Exit the editor and open the SP or MP mode (whichever you exported it to) and play the mission to test it

Thanks to the dozen or so users I plagerized to complete this step by step.
Vehicle respawn
I would open up maxjoiner's GTA mission and have a look at them or ask him if he would help
Please search in future :-)

Six core and 16 gig ram
Win 7 64 bit

Advertisement


Author Message


Posts: 295
Rank:


Level: Member

Country: it
Location: In ArmA edit when I can
Occupation: Security officer
Age: 44
In-game name: maxjoiner

 
#3 Posted at 2011-10-30 14:54        
     
In my site at Editing forum there are my custom scripts to respawning Cars and people.
http://arma2studio.weebly.com/


Author Message


Posts: 42
Rank:


Level: Member

Country: uk
Location: bedford
Occupation: gliding
Age: 19
In-game name:

 
#4 Posted at 2011-10-30 16:29        
     
i have add a police bait car to the mix and alarms to the police stations and then some medical teams
things on my list to do
a way to get the police men to apear as blufor
and a simple light bar like of chernarus life
thanks for the help so far

This post was edited by 101seaking (2011-11-01 18:26, 1086 days ago)


Author Message


Posts: 42
Rank:


Level: Member

Country: uk
Location: bedford
Occupation: gliding
Age: 19
In-game name:

 
#5 Posted at 2011-11-03 10:33        
     
i have found a way to get the police men appear as blufor
i now need a help with a trigger script to open a gate
so a player will get s distance away and then he will get the choice to open it . it's a bar gate

and the light bars


Author Message


Posts: 19047
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#6 Posted at 2011-11-03 11:59        
     
Editing questions belong in the editing section, not in a wip mission topic!

Also, do not post any questions you have in topics from other people which are not about editing at all, specially not in old inactive topics! (I deleted that post)

Visit my family webshop desteigerhoutshop.nl.