I was wondering the method in creating 3D models that appear in a dialog. Something very similar to the help menu when you press F12. So far I create a dialog which is fullscreen and then
Dialog - Create a Unit Model for dialog Master Dialog
Dialog - Set (Last created dialog item) size to (100, 100) for (All players)
Dialog - Move (Last created dialog item) to (50, 50) relative to Center of dialog for (All players)
Dialog - Set (Last created dialog item) Unit Link to Marine for (All players)
Dialog - Set (Last created dialog item) Unit to No Unit for (All players)
Dialog - Show (Last created dialog item) for (All players)
This is the result that i have, as you can see the model of the marine rotates and shows, but the size is wrong, it cuts off the model. If i set the size of the dialog item it only increases the model and not the box that is around it.
Art: Unit Glossary Camera Star2Camera01 i beleive
There is:
Star2Camera01 - Star2Camera25
Star2CameraMid01 - Star2CameraMid25
Star2CameraLower01 - Star2CameraLower25
Star2CameraHigher01 - Star2CameraHigher25
I have solved it somehow, Thanks Zaysite for your camera knowledge otherwise I would'nt of been able to make it work. I used these following actions
Dialog - Create a Unit Model for dialog Master Dialog
Dialog - Move (Last created dialog item) to (50, 50) relative to Center of dialog for (All players)
Dialog - Set (Last created dialog item) size to (300, 300) for (All players)
Dialog - Set (Last created dialog item) Unit Link to Siege Tank (Tank Mode) for (All players)
Dialog - Set (Last created dialog item) Camera to "Star2CameraMid03" for (All players)
Dialog - Set (Last created dialog item) size to (300, 300) for (All players)
Dialog - Move (Last created dialog item) to (50, 50) relative to Center of dialog for (All players)
Dialog - Show (Last created dialog item) for (All players)
I haven't experimented with the other cameras but I have used a number of models with just the Star2CameraMid03. They all display just like they do from the unit glossary window.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was wondering the method in creating 3D models that appear in a dialog. Something very similar to the help menu when you press F12. So far I create a dialog which is fullscreen and then
This is the result that i have, as you can see the model of the marine rotates and shows, but the size is wrong, it cuts off the model. If i set the size of the dialog item it only increases the model and not the box that is around it.
Thanks for any help on this.
In your Model you must edit the Camera Field
Art: Unit Glossary Camera Star2Camera01 i beleive
There is:
Star2Camera01 - Star2Camera25
Star2CameraMid01 - Star2CameraMid25
Star2CameraLower01 - Star2CameraLower25
Star2CameraHigher01 - Star2CameraHigher25
Some models do have broken cameras sadly
@zaysite: Go
Where is this Unit Glossary Camera, in the trigger editor or data editor?
@farban6: Go
Data Editor in the Model Tab
Hope this solves your problem
I have solved it somehow, Thanks Zaysite for your camera knowledge otherwise I would'nt of been able to make it work. I used these following actions
I haven't experimented with the other cameras but I have used a number of models with just the Star2CameraMid03. They all display just like they do from the unit glossary window.