Author Topic: SG:S - Current Project  (Read 3286 times)

0 Members and 1 Guest are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
SG:S - Current Project
« 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)



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

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: SG:S - Current Project
« Reply #1 on: August 02, 2012, 10:54:55 PM »
Some current screenshots:







And as of today: Day/Night Cycle
http://www.youtube.com/watch?v=soNQIB4eA1M

Offline Digital Spit

  • Jr. Member
  • **
  • Posts: 79
  • Karma: 1
Re: SG:S - Current Project
« Reply #2 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!


Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: SG:S - Current Project
« Reply #3 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 ) )
« Last Edit: August 03, 2012, 02:30:53 AM by MrPresident »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: SG:S - Current Project
« Reply #4 on: August 03, 2012, 03:03:06 PM »
Looking pretty awesome. :)
Experiencing God's grace one day at a time.

Offline Digital Spit

  • Jr. Member
  • **
  • Posts: 79
  • Karma: 1
Re: SG:S - Current Project
« Reply #5 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

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: SG:S - Current Project
« Reply #6 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.