Using Turret plugin
Posted: Fri Aug 02, 2013 1:52 am
Hi
I'm working on a map and would like to include couple turrets in there. Following the "readme" file from the plug-in this was created:
options
-loadplugin pass\to\plugin\Turret,1
end
#--Turrets---------------------------------------
turretWeapon
name turret1
position 267.43 267.43 156
type MG
lifetime 1
frequency 1
tiltExtent 0 90
angleExtent 0 360
end
turretZone
name zone
position 267.43 267.43 156.59
size 4 4 1
rotaton 45
addWeapon turret1
end
box
name blue_turret
position 267.43 267.43 156.9
size 4 4 0.9
matref blue_team_glass
shootthrough
end
box
name red_turret
position -267.43 -267.43 156.9
size 4 4 0.9
matref red_team_glass
shootthrough
end
turretEjector
position -6 0 0
size 3 3 1
addZone zone
end
(Where "pass\to\plugin" is location of file) Now the map will not load, and an error saying "Unknown object 'turretWeapon'" is displayed. What is causing that?
I'm working on a map and would like to include couple turrets in there. Following the "readme" file from the plug-in this was created:
options
-loadplugin pass\to\plugin\Turret,1
end
#--Turrets---------------------------------------
turretWeapon
name turret1
position 267.43 267.43 156
type MG
lifetime 1
frequency 1
tiltExtent 0 90
angleExtent 0 360
end
turretZone
name zone
position 267.43 267.43 156.59
size 4 4 1
rotaton 45
addWeapon turret1
end
box
name blue_turret
position 267.43 267.43 156.9
size 4 4 0.9
matref blue_team_glass
shootthrough
end
box
name red_turret
position -267.43 -267.43 156.9
size 4 4 0.9
matref red_team_glass
shootthrough
end
turretEjector
position -6 0 0
size 3 3 1
addZone zone
end
(Where "pass\to\plugin" is location of file) Now the map will not load, and an error saying "Unknown object 'turretWeapon'" is displayed. What is causing that?