Ulysses

General => Off-Topic => Topic started by: MrPresident on July 23, 2012, 02:39:25 AM

Title: SG:S - Current Project
Post 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
Title: Re: SG:S - Current Project
Post by: MrPresident on August 02, 2012, 10:54:55 PM
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
Title: Re: SG:S - Current Project
Post by: Digital Spit on August 03, 2012, 02:00:17 AM
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!

Title: Re: SG:S - Current Project
Post by: MrPresident on August 03, 2012, 02:28:10 AM
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...
Code: [Select]
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 ) )
Title: Re: SG:S - Current Project
Post by: Megiddo on August 03, 2012, 03:03:06 PM
Looking pretty awesome. :)
Title: Re: SG:S - Current Project
Post by: Digital Spit on August 04, 2012, 01:37:30 AM
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...
Code: [Select]
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
Title: Re: SG:S - Current Project
Post by: MrPresident on August 04, 2012, 02:17:49 AM
You should, also if you need any help, just ask. I love gamemode coding. It's one of my favorite things about gmod.