Garry's Mod Police Cars And Fire / EMS Vehicles

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,917
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 6, 2010

newest police car (version 3.2) http://www.youtube.com/watch?v=X0XOCc-h6bE

tweaking my E2 emergency lights code in gmod and put it on some stuff. the police traffic bar has 4 modes: right to left, left to right, center out, and off. all of them have working brake lights and turn signals as well.

http://subversion.assembla.com/svn/SicknessModel/ -- the base line cars. you need -- http://tortoisesvn.net/downloads.html -- to download them.

Link to this comment:

Share to:

Uploader Comments (reegmeister)

  • What are the controls for the light and sirens. And any other lights?

    

  • @Hwm1999 mine is set up using an advanced pod controller. so mouse right and left click, shift, ctrl, and alt.

  • @reegmeister Seriously Reegmeister, plz tell me how to make the Lights on or off? i have dreamed for these police and stuff they are cool, but lights?? plzz Reply, Thanks!

  • @martten8791 "how to make the lights on or off?". i do not know how much you know already. this is all run with WIREMOD, which has its own lights, independent of the normal gmod lights. then there is an in-game chip that makes them turn on and off in sequence that i programmed myself. it is called EXPRESSION 2.

see all

All Comments (37)

Sign In or Sign Up now to post a comment!
  • @JediMaster362 the rest is just making it more complicated, you can make the chip toggle the state of certain outputs if one of the inputs changes, and outputs can be internal to be used in other areas of the code. it can be made to do things on a set time interval, which is mainly what my lights use. and you can make it do math to convert inputs/states into numerical values to power thrusters to a certain strength and things of that nature.

  • @JediMaster362 its all part of the code you put in it, theres a spot for inputs and you name it what you want then you use that name in the code later. hers a really simple example (you would replace # with @):

    #name: Example

    #inputs: IN

    #outputs OUT

    if(IN==1){OUT=1}

    if(IN==0){OUT=0}

    if you put that in a chip and wired it up, it would have IN as an input and OUT as an output. if you give IN a value of 1 OUT would output a value of 1.

  • @reegmeister, Ok. Um, how do I access the input and output programming thing? Just wondering.

  • @JediMaster362 When i say E2 i am referring to Expression 2, which is a chip that you program in wiremod to do whatever you want with custom inputs and outputs. all of my police lights have a controller that has inputs for on or off / changing modes, and outputs to individual light segments. expression 2 is one of the most important wiremod items IMO. search google, there is a wiki for wiremod and they have plenty of examples of E2 codes to learn from.

  • @reegmeister, I'm using the pack with each of the 3 Emergency Vehicles. I'm not sure, but, I assume it to be E2. I appreciate your time, eh!

  • @JediMaster362 first off, i never liked the numpad as a permanent interface. using the advanced pod controller is better because you can hook it up to a vehicle and anyone can get in it and use it. second thing, are you using E2 for your lights or are you using logic and timing gates?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more