I am having a bit of an issue with an actor I am creating. I have a custom unit that I created that is using the monorail engine model. It works like a normal unit but it is facing the wrong direction when it moves which makes it move sideways. I have read a couple of threads on this forum where the same issue was occuring. The apparent fix is to create a site operations actor and attach it to the monorail engine actor. Both methods suggested use a different approach but I have failed at either solution. I get as far as creating the site operations actor but seem to be getting lost on modifying the required properties. The solutions are as follows:
"Sounds like another problem for a Site Operations actor, create one of type Forward Vector, modify the forward vector.
Then add the SOp actor to the Host Site Operations of the unit's actor."
I created the actor mentioned above but I have no idea what it means to modify the forward vector. I have looked through all the actor events in the in the dropdowns but can't seem to find out where the event is that would modify the forward vector. I am assuming I start with the Actor Creation event but after that I am not sure what is used to modify the forward vector. I could be doing this wrong and it seems trial and error will take a long time to figure out.
The second thread I found seems to be a similar approach but I am having the same issue. I am unable to figure out how to modify the appropriate values as suggested. The suggestion is as follows:
Oh yes yes there is a way ^.^
1) Create a new actor of type Site Operation (Explicit Rotation). Let's call it "TurnBy90".
2) Set "Actor - Is Local" to true.
3) Set "Actor - Forward" to 1 / 0 / 0
4) Go to the actor of your unit you want to have rotated (the train).
5) Open "Hosting - Host Site Operations +" and write the actor ID into the "Operation" field (in this case "TurnBy90").
6) Test it out.
If the unit turns the wrong way, then change the 1 in step 3) to a -1 and it should be OK.
I have no idea where to locate the properties located in steps 2 and 3. Again, I have looked through all the actors actions menus but have not found where this is located. I have tried a number of dfferent actions but I really don't think I have got close as what I have tried is not really what is being described in the above suggestions. I am clearly confused by this aspect of mapmaking and I am hoping someone can let me know what I may be doing wrong or perhaps provide more info/suggestions as to what the solution may be. I appreciate an responses and thank you in advance!
Check your view options, make sure, you checked Show Advanced Values and Show Default Values.
Check the type of the actor you created. You need to set the type of the actor to Site Operation (Forward Vector) or Site Operation (Explicit Rotation).
You must not create the actor first and change the type afterwards! Always select the type while creating the actor.
If you select a wrong type by mistake, delete the actor and create a new one.
You don't need any events for this. Just create the site operation actor, then add it to the Host Site Operations + field of your unit actor.
Thank you for the reply, Kueken. That helped alot! I have infact located the properties via the advanced values. I knew there had to be a simple solution to that, no wonder I was getting lost! Anyway, I am now working on fixing my monrail train. I havn't got it to face the right direction yet so I think I will rebuild the file from scratch. I messed around with alot of stuff so there may be something bad affecting my monorail actor. It is no biggy, I am using a blank map for testing and it doesn't take long to get back to where i was prior to creating the SOp actor.
I am sort of wondering if this will produce the desired result in the end. I am hoping the unit will move, turn and generally behave like a normal unit. Anyway, I am off to take another stab at this. Hopefully, I can get my train to face the right direction!
The site operation (explicit rotation) is what ended up working for me. The end result is exactly what I was looking for! My train is now operating as a normal unit. Thanks again, Kueken. It's funny how simple my issue was...by not having all the fields visible, I caused myself a lot of time but it was worth it. I think I have learned much from this. Thanks again. I really appreciate it!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello all,
I am having a bit of an issue with an actor I am creating. I have a custom unit that I created that is using the monorail engine model. It works like a normal unit but it is facing the wrong direction when it moves which makes it move sideways. I have read a couple of threads on this forum where the same issue was occuring. The apparent fix is to create a site operations actor and attach it to the monorail engine actor. Both methods suggested use a different approach but I have failed at either solution. I get as far as creating the site operations actor but seem to be getting lost on modifying the required properties. The solutions are as follows:
"Sounds like another problem for a Site Operations actor, create one of type Forward Vector, modify the forward vector.
Then add the SOp actor to the Host Site Operations of the unit's actor."
I created the actor mentioned above but I have no idea what it means to modify the forward vector. I have looked through all the actor events in the in the dropdowns but can't seem to find out where the event is that would modify the forward vector. I am assuming I start with the Actor Creation event but after that I am not sure what is used to modify the forward vector. I could be doing this wrong and it seems trial and error will take a long time to figure out.
The second thread I found seems to be a similar approach but I am having the same issue. I am unable to figure out how to modify the appropriate values as suggested. The suggestion is as follows:
Oh yes yes there is a way ^.^
1) Create a new actor of type Site Operation (Explicit Rotation). Let's call it "TurnBy90". 2) Set "Actor - Is Local" to true. 3) Set "Actor - Forward" to 1 / 0 / 0 4) Go to the actor of your unit you want to have rotated (the train). 5) Open "Hosting - Host Site Operations +" and write the actor ID into the "Operation" field (in this case "TurnBy90"). 6) Test it out.
If the unit turns the wrong way, then change the 1 in step 3) to a -1 and it should be OK.
I have no idea where to locate the properties located in steps 2 and 3. Again, I have looked through all the actors actions menus but have not found where this is located. I have tried a number of dfferent actions but I really don't think I have got close as what I have tried is not really what is being described in the above suggestions. I am clearly confused by this aspect of mapmaking and I am hoping someone can let me know what I may be doing wrong or perhaps provide more info/suggestions as to what the solution may be. I appreciate an responses and thank you in advance!
@Kueken531: Go
Thank you for the reply, Kueken. That helped alot! I have infact located the properties via the advanced values. I knew there had to be a simple solution to that, no wonder I was getting lost! Anyway, I am now working on fixing my monrail train. I havn't got it to face the right direction yet so I think I will rebuild the file from scratch. I messed around with alot of stuff so there may be something bad affecting my monorail actor. It is no biggy, I am using a blank map for testing and it doesn't take long to get back to where i was prior to creating the SOp actor.
I am sort of wondering if this will produce the desired result in the end. I am hoping the unit will move, turn and generally behave like a normal unit. Anyway, I am off to take another stab at this. Hopefully, I can get my train to face the right direction!
SUCCESS!!!
The site operation (explicit rotation) is what ended up working for me. The end result is exactly what I was looking for! My train is now operating as a normal unit. Thanks again, Kueken. It's funny how simple my issue was...by not having all the fields visible, I caused myself a lot of time but it was worth it. I think I have learned much from this. Thanks again. I really appreciate it!