i'am making a map with "HaggisNZ" Physics Engine, Basically the map is a race with abilites, and am thinking of expanding it into a game like "Twisted Metal" or something like that.
i'am still at the beggining (and am still a begginer :) ), now i managed to modify the variables for the physics engine so i can make diffrent stats for diffrent units, but there is one thing that i cant fix -.-
The Hellion ! ( or any unit that the physics are applied to :p ) can scale cliffs ( especially at the corners) and walk through Force Fields if you are constantly Ordering the hellion to move ahead, and effects that Snare the target like Fungal Growth would just make the car Move Forward with the same speed (without being able to turn it left or right) :p.
after some testing I realized that the "Move Unit Instantly - Point with Offset" is the cult, i tried to replace it with "Issue Order - Move" to the same point with offset but that made the unit speed very slow (and ofc the weird movement :p).
Hello World :)
this is my first post here
i'am making a map with "HaggisNZ" Physics Engine, Basically the map is a race with abilites, and am thinking of expanding it into a game like "Twisted Metal" or something like that.
i'am still at the beggining (and am still a begginer :) ), now i managed to modify the variables for the physics engine so i can make diffrent stats for diffrent units, but there is one thing that i cant fix -.-
The Hellion ! ( or any unit that the physics are applied to :p ) can scale cliffs ( especially at the corners) and walk through Force Fields if you are constantly Ordering the hellion to move ahead, and effects that Snare the target like Fungal Growth would just make the car Move Forward with the same speed (without being able to turn it left or right) :p.
after some testing I realized that the "Move Unit Instantly - Point with Offset" is the cult, i tried to replace it with "Issue Order - Move" to the same point with offset but that made the unit speed very slow (and ofc the weird movement :p).
is there anyway to fix this ?
Here is the map file
If the map is flat, you can check for terrain heights before ording to move the Hellion. That should fix moving up cliffs.
Thx !!!, It did Reduce the chance to scale the cliff significantly !!! : )
By Raising the Cliffs 1 Leve and Changing the Move Order into this:
Events
Unit - unit1 is issued an order to Move
Local Variables
angle = (Angle from (Position of unit1) to (Target point for (Triggering order))) <Real>
Actions
-----------------General - If (Conditions) then do (Actions) else do (Actions)
If
0 <= (Ground height at (Target position for (Triggering order))) <= 10
Then
Variable - Set destination = (Target point for (Triggering order))
Else
Unit - Order (Triggering unit) to ( Move targeting Point 001) (Replace Existing Orders)
Variable - Set destination = Point 001
----------------Variable - Set Engine Force = 400.0
Animation - Set the Default animation time scale for (Actor for unit1) to 0.1
and to make the Snare Work on the units i added this line to the Car System Conditions:
(unit1 ability command Move is in state Disabled) == False
tho i dont have any ideas on how to make it stop when the road is blocked by a Force Field or anything of that sort.
any ideas on that ?