Home   Help Search Login Register  

Author Topic: Some question for a MP CTF mission....  (Read 1209 times)

0 Members and 1 Guest are viewing this topic.

Abrams_MBT

  • Guest
Some question for a MP CTF mission....
« on: 06 Oct 2005, 18:10:55 »
Well i built a CTF mission with the tutorial available on the site.
for that mission, i wanted some stuff for max fun:

1)lock west vehicles for soviets and east vehicles for US,

2)respawn vehicles when they are dead (but not when they are abandonned)

3)let script run when vehicles respawn (i made a carbomb script, based on other scripts (thank you for that those who made that!), and when vehicles respawn, script are...forgotten.


->1)where to fix that? in the init field? what should i write?

->2)i used a script made by doolittle (Vehicle Respawn for 1.46) but there still is 3 problems: first vulcan and bradleys dont respawn, dont know why, second, sometimes, 2 vehicles respawn instead of one, maybe more, which is not the best way for online games.

->3)the third problem, script dont run anymore when vehicles respawn.

I read i should insert a game logic called server to fix multiple respawn, but dont know how to use that, do i have to do anything else?....

i recently saw there was another script made by doolittle (Vehicle Respawn With Smoke) to respawn vehicles. But, i dont know how to turn the left thing off, and we havent the choice of the delay for each vehicle like in the old script...

I also used FlashFX3.5 with all patch, but when vehicles blown off, lot of stuff are left on the field by destroyed vehicles.... how to fix that?

well thats all, hope youre going to help me :'(.

Thank you in advance...
Abrams_MBT




Offline Platoon Patton

  • Members
  • *
  • "Barbecue" CreateVehicle getpos LLama
Re:Some question for a MP CTF mission....
« Reply #1 on: 11 Oct 2005, 21:05:33 »
Quote
well thats all, hope youre going to help me .:'(

Ooh my poor MainBattleTank stop crying   :D

But you do ask alot questions in 1 thread..

1)lock west vehicles for soviets and east vehicles for US
-Lock ALL your vehicles in the editor.
-Make  arrays of all west and all east vehicles
AllMyWestVehicles=[Humvee1,Jeep1,Vulkan,M2A2]
AllMyEastVehicles=[BRDM1,UAZ1,Shilka,BMP1]
?(side player == east):"_x lock false" foreach AllMyEastVehicles
?(side player == west):"_x lock false" foreach AllMyWestVehicles
U can write all this in init.sqs

2)3)
For those questions check ECL website (see my sig),click downloads and download
the MP templates.Everything U need is in it,(CTF-Combi-C&H scripts,scoringsystem,Eventhandlers,Dialogs,VehicleRespawn,Enhanced playerrespawn,Spawnprotection,Random events,etc...) try to understand how MP scripting works.
(Exec of scripts on server\player,PublicVariable...)

4)
[Advertising mode]
If U Download the SKIRMISH template that I made,U have 4 possible gamestyles in 1 map. 8)
(CTF-Combi-1 Flag C&H-3 Flag C&h)
All U have to do is drag and drop in the editor,everythin U need is in.
[/Advertising mode]

« Last Edit: 11 Oct 2005, 21:06:22 by Platoon Patton »
http://www.platoon-clan.com/ We always wellcome dedicated OFP players :)

http://www.european-combat-league.com/index.php To play with us in the best OFP league ;)