Ulysses
General => Off-Topic => Topic started by: MrPresident on July 23, 2012, 02:39:25 AM
-
I've been lua(ing) a LOT lately... 8-12 hours a day (yay for having a laid back job where I can mess around with my own system when I'm not working)
(https://dl.dropbox.com/u/5982978/Stranded/3rdpersoncamera.jpg)
If you want to see some more info about it check here is the website (it's not complete yet)
http://www.g4p.org/Stranded
Also there is a lot of discussion going on in our forum.
http://g4p.org/Forum/forumdisplay.php?fid=38
-
Some current screenshots:
(https://dl.dropbox.com/u/5982978/Stranded/Guide/16_shelter.jpg)
(https://dl.dropbox.com/u/5982978/Stranded/Guide/24_stargate3.jpg)
(https://dl.dropbox.com/u/5982978/Stranded/fire_farm.jpg)
And as of today: Day/Night Cycle
http://www.youtube.com/watch?v=soNQIB4eA1M
-
Looks really awesome! I would like to play this sometime! :D
I wanna know how you created the lower part of your HUD that displays the upper part of the characters body o.o Would be great for the gamemode I'm creating!
-
It's called a DModelPanel.
http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index0d85.html
You can show any model with this VGUI panel. If you want to be able to update it dynamically, make sure you put it in a panel that can be removed and redrawn though.
*EDIT* More specifically...
local icon = vgui.Create( "DModelPanel", SGS.mpanel )
icon:SetModel( LocalPlayer():GetModel() )
icon:SetSize( 104, 104 )
icon:SetCamPos( Vector( 15, 15, 60 ) )
icon:SetLookAt( Vector( 0, 0, 60 ) )
-
Looking pretty awesome. :)
-
It's called a DModelPanel.
http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index0d85.html
You can show any model with this VGUI panel. If you want to be able to update it dynamically, make sure you put it in a panel that can be removed and redrawn though.
*EDIT* More specifically...
local icon = vgui.Create( "DModelPanel", SGS.mpanel )
icon:SetModel( LocalPlayer():GetModel() )
icon:SetSize( 104, 104 )
icon:SetCamPos( Vector( 15, 15, 60 ) )
icon:SetLookAt( Vector( 0, 0, 60 ) )
Thanks MrPresident! I'll have to post pictures of my TDM once I get it presentable :D
-
You should, also if you need any help, just ask. I love gamemode coding. It's one of my favorite things about gmod.