Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 2.7 WIP update
Re: scripts.dll 2.7 WIP update [message #197573 is a reply to message #196378] Mon, 24 April 2006 17:22 Go to previous messageGo to previous message
Whitedragon is currently offline  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 - )
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I need someone to make me 2 w3d files
Next Topic: Turret turn noises
Goto Forum:
  


Current Time: Thu Jan 09 13:06:19 MST 2025

Total time taken to generate the page: 0.01117 seconds