1. Post #1481
    Gold Member
    Pigbear's Avatar
    September 2011
    2,232 Posts
    I keep getting "failed to lock vertex buff in CMeshDX8::LockVertexBuffer and if it helps I am using DX9.
    Reply With Quote Edit / Delete Windows XP United States Show Events

  2. Post #1482
    I love Lemon Punch
    Sakarias88's Avatar
    January 2006
    1,268 Posts
    I keep getting "failed to lock vertex buff in CMeshDX8::LockVertexBuffer and if it helps I am using DX9.
    I believe that issue is out of my reach.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  3. Post #1483
    Gold Member
    Pigbear's Avatar
    September 2011
    2,232 Posts
    it is my GMod :(
    Edit: it is my memory I stand corrected.
    Reply With Quote Edit / Delete Windows XP United States Show Events

  4. Post #1484

    June 2012
    7 Posts
    Hmm.
    On line 446 you have "self:RestoreCarSounds()"?
    If so try changing it to "self:RefreshSounds()".

    Think I changed the name of the RestoreCarSounds function to RefreshSounds but forgot to change it on all function calls.

    Please tell me if it worked.
    in \SCars Slim\lua\entities\sent_sakarias_scar_base\init.lua
    on line 446 the code is:
    local eyePos = ( activator:GetAttachment( activator:LookupAttachment("eyes") ).Pos)

    the code in the USE function is :
    function ENT:Use( activator, caller )

    if activator:IsPlayer() && (!activator.EnterSCarDel or activator.EnterSCarDel < CurTime()) then
    if self.CarIsLocked == false && self:WaterLevel() <= 1 && !self:IsDestroyed() then

    activator.EnterSCarDel = CurTime() + 1
    activator.SwapSeatDelay = CurTime() + 1
    local seatNum = self:GetNextEmptySeat( 1 )

    if self.IsSaved == true then
    self.IsSaved = false
    self:RestoreCarSounds()
    end


    if seatNum != 0 then

    local diff = Vector(0,0,0)
    local view = activator:GetNetworkedInt( "SCarThirdPersonView" )
    local eyePos = ( activator:GetAttachment( activator:LookupAttachment("eyes") ).Pos)

    if view == 1 then
    diff = eyePos - self.Seats[seatNum]:GetPos()
    else
    diff = (self.Seats[seatNum]:GetPos() + Vector(0,0,30)) - eyePos
    end

    if !activator.ScarSpecialKeyInput then
    activator.ScarSpecialKeyInput = {}

    for i = 1, SCarKeys.NrOfBoundKeyEvents do
    activator.ScarSpecialKeyInput[SCarKeys.KeyVarTransTable[i]] = 0
    end
    end

    activator:EnterVehicle( self.Seats[seatNum] )
    self:SendView_MovePos( diff, self.Seats[seatNum]:GetAngles(), activator )
    activator:SetEyeAngles( Angle(0,90,0) )


    if seatNum == 1 then
    if SCarGetFastConvar["scar_carautoenter"] == 1 then
    self:StartCar()
    end
    end


    --SendRadio info
    if seatNum != 1 and self:HasDriver() and !self:HasAIDriver() then
    local radName = self.RadioName
    local radURL = self.RadioURL

    timer.Create( "SCarSetRadioInfoTimer"..self:EntIndex(), 1, 1, function()
    if self.SendRadioInfo then
    self:SendRadioInfo( radName, radURL, activator )
    end
    end )
    elseif seatNum == 1 then
    self.RadioName = ""
    self.RadioURL = ""

    self:SendHUD_Rev( ( self.MaxSpeed / self.NrOfGears ), activator )
    self:SendHUD_RevReverse( self.ReverseMaxSpeed, activator )
    self:SendHUD_RevForward( self.MaxSpeed, activator )

    self:Send_UseNosRegenTime( 0, activator )
    self:Send_UseNosTime( 0, activator )
    self:Send_UseNos( false, activator )
    end

    if ValidEntity( self.AIController ) then
    self.AIController:PlayerEnteredSCar( activator )
    end



    if !activator.SCarThirdPView then
    activator.SCarThirdPView = 0
    end
    end
    elseif self.CarIsLocked == true then
    activator.EnterSCarDel = CurTime() + 1
    activator.SwapSeatDelay = CurTime() + 1
    self.Entity:EmitSound("doors/door_locked2.wav")
    end
    end
    end
    I underlined line 446
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  5. Post #1485
    Better Than Jacknife
    Minimole's Avatar
    December 2009
    8,932 Posts

    Nice video!
    What map are you using?
    Dm Supermarket* from d.i.p.r.i.p. and thanks god it was a bitch trying to drive from that veiw.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  6. Post #1486
    I love Lemon Punch
    Sakarias88's Avatar
    January 2006
    1,268 Posts
    in \SCars Slim\lua\entities\sent_sakarias_scar_base\init.lua
    on line 446 the code is:
    local eyePos = ( activator:GetAttachment( activator:LookupAttachment("eyes") ).Pos)

    the code in the USE function is :

    I underlined line 446
    Weird.
    Are you using a custom player model?
    It could be an issue if there are no "eyes" on the player model.
    Try to change to a normal player model like Kleiner or something and see if it helps.

    Dm Supermarket* from d.i.p.r.i.p. and thanks god it was a bitch trying to drive from that veiw.
    Tried out that map today.
    Feels awesome driving through buildings and stuff.
    So many breakable things.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Winner Winner x 1 (list)

  7. Post #1487
    Marxman's Avatar
    July 2010
    168 Posts
    Can someone upload all the D.I.P. R.I.P. maps? I REALLY don't feel like downloading the whole mod just for the maps...
    Reply With Quote Edit / Delete Windows Vista United States Show Events Agree Agree x 4 (list)

  8. Post #1488
    Gold Member
    Zantze's Avatar
    November 2006
    598 Posts
    Awesome mod! Just had few hours of fun with my friend. By the way, did you get the money I sent you?
    Reply With Quote Edit / Delete Windows 7 Finland Show Events Friendly Friendly x 1Winner Winner x 1 (list)

  9. Post #1489

    June 2012
    7 Posts
    Weird.
    Are you using a custom player model?
    It could be an issue if there are no "eyes" on the player model.
    Try to change to a normal player model like Kleiner or something and see if it works.
    It worked - You might wanna add a warning about that in the next update haha
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  10. Post #1490
    I love Lemon Punch
    Sakarias88's Avatar
    January 2006
    1,268 Posts
    Awesome mod! Just had few hours of fun with my friend. By the way, did you get the money I sent you?
    I do appreciate donations.

    I did receive 2 SEK today.
    It's just that the standard transaction fee is 2 SEK ( 2 - 2 = 0 ).
    Could refund but perhaps they will put a fee on that as well.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Informative Informative x 2Friendly Friendly x 1 (list)

  11. Post #1491

    June 2012
    1 Posts
    Hmm. If some of your cars are ported from GTA IV, does that mean you can take the models of GTA IV Mods, and place them in here? If so, how. Also, if anyone has made a 2012/2010 Dodge charger, message me.
    Reply With Quote Edit / Delete Windows XP United States Show Events Useful Useful x 1 (list)

  12. Post #1492
    Formerly Shotgunguy49
    Captain Charles's Avatar
    July 2008
    4,483 Posts
    I'm not sure if anyone asked this before, but how would one go about adding more wheels?
    I'm thinking of porting over a bunch of vehicles from goldsource games.

    Edited:

    Nevermind, I got it.



    Edited:

    How does the paintjob tool work for custom vehicles, do they just need to have skingroups?
    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 3 (list)

  13. Post #1493
    I love Lemon Punch
    Sakarias88's Avatar
    January 2006
    1,268 Posts
    How does the paintjob tool work for custom vehicles, do they just need to have skingroups?
    I think so.
    Not sure what it's called in modeling terms.
    Let's just say that it should work with the skin switcher tool.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Friendly Friendly x 1 (list)

  14. Post #1494
    Formerly Shotgunguy49
    Captain Charles's Avatar
    July 2008
    4,483 Posts
    I think I got it now.

    Reply With Quote Edit / Delete Windows 7 United States Show Events Winner Winner x 4 (list)

  15. Post #1495
    Gold Member
    LittleBabyman's Avatar
    November 2010
    5,836 Posts
    I think I got it now.

    Reply With Quote Edit / Delete Windows 7 Finland Show Events

  16. Post #1496
    Better Than Jacknife
    Minimole's Avatar
    December 2009
    8,932 Posts
    I think I got it now.

    Are you gonna do the hl1 suv too?
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  17. Post #1497
    Formerly Shotgunguy49
    Captain Charles's Avatar
    July 2008
    4,483 Posts
    That is the HL1 SUV.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  18. Post #1498
    Better Than Jacknife
    Minimole's Avatar
    December 2009
    8,932 Posts
    That is the HL1 SUV.
    I meant like the old ass one
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Dumb Dumb x 1 (list)

  19. Post #1499
    Formerly Shotgunguy49
    Captain Charles's Avatar
    July 2008
    4,483 Posts
    I can't port that, It's a brush.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Informative Informative x 3Agree Agree x 3Funny Funny x 1 (list)

  20. Post #1500
    Main Force Patrolin'
    madmax678's Avatar
    August 2006
    5,266 Posts
    I can't port that, It's a brush.
    it's not can you, its would you?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Funny Funny x 6Agree Agree x 1 (list)

  21. Post #1501

    April 2011
    280 Posts


    this happens on most of the cars when i am in the driver seat and i push the Alt key to move to the passenger seat . the only on i saw that doesn't make me spawn out of the vehicle is the bus . i have not try all the cars yet . any reason why this would happen ? the only addons i have thats not scars is evolvemod and falcos prop protection.

    also when i try to use the wheel changer on a poped wheel this error comes up

    @addons\scars slim\lua\entities\sent_sakarias_scar_base\init.lua:2721] Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type)
    SetPhysProp: Error applying attributes to invalid physics object!
    
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  22. Post #1502

    May 2012
    4 Posts
    Why dont you upload it to MediaFire,Gamefront isn't working for me(and some other person).
    Reply With Quote Edit / Delete Windows Vista Japan Show Events

  23. Post #1503

    January 2012
    1 Posts
    Holy mother of god. Is there anything you can't make?
    yeah, he probably can't make more realistic vehicles.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Disagree Disagree x 5Dumb Dumb x 4Optimistic Optimistic x 2 (list)

  24. Post #1504

    March 2012
    8 Posts
    This deserves a gamemode NFSG ( need/for/speed/gmod )
    dont you mean need for gmod

    And once again you and your epic creation have made my day keep up the great work man.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  25. Post #1505
    freemmaann's Avatar
    January 2009
    1,133 Posts
    yeah, he probably can't make more realistic vehicles.
    Can you?
    Reply With Quote Edit / Delete Windows 7 Lithuania Show Events Agree Agree x 2 (list)

  26. Post #1506
    Main Force Patrolin'
    madmax678's Avatar
    August 2006
    5,266 Posts
    I could try c: <3
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Friendly Friendly x 1 (list)

  27. Post #1507

    April 2012
    4 Posts
    This is a huge jump from Scars 1.3 I remember playing around with scars 1.3 but I removed because I was bored with it... But now I can't get myself to stop playing Scars good work
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  28. Post #1508

    July 2012
    442 Posts
    I'm trying to make a Police car, But I have no idea how add the Police Lights. Anyone know how to?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  29. Post #1509
    CyberGmod Founder PropHuntv2 Home
    Phoenixf129's Avatar
    May 2009
    1,005 Posts
    Any idea why the SCars tab is empty?

    Code:
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/wander.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/StayAwayFromPlayer.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/NodeFollower.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/FollowPlayerCarKeys.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/FollowPlayer.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/Derby.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/AIMeta.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/wanderTankHostile.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/FollowPlayerTank.lua
    Probably why...

    Latest GMod SCRDS Distro, Linux server.

    Broken for anybody else?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  30. Post #1510

    May 2012
    5 Posts


    [h2]About[/h2]
    Don't like normal hl2 vehicles?
    Then this addon is for you!
    With SCars you can customize your car in almost any way you want.
    Everything from paintjob and handling to suspension height.

    Didn't like version 1.3?
    Then give version 2.0 a try!
    Pretty much everything was remade from scratch.


    SCars 2.0

    Old SCars

    Misc Pics






    [h2]Controls:[/h2]
    USE: Enter or leave the SCar.
    WASD: Moving.
    SPRINT: Turbo.
    PRIMARY FIRE + A or S or D or W: Use hydraulics separately on the wheels.
    SECONDARY FIRE: Toggle the hydraulics.
    JUMP: Handbrake.
    Walk(Move slowly): Change seat.
    JUMP + W: Rev engine.
    W + S: Burnout.

    Want more informations about the controls or change them?
    You can do it here.




    [h2]Instructions:[/h2]

    Installation
    If you already got a version of SCars installed you should remove it.
    Put the SCars folder into your addons folder "..\Steam\steamapps\YOUR USER NAME\garrysmod\garrysmod\addons".

    User
    You should find all the instructions you need in the download.
    Just go to "..\Steam\steamapps\YOUR USER NAME\garrysmod\garrysmod\addons\SCars\User Instructions".

    The instructions i have supplied is not enough?
    Feel free to send me a PM and i will answer your question as soon as i can.
    Will also post your question here on the thread.

    Developer
    You want to add your own stuff to SCars?
    Just go to "..\Steam\steamapps\YOUR USER NAME\garrysmod\garrysmod\addons\SCars\Developer Tutorials".
    Hopefully you will find the instructions you need there. If not feel free to send me a PM and i will answer it whenever i have time.

    [h2]FAQ[/h2]
    GMod crashes when I spawn a car! Why!?
    You probably have an old graphics card.
    Re-download the Slim version and the problem should be solved.

    A lot of things doesn't work in general!
    You have a Mac.

    Why are my cars invisible when they spawn?
    You have an old version of GMod.
    There is a patch that should solve most of the bugs in older GMod versions.
    Download: http://www.gamefront.com/files/21579...NS+OF+GMOD.zip

    How do I turn the police lights on?
    There is a key called "special key". It's B by default and it's just an extra key some cars uses.
    Police cars use it to turn the sirens on and off while the DeLorean uses it for both toggling hovermode and time travel.

    How does the DeLorean work?
    There is a key called "special key". It's B by default and it's just an extra key some cars uses.
    If you press the special key while holding W at the same time you will start the time travelling function.
    If you just press the special key while not pressing any other keys you will toggle hover mode.

    How do I open the car editor?
    You need a console command to open up the editor.
    Go to "Steam\steamapps\USERNAME\garrysmod\garrysmod\addo ns\SCars Slim\Developer Tutorials\Create a car\Instructions.txt" for more information.

    [h2]Download[/h2]

    Slim: Only the stuff you really need. 3 Cars
    Gamefront: http://www.gamefront.com/files/21515...s+Slim+2.1.zip

    Basic: The cars from 1.3. 25 cars (YOU STILL NEED SLIM)
    Gamefront: http://www.gamefront.com/files/21507...+2.0+Basic.zip

    Extra: More exclusive cars. 27 more cars (YOU STILL NEED SLIM)
    Gamefront: http://www.gamefront.com/files/21507...+2.0+Extra.zip

    SCars 2.0 Complete Pack: Contains the Slim, Basic and Extra version in one pack
    Gamefront: http://www.gamefront.com/files/21518...plete+Pack.zip



    If you have an old version of GMod (invisible cars bug) you need this patch:
    Gamefront: http://www.gamefront.com/files/21579...NS+OF+GMOD.zip



    Would you like to donate?


    [h2]Credits[/h2]
    Sakarias88 - Scripting
    TiggoRech (lots of models)
    Kazzim - Ideas and beta testing
    ( ^_^)/ - Ideas and beta testing
    Mr.Bix - Beta testing
    Splayn - Car Models
    Mihara - Skin switcher stool
    Karmah - New/fixed car models
    Griba - New/fixed car models
    Overv - menu help
    Thunder Skunk & Cookie - Vigilante 8 cars
    ApwnInTheDark - ripping & converting boarderlands bus.
    Sgt.Sgt - Ported GTA Models
    alexojm Gas station model
    Kirbyguy222 the ilcar
    Ace00731and Nirrti the DeLorean
    All the other beta testers.
    These are the best car models i have ever seen.! You should run a PERP sever with these!
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 10Late Late x 1 (list)

  31. Post #1511
    freemmaann's Avatar
    January 2009
    1,133 Posts
    These are the best car models i have ever seen.! You should run a PERP sever with these!
    People should really stop quoting the entire 3 pages long first post.
    Reply With Quote Edit / Delete Windows 7 Lithuania Show Events Agree Agree x 6 (list)

  32. Post #1512
    CyberGmod Founder PropHuntv2 Home
    Phoenixf129's Avatar
    May 2009
    1,005 Posts
    Any idea why the SCars tab is empty?

    Code:
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/wander.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/StayAwayFromPlayer.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/NodeFollower.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/FollowPlayerCarKeys.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/FollowPlayer.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/Derby.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/AIMeta.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/wanderTankHostile.lua
    Warning: Calling AddCSLuaFile too late, this file will not be sent to clients: SCarAI/FollowPlayerTank.lua
    Probably why...

    Latest GMod SCRDS Distro, Linux server.

    Broken for anybody else?
    Anything on this?
    Reply With Quote Edit / Delete United Kingdom Show Events Informative Informative x 1Agree Agree x 1 (list)

  33. Post #1513
    CyberGmod Founder PropHuntv2 Home
    Phoenixf129's Avatar
    May 2009
    1,005 Posts
    bump.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Optimistic Optimistic x 1 (list)

  34. Post #1514
    I love Lemon Punch
    Sakarias88's Avatar
    January 2006
    1,268 Posts
    I think i know what the issue is.
    Put it on my todo list.
    Should be fixed in the next update.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Winner Winner x 2 (list)

  35. Post #1515

    June 2012
    4 Posts
    in case anyone wants. i made a spike strip for the scars 2.0

    http://www.garrysmod.org/downloads/?a=view&id=131177
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  36. Post #1516
    Gold Member

    June 2012
    17 Posts
    Is there an easy way to get fastdl to work with SCars? I don't really want players to download the 300mb of cars data when I'm only implementing 3-4 cars (Basic+Slim).
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  37. Post #1517
    I love Lemon Punch
    Sakarias88's Avatar
    January 2006
    1,268 Posts
    Is there an easy way to get fastdl to work with SCars? I don't really want players to download the 300mb of cars data when I'm only implementing 3-4 cars (Basic+Slim).
    By default clients will only download the lua files (no models, materials or sounds).
    Go and check this lua file "SCars Slim\lua\autorun\server\S_SCarClientDownload.lua"

    I noticed that it currently uses the wrong base dir.
    Just change line 35 from
    local baseDir = "addons/SCars/"

    to
    local baseDir = ""

    Then you can use the AddDownloadDirectory function like this.
    AddDownloadDirectory("addons\SCars Extra\materials\models\tiggomods\tanks", "vmt" )
    AddDownloadDirectory("addons\SCars Extra\models\tiggomods\tanks", "mdl" )
    

    That would make all the clients connecting to your server download the tank models and materials.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  38. Post #1518
    Gold Member

    June 2012
    17 Posts
    By default clients will only download the lua files (no models, materials or sounds).
    Go and check this lua file "SCars Slim\lua\autorun\server\S_SCarClientDownload.lua"

    I noticed that it currently uses the wrong base dir.
    Just change line 35 from
    local baseDir = "addons/SCars/"

    to
    local baseDir = ""

    Then you can use the AddDownloadDirectory function like this.
    AddDownloadDirectory("addons\SCars Extra\materials\models\tiggomods\tanks", "vmt" )
    AddDownloadDirectory("addons\SCars Extra\models\tiggomods\tanks", "mdl" )
    


    That would make all the clients connecting to your server download the tank models and materials.
    Does it use any base models because one of the issues I have with TDM is that it uses base models/materials and if you don't know where those are, it doesn't work.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  39. Post #1519
    I love Lemon Punch
    Sakarias88's Avatar
    January 2006
    1,268 Posts
    Does it use any base models because one of the issues I have with TDM is that it uses base models/materials and if you don't know where those are, it doesn't work.
    Base models?
    In order to add models you have to know the directory of it.
    Models use materials and in order to add materials you need to known the directory of the material.

    The most tricky part is finding the correct directory for the material the model is using.
    Tiggo Rech have done a good job so finding the correct materials for the model shouldn't be that hard.


    Anyway, i've taken a look at how the models, materials, sounds and lua files are added and it seems like it all fails.
    Not sure how because I tested it all before i released it and at that time it worked fine.
    I've fixed it already anyway but it won't do any changes until I've uploaded the next update (Phoenixf129 issue should be fixed as well).
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  40. Post #1520
    Dennab
    July 2012
    255 Posts
    On my gamemode, I'm using "player GetVehicle() Remove()" to remove the vehicle but I get the following error:

    [addons\scars extra\lua\entities\sent_sakarias_car_lambomurcicop \shared.lua:273] attempt to index local 'driver' (a nil value)

    I tried to exit the vehicle before hand, that didn't help either.
    Reply With Quote Edit / Delete Windows 7 India Show Events