Re: scripts.dll 2.7 WIP update [message #197573 is a reply to message #196378] |
Mon, 24 April 2006 17:22 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma:
|
Colonel |
|
|
Quote: | ============================================================ ========================================
; ************************* [Script Name] MDB_Base_Defense_Popup
============================================================ ========================================
[Description]
- Base defense script designed to "hide" underground and then popup to attack enemies when they come within range.
Attacks all units.
[Parameters]
- MaxAttackDistance: Maximum range of the weapon this base defense uses.
- ReturnTime: How long the base defense should stay above ground after it last attacked something.
- Animation: The animation of the base defense going from underground to above ground. The first frame(0) should be the base defense completely underground.
The last frame should be the base defense completely above ground, ready to attack.
- LastFrame: The last frame of the animation.
- Sensor_Preset: When your base defense is underground it cannot see units above ground, therefore it needs a "Sensor" object above ground
which spots units for it.
This should be an exact copy of your base defense preset, except with it's model set to NULL and ALL scripts removed from it.
- Sensor_Creation_Bone: Bone to create the Sensor object at. This bone should always be above gound(aka not part of the animation) and should be at about
the height of the muzzle bone.
- Sound: Sound preset to play when the base defense goes from underground to above ground, or vise versa.
- Adjust_Aim_For_Infantry: Normally base defense aim at the head of infantry. With some types of weapons, like shells or lasers, this greatly
decreases their accuracy. If this is set to 1 the base defense will instead aim at the feet of the infantry.
============================================================ ========================================
; ************************* [Script Name] MDB_Base_Defense_Popup_No_VTOL
============================================================ ========================================
[Description]
- Base defense script designed to "hide" underground and then popup to attack enemies when they come within range.
Attacks all ground units.
[Parameters]
- MaxAttackDistance: Maximum range of the weapon this base defense uses.
- ReturnTime: How long the base defense should stay above ground after it last attacked something.
- Animation: The animation of the base defense going from underground to above ground. The first frame(0) should be the base defense completely underground.
The last frame should be the base defense completely above ground, ready to attack.
- LastFrame: The last frame of the animation.
- Sensor_Preset: When your base defense is underground it cannot see units above ground, therefore it needs a "Sensor" object above ground
which spots units for it.
This should be an exact copy of your base defense preset, except with it's model set to NULL and ALL scripts removed from it.
- Sensor_Creation_Bone: Bone to create the Sensor object at. This bone should always be above gound(aka not part of the animation) and should be at about
the height of the muzzle bone.
- Sound: Sound preset to play when the base defense goes from underground to above ground, or vise versa.
- Adjust_Aim_For_Infantry: Normally base defense aim at the head of infantry. With some types of weapons, like shells or lasers, this greatly
decreases their accuracy. If this is set to 1 the base defense will instead aim at the feet of the infantry.
============================================================ ========================================
; ************************* [Script Name] MDB_Base_Defense_Popup_VTOL_Only
============================================================ ========================================
[Description]
- Base defense script designed to "hide" underground and then popup to attack enemies when they come within range.
Attacks only VTOL units.
[Parameters]
- MaxAttackDistance: Maximum range of the weapon this base defense uses.
- ReturnTime: How long the base defense should stay above ground after it last attacked something.
- Animation: The animation of the base defense going from underground to above ground. The first frame(0) should be the base defense completely underground.
The last frame should be the base defense completely above ground, ready to attack.
- LastFrame: The last frame of the animation.
- Sensor_Preset: When your base defense is underground it cannot see units above ground, therefore it needs a "Sensor" object above ground
which spots units for it.
This should be an exact copy of your base defense preset, except with it's model set to NULL and ALL scripts removed from it.
- Sensor_Creation_Bone: Bone to create the Sensor object at. This bone should always be above gound(aka not part of the animation) and should be at about
the height of the muzzle bone.
- Sound: Sound preset to play when the base defense goes from underground to above ground, or vise versa.
|
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|