Home   Help Search Login Register  

Author Topic: Prevent user audio, trigger spawn, respawn vecs, etc  (Read 1217 times)

0 Members and 1 Guest are viewing this topic.

Offline jphilapy

  • Members
  • *
  • I'm a llama!
Hi,

New to editing and have a few questions for you:

1) How do I block user audio files? I had a user in a game that I was hosting and he had an audio file that was playing which was offensve and would play it seems at his command.

2) I want enemy squads to spawn after a trigger is set or after a certain time. how do I do that?

3) How do I respawn vecs?


4) How can I spawn guards already in a tower. I am referring to the towers which are permanent objects on the map. But also if you can tell me how on non-permanent towers that would be cool too.

Thanks,
Jeff

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Prevent user audio, trigger spawn, respawn vecs, etc
« Reply #1 on: 11 Dec 2005, 21:40:30 »
Hi,

New to editing and have a few questions for you:

1) How do I block user audio files? I had a user in a game that I was hosting and he had an audio file that was playing which was offensve and would play it seems at his command.

There is a server setting that will restrict the user custom filesizes for audiom faces etc
However i dont believe you can bar a specific file.
Easy way round this problem is have the server admin kick / ban the player

2) I want enemy squads to spawn after a trigger is set or after a certain time. how do I do that?

Implement bn880's AiOnDemand system
it does all the above
it can either use a boolean to respawn the units or a distance

alternatively

have the trigger execute a script which will createunit the units for ya
or setpos them out of cargo
The editor's depot has some spawn manager scripts

have the triggers condition: time > XXX where XXX is the time in seconds you want the trigger to activate after mission start

3) How do I respawn vecs?
The editors depot has some vehicle respawn scripts

4) How can I spawn guards already in a tower. I am referring to the towers which are permanent objects on the map. But also if you can tell me how on non-permanent towers that would be cool too.

use the setpos command after creating the unit
or if the tower has a machinegun, then use
unitname moveingunner machinegunName

the third element in the setpos array is the height
eg
[0,0,5] is 5 metres above the ground (think its metres)


eg
x axis = getpos (object 3345) select 0
y axis = getpos (object 3345) select 1
height = getpos (object 3345) select 2
getpos object 13345

object 3345  would be the object number of the item which is an object that is part of the island
To get these object Id's, select  "show id's" in the mission editor then zoom in

if it was an object that you placed on the map, then give it a name in the mission editor

eg Tower1



If you ask only 1 question in a post, you are likely to get a better response
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline jphilapy

  • Members
  • *
  • I'm a llama!
Re:Prevent user audio, trigger spawn, respawn vecs, etc
« Reply #2 on: 12 Dec 2005, 05:37:19 »
Hi thanks for the reply. I havent had a chance to try it out yet, but I look forward to seeing how it works.

Jeff