Hi all, im really new to the modding community but im trying to make a rather ambitious custom campaign, right now im having 2 major problems that i cannot seem to fix.
Firstly, i cant seem to get the editor to "spawn" something in the Z axis, like say, the unit shot into the air and an explosion is supposed to spawn mid-air at maximum range (because it hit nothing), what i did was spawn a model (the explosion) with a Z offset of <height> but so far its not working at all =/ the explosion spawns on ground level no matter what i try to do.
The other thing i cant seem to fix as well is to have units slide when they move by using a trigger. What i intend is for the unit i have to have a normal run animation that is used, and when a button is pressed and the unit moves, it doesnt play its running animation and instead, slides; the normal running is easily done, but when i do the "slide" part, it doesnt slide, instead it stutters as it moves. I tried locking into an animation, looping infinitely while issuing a move command, and ive tried using "move unit instantly to point" trigger, which was worse; both didnt work. To be specific, the unit is being controlled by WSAD. Moving a unit instantly to point seems to work when not using the WSAD trigger, however, WSAD somehow causes the unit to stutter.
Edit: additionally, i wonder if anyone knows how to "highlight" a unit like was done in a really old video:
Any and all suggestions/help would be very deeply appreciated.
The second part is a data issue. Make a behaviour. Go to the unit actor's events. Add a new event what procs off your behaviour and has "Animation Group Remove" as a tag, with "walk" as the animation to disable.
Add a second entry that procs when your behaviour is removed and removes your animation group.
@Gamfvr ah, i dont have a vent server or a skype account, but ill register with skype by the weekend probably, as im at work atm >.<
@Eiviyn i seem to have found the root cause of the stuttering; I have been using the "sliding" for movement during a time where i want to forcibly make the unit face a direction (camera yaw of player), however, the "make unit face angle" trigger causes stuttering when the unit moves (be it move instantly or regular move command. I tried using an "Make actor of unit face angle" instead, but when i do that, the unit turns when it moves (which isnt what i intended), i tried to change the unit's turn speed to 0 during that mode (and revert to default when changing modes) but because i only turned the "actor" and not the unit itself, the unit will face the direction it was facing when it changed modes and not the camera yaw.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi all, im really new to the modding community but im trying to make a rather ambitious custom campaign, right now im having 2 major problems that i cannot seem to fix.
Firstly, i cant seem to get the editor to "spawn" something in the Z axis, like say, the unit shot into the air and an explosion is supposed to spawn mid-air at maximum range (because it hit nothing), what i did was spawn a model (the explosion) with a Z offset of <height> but so far its not working at all =/ the explosion spawns on ground level no matter what i try to do.
The other thing i cant seem to fix as well is to have units slide when they move by using a trigger. What i intend is for the unit i have to have a normal run animation that is used, and when a button is pressed and the unit moves, it doesnt play its running animation and instead, slides; the normal running is easily done, but when i do the "slide" part, it doesnt slide, instead it stutters as it moves. I tried locking into an animation, looping infinitely while issuing a move command, and ive tried using "move unit instantly to point" trigger, which was worse; both didnt work. To be specific, the unit is being controlled by WSAD. Moving a unit instantly to point seems to work when not using the WSAD trigger, however, WSAD somehow causes the unit to stutter.
Edit: additionally, i wonder if anyone knows how to "highlight" a unit like was done in a really old video:
Any and all suggestions/help would be very deeply appreciated.
@Ixsiehn: Go
pm me ur skype or vent, i am working on an FPS myself so i've already went thur all this but its too much to type and im lazy atm
The second part is a data issue. Make a behaviour. Go to the unit actor's events. Add a new event what procs off your behaviour and has "Animation Group Remove" as a tag, with "walk" as the animation to disable.
Add a second entry that procs when your behaviour is removed and removes your animation group.
@Gamfvr ah, i dont have a vent server or a skype account, but ill register with skype by the weekend probably, as im at work atm >.<
@Eiviyn i seem to have found the root cause of the stuttering; I have been using the "sliding" for movement during a time where i want to forcibly make the unit face a direction (camera yaw of player), however, the "make unit face angle" trigger causes stuttering when the unit moves (be it move instantly or regular move command. I tried using an "Make actor of unit face angle" instead, but when i do that, the unit turns when it moves (which isnt what i intended), i tried to change the unit's turn speed to 0 during that mode (and revert to default when changing modes) but because i only turned the "actor" and not the unit itself, the unit will face the direction it was facing when it changed modes and not the camera yaw.