OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: matzudaira on 17 Nov 2003, 11:04:22

Title: Battlefield...modified
Post by: matzudaira on 17 Nov 2003, 11:04:22
hi, i'm trying to make a map similar to the classic "C&H Battlefield 1985", but i have some problems...
West base is at Modrava, Est base at Petrovic and then there are 5 towns to be conquered...the problems are the following:

1)if i want Mirov to be a "free" town to be conquered, what trigger should i use?

2)if i want to make forbidden zone where players die when they enter what should i do?

thanx---> 8)
Title: Re:Battlefield...modified
Post by: Terox on 17 Nov 2003, 17:01:20
get yourself a de pbo program (From editors depot)  to rip battlefield apart and then drag n drop the town triggers and markers

as for a killzone, this is done using 2 triggers

trigger A, is a larger area and carrys a warning titltext message

and trigger B, a smaller area, kills the player

the triggers need to be set to repeating
set to either East,West or Anybody

kILL TRIGGER
condition:
(vehicle player in thislist)

 on activation:
if (vehicle Player in thisList) then { Titletext[format["You entered aRestricted Safezone"],"Plain down""] AND player setdammage 1}

WARNING TRIGGER
set to repeatedly, and either triggered by anybody, east or west
condition:
(vehicle player in thislist)
on activation:
if (vehicle Player in thisList) then { Titletext[format["WARNING\nRestricted Safezone"],"Plain down""] AND playsound "Alarm"}
Title: Re:Battlefield...modified
Post by: matzudaira on 18 Nov 2003, 10:45:51
thanx for your help...but actually i cant find the file for ripping Battlefield...isn't it possible to make towns to be conquered just writing some scripts?

thanx again
Title: Re:Battlefield...modified
Post by: matzudaira on 18 Nov 2003, 10:50:09
is "pbo file format" the program i need to download for ripping battlefield??