Alright so:

The element is created in vehicle_jeep_episodic in SpawnRadarPanel()
which creates an entity that signals the client to create a VGUI element to
soon be parented to the jeep. The attachment locations are setup here also.
This isn't necessary, since you could do all this on the client instead. The
VGUI element, CHudRadar, is created on the client.

In c_vehicle_jeep_episodic on the client, the element is updated.

Good luck :)

On Mon, Mar 9, 2009 at 1:57 PM, Thomas K <hatb...@gmail.com> wrote:

> Hey Ryan, could you point out where you found the jalopy radar code? I'm
> not
> finding it.
> Thanks.
>
> On Mon, Mar 9, 2009 at 12:49 PM, Ryan Sheffer <darksk...@gmail.com> wrote:
>
> > In a mod I was working on we had no problems with VGUI_screens in the
> > orange
> > box engine hl2mp code. I haven't tried setting up a video panel with one
> > before, but I don't see why there would be any difference. When I did
> mine
> > I
> > just followed the steps valve gave us with the jalopy radar code, and if
> > you
> > look there you will see it is rather easy to do.
> >
> > On Sat, Mar 7, 2009 at 6:26 PM, Corey Elizabeth Brennan <
> > galacti...@gmail.com> wrote:
> >
> > > And now, an excerpt from the wiki page at
> > > http://developer.valvesoftware.com/wiki/VGUI_Screen_Creation
> > >
> > > "VGUI screens do *not* work in HL2 or HL2:DM; they crash the game"
> > >
> > > Does this mean that mods based strictly on HL2:Ep1 are SOL, as far as
> > VGUI
> > > screens are concerned?  Would a working solution involve switching all
> > the
> > > code I have for my game to Orange Box?
> > >
> > > Please let me know what you think.
> > >
> > > -Corey
> > >
> > > On Sat, Mar 7, 2009 at 12:18 PM, Corey Elizabeth Brennan <
> > > galacti...@gmail.com> wrote:
> > >
> > > > Ah, I wasn't using Orange Box.  That explains a lot.
> > > >
> > > > Well, I'll update you guys on my progress pretty soon.  Thanks a lot
> to
> > > > everyone who helped!
> > > >
> > > > -Corey
> > > >
> > > >
> > > > On Sat, Mar 7, 2009 at 11:53 AM, Jonas 'Sortie' Termansen <
> > > > hlcod...@maxsi.dk> wrote:
> > > >
> > > >> IBik.h is an engine interface - it's automatically part of your mod
> if
> > > >> you're using the Orange Box engine. vgui_video.cpp is a source file
> > that
> > > >> should be shipped with your SDK that provides functions and classes
> > that
> > > >> work with the engine interface. If you wish to test whether it's
> > > included
> > > >> or
> > > >> not, simply see if the playvideo and/or playvideo_exitcommand
> commands
> > > are
> > > >> available in the console, if they are, then the file is included in
> > your
> > > >> build. If it isn't, then you need to either include it, or update
> your
> > > SDK
> > > >> to get the lastest source files.
> > > >>
> > > >> - Sortie
> > > >>
> > > >> ----- Original Message -----
> > > >> From: "Corey Elizabeth Brennan" <galacti...@gmail.com>
> > > >> To: "Discussion of Half-Life Programming" <
> > > >> hlcoders@list.valvesoftware.com>
> > > >> Sent: Saturday, March 07, 2009 8:49 PM
> > > >> Subject: Re: [hlcoders] Vgui panel and bink videos
> > > >>
> > > >>
> > > >> > HLCoders,
> > > >> >
> > > >> > Thanks for your help.  I found that, for whatever reason,
> vgui_video
> > > >> stuff
> > > >> > is just not there, and the only ones I have been able to find
> online
> > > >> > reference ibik.h, which needs to have an implementation, either in
> a
> > > >> > library
> > > >> > or a CPP file.
> > > >> >
> > > >> > So, my question is now, what library do I need?  I'm pretty sure I
> > > won't
> > > >> > be
> > > >> > able to find such a CPP file...
> > > >> >
> > > >> > Thanks again for any help.
> > > >> >
> > > >> > -Corey
> > > >> >
> > > >> > On Sat, Mar 7, 2009 at 11:38 AM, Jonas 'Sortie' Termansen
> > > >> > <hlcod...@maxsi.dk
> > > >> >> wrote:
> > > >> >
> > > >> >> Also, you could just use the search function in your IDE and
> search
> > > for
> > > >> >> bink
> > > >> >> or bik or vgui_video or anything, that's usually how I begin my
> > > >> >> research -
> > > >> >> or find files. Poking through files is just too slow! :D
> > > >> >>
> > > >> >> ----- Original Message -----
> > > >> >> From: "Thomas K" <hatb...@gmail.com>
> > > >> >> To: "Discussion of Half-Life Programming"
> > > >> >> <hlcoders@list.valvesoftware.com
> > > >> >> >
> > > >> >> Sent: Saturday, March 07, 2009 4:02 PM
> > > >> >> Subject: Re: [hlcoders] Vgui panel and bink videos
> > > >> >>
> > > >> >>
> > > >> >> > playvideo_exitcommand, where you can have a command that
> executes
> > > at
> > > >> >> > the
> > > >> >> > end
> > > >> >> > of the movie. Otherwise just playmovie.
> > > >> >> > For me ibik.h and iavi.h were under src\public\avi I'm sure you
> > can
> > > >> >> > find
> > > >> >> > it
> > > >> >> > on google from another mod project's subversion trunk.
> > > >> >> >
> > > >> >> >
> > > >> >> > On Sat, Mar 7, 2009 at 7:03 AM, Jonas 'Sortie' Termansen
> > > >> >> > <hlcod...@maxsi.dk>wrote:
> > > >> >> >
> > > >> >> >> If you wish to play a video fullscreen, you should just use
> the
> > > >> >> >> console
> > > >> >> >> command playmovie or whatever it's called. It's defined in
> > > >> >> >> vgui_video.cpp.
> > > >> >> >>
> > > >> >> >> ----- Original Message -----
> > > >> >> >> From: "Corey Elizabeth Brennan" <galacti...@gmail.com>
> > > >> >> >> To: "Discussion of Half-Life Programming"
> > > >> >> >> <hlcoders@list.valvesoftware.com
> > > >> >> >> >
> > > >> >> >> Sent: Saturday, March 07, 2009 4:46 AM
> > > >> >> >> Subject: Re: [hlcoders] Vgui panel and bink videos
> > > >> >> >>
> > > >> >> >>
> > > >> >> >> > HLCoders,
> > > >> >> >> >
> > > >> >> >> > I'm making my Sourcemod using Source and Source Base SDK
> (the
> > > >> >> Half-Life
> > > >> >> >> > 2),
> > > >> >> >> > and some of those files (ibik.h, and what it needs in order
> to
> > > >> run,
> > > >> >> >> and/or
> > > >> >> >> > iavi.h and what it needs it needs to run) seem to be part of
> > > >> Orange
> > > >> >> Box
> > > >> >> >> > SDK.  I'm probably seriously confused, but that's why I'm
> > asking
> > > >> for
> > > >> >> >> help.
> > > >> >> >> > I cannot find these files that I seem to need to make proper
> > > >> >> cutscenes.
> > > >> >> >> >
> > > >> >> >> > Any help towards finding them or otherwise acquiring them is
> > > much
> > > >> >> >> > appreciated.  Thanks!
> > > >> >> >> >
> > > >> >> >> > -Corey
> > > >> >> >> >
> > > >> >> >> > On Fri, Mar 6, 2009 at 6:12 PM, Thomas K <hatb...@gmail.com
> >
> > > >> wrote:
> > > >> >> >> >
> > > >> >> >> >> I had already seen those but was confused as how to how to
> > tie
> > > >> them
> > > >> >> >> >> together. Right now I'm looking into making a new panel
> that
> > > uses
> > > >> >> bits
> > > >> >> >> >> from
> > > >> >> >> >> vgui_video and vguiscreen. I can't say I'm too proficient
> at
> > > >> >> >> >> working
> > > >> >> >> >> in
> > > >> >> >> >> Source, yet.
> > > >> >> >> >>
> > > >> >> >> >> On Fri, Mar 6, 2009 at 7:54 PM, Jonas 'Sortie' Termansen
> > > >> >> >> >> <hlcod...@maxsi.dk>wrote:
> > > >> >> >> >>
> > > >> >> >> >> > I made a thread about this a few weeks ago, you need to
> > > >> >> >> >> > investigate
> > > >> >> >> >> > vgui_video.cpp and Vguiscreens.cpp. ibik.h would be a
> good
> > > >> >> >> >> > starting
> > > >> >> >> >> > point
> > > >> >> >> >> > too. Although getting the video playing is easy, getting
> it
> > > on
> > > >> a
> > > >> >> >> >> > surface
> > > >> >> >> >> > proved very difficult for me. When I get it working, I
> will
> > > >> post
> > > >> >> the
> > > >> >> >> >> > code
> > > >> >> >> >> > on
> > > >> >> >> >> > the developer wiki.
> > > >> >> >> >> >
> > > >> >> >> >> > - Jonas
> > > >> >> >> >> >
> > > >> >> >> >> > ----- Original Message -----
> > > >> >> >> >> > From: "Thomas K" <hatb...@gmail.com>
> > > >> >> >> >> > To: <hlcoders@list.valvesoftware.com>
> > > >> >> >> >> > Sent: Friday, March 06, 2009 10:06 PM
> > > >> >> >> >> > Subject: [hlcoders] Vgui panel and bink videos
> > > >> >> >> >> >
> > > >> >> >> >> >
> > > >> >> >> >> > > Hello,
> > > >> >> >> >> > > I'm trying to work out how to use a vgui panel to play
> > bink
> > > >> >> videos
> > > >> >> >> in
> > > >> >> >> >> the
> > > >> >> >> >> > > world as if it were a tv or similar. This is my first
> > real
> > > >> >> >> experience
> > > >> >> >> >> > with
> > > >> >> >> >> > > working in Source's code so I'm kinda lost as to how it
> > > ties
> > > >> >> >> together
> > > >> >> >> >> > > in-game and when you place the entity in with Hammer
> and
> > > all
> > > >> >> that.
> > > >> >> >> >> > > I
> > > >> >> >> >> had
> > > >> >> >> >> > > seen that Project Valkyrie had managed this but
> couldn't
> > > find
> > > >> >> much
> > > >> >> >> >> > > more
> > > >> >> >> >> > in
> > > >> >> >> >> > > how the whole process worked.
> > > >> >> >> >> > > _______________________________________________
> > > >> >> >> >> > > To unsubscribe, edit your list preferences, or view the
> > > list
> > > >> >> >> >> > > archives,
> > > >> >> >> >> > > please visit:
> > > >> >> >> >> > >
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >> >> >> > >
> > > >> >> >> >> >
> > > >> >> >> >> >
> > > >> >> >> >> > _______________________________________________
> > > >> >> >> >> > To unsubscribe, edit your list preferences, or view the
> > list
> > > >> >> >> >> > archives,
> > > >> >> >> >> > please visit:
> > > >> >> >> >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >> >> >> >
> > > >> >> >> >> >
> > > >> >> >> >> _______________________________________________
> > > >> >> >> >> To unsubscribe, edit your list preferences, or view the
> list
> > > >> >> archives,
> > > >> >> >> >> please visit:
> > > >> >> >> >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >> >> >>
> > > >> >> >> >>
> > > >> >> >> > _______________________________________________
> > > >> >> >> > To unsubscribe, edit your list preferences, or view the list
> > > >> >> >> > archives,
> > > >> >> >> > please visit:
> > > >> >> >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >> >> >
> > > >> >> >>
> > > >> >> >>
> > > >> >> >> _______________________________________________
> > > >> >> >> To unsubscribe, edit your list preferences, or view the list
> > > >> archives,
> > > >> >> >> please visit:
> > > >> >> >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >> >>
> > > >> >> >>
> > > >> >> > _______________________________________________
> > > >> >> > To unsubscribe, edit your list preferences, or view the list
> > > >> archives,
> > > >> >> > please visit:
> > > >> >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >> >
> > > >> >>
> > > >> >>
> > > >> >> _______________________________________________
> > > >> >> To unsubscribe, edit your list preferences, or view the list
> > > archives,
> > > >> >> please visit:
> > > >> >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >>
> > > >> >>
> > > >> > _______________________________________________
> > > >> > To unsubscribe, edit your list preferences, or view the list
> > archives,
> > > >> > please visit:
> > > >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >> >
> > > >>
> > > >>
> > > >> _______________________________________________
> > > >> To unsubscribe, edit your list preferences, or view the list
> archives,
> > > >> please visit:
> > > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >>
> > > >>
> > > >
> > > _______________________________________________
> > > To unsubscribe, edit your list preferences, or view the list archives,
> > > please visit:
> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > >
> > >
> >
> >
> > --
> > ~Ryan ( skidz )
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


-- 
~Ryan ( skidz )
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to