• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Destructable

Status
Not open for further replies.
Level 8
Joined
Sep 9, 2007
Messages
114
For an ability i made its called Tremors Its supposed to create destructable rubble in the middle of a canyon like thing. This is to stall enemy reinforcement and force them to break through the rubble.

Problem is... when the ability is cast twice and the enemy didn't clear all of the destructable out of the path... they just build up. and if used multiple times across the game it just gets laggy or impassible...

Is there anyway i can remove all destructables in a region and then move them back... as well as lining the destructables up in a row instead of using the create rubble in random point in region
 
Level 11
Joined
Dec 31, 2007
Messages
780
  • Destructible - Pick every destructible in (your region) and do (Destructible - Remove (Picked destructible))
do this before you cast your ability...

it gets laggy because you keep on creating destructibles on the same spot and you never remove them.. if you kill them (as they are destructibles) they will grow again

if you dont have a region use "target point of ability being cast"
 
Level 8
Joined
Sep 9, 2007
Messages
114
Awesome thanks... musta missed that earlier... is there anyway to make the the destructables spawn in a particular path like

(attempts to describe it this way)
__________________________
......................XX......................
......................XX......................
......................XX.......................

X = the destructable

_ = the walls
 
Level 11
Joined
Dec 31, 2007
Messages
780
hum... you may try to trigger it creating a few little regions... when the skill is casted you create a destructible in the small region (or in all of them)

  • Destructible - Create a (your destructible) at (your region) facing (Random angle) with scale 1.00 and variation 0
 
Level 5
Joined
Mar 21, 2007
Messages
155
well you could use points. (points are points in a region) theese are usally defined by X,Y chords from the centre of the region. might take a lot of tweaking but it will work. e.g.

  • Destructible - Create a (Destructible) at ((REGION)) offset by (0.00, 0.00)) facing (Random angle) with scale 1.00 and variation 0
offset 0,0 is the centre of the region. 50,50 is 50 right, 50 up from the centre.
 
Status
Not open for further replies.
Top