Forum

> > Stranded II > Mods > Custom Gui/menu?
Forums overviewStranded II overview Mods overviewLog in to reply

English Custom Gui/menu?

1 reply
To the start Previous 1 Next To the start

old Custom Gui/menu?

Gaelstrom
User Off Offline

Quote
Had an idea for a mod, I'd need to be able to load an image, and then allow the player to select certain locations on the image. Is this possible?

old Re: Custom Gui/menu?

Hurri04
Super User Off Offline

Quote
the only way I know of (without modding the source code) is to use s2 cmd cscr to create a menu that fills the entire game window and then use s2 cmd cscr_image and s2 cmd cscr_text to create clickable interface elements.

since the game supports multiple resolutions you'll also have to create the background image you use for the cscr command in these resolutions. check which one you need to load by using the s2 cmd getsetting command with the "xres" and/or "yres" parameter.

as for the placement of images and text, I'd recommend to optimize them to stay inside the 800*600 pixel area.


the old cooking system of my Cast Away Mod used this to create a cooking menu: https://www.youtube.com/watch?v=TNYtX-hRGXU&t=90s
To the start Previous 1 Next To the start
Log in to reply Mods overviewStranded II overviewForums overview