• SCars
    1,870 replies, posted
  • Avatar of nucleonic
  • [QUOTE=idenauta;36159098]sorry what do you mean :s[/QUOTE] Included the horn sound in this - [url]http://www.garrysmod.org/downloads/?a=view&id=130333[/url] Fix
  • Avatar of idenauta
  • [QUOTE=nucleonic;36159748]Included the horn sound in this - [url]http://www.garrysmod.org/downloads/?a=view&id=130333[/url] Fix[/QUOTE] <3
  • Avatar of TiggoRech
  • I will add all updates of GTA3 cars here -> [url]http://tiggorechbr.wix.com/blog#!Projects in progress/c9qb[/url] The first car :3 [img]http://i1121.photobucket.com/albums/l512/TiggoRech/gm_construct0001.jpg[/img]
  • Well, i have a request. make a Chase Player and (AI) Chase AI would be great so i can make a police chase. Thank u!
  • Avatar of TiggoRech
  • What I really don't like on SCars is the cameras. Default camera you can change the distance and height, but when you are very fast... [img]http://i1121.photobucket.com/albums/l512/TiggoRech/hl22012-06-0714-52-28-18.jpg?t=1339092474[/img] The camera go so far :\ and the Lerpy camera you can't change the distance and height of the camera. [img]http://i1121.photobucket.com/albums/l512/TiggoRech/hl22012-06-0714-52-34-93.jpg?t=1339092449[/img] It's too close D: I wanted a camera as cars of the HL2 and with possibility of change the distance and height on .lua files
  • Avatar of Sakarias88
  • [QUOTE=TiggoRech;36235786]What I really don't like on SCars is the cameras. Default camera you can change the distance and height, but when you are very fast... [img]http://i1121.photobucket.com/albums/l512/TiggoRech/hl22012-06-0714-52-28-18.jpg?t=1339092474[/img] The camera go so far :\ and the Lerpy camera you can't change the distance and height of the camera. [img]http://i1121.photobucket.com/albums/l512/TiggoRech/hl22012-06-0714-52-34-93.jpg?t=1339092449[/img] It's too close D: I wanted a camera as cars of the HL2 and with possibility of change the distance and height on .lua files[/QUOTE] The default SCar camera uses two variables to place the camera. One for the distance and one for height offset. ENT.ViewDist = 300 ENT.ViewDistUp = 100
  • Avatar of Minimole
  • [QUOTE=ilovewheatley;36228662]Well, i have a request. make a Chase Player and (AI) Chase AI would be great so i can make a police chase. Thank u![/QUOTE] Well the follower ai pretty much is that. [media]http://www.youtube.com/watch?v=zzBj0q9_HrA&feature=plcp[/media]
  • So Im running into a Lua Error when I attempt to enter(Press E) the car [addons\scars slim\lua\entities\sent_sakarias_scar_base\init.lua:446] attempt to index a nil value I opened the code (I have C++/Java/slight LUA Coding Experience) and the code is setting up the view position but skimming through the file there doesn't seem to be any problem. anyone have any help for me? And After 20Minutes of Trying to find my original Account on here I decided to re-register haha
  • Avatar of Sakarias88
  • [QUOTE=cstorm;36249138]So Im running into a Lua Error when I attempt to enter(Press E) the car [addons\scars slim\lua\entities\sent_sakarias_scar_base\init.lua:446] attempt to index a nil value I opened the code (I have C++/Java/slight LUA Coding Experience) and the code is setting up the view position but skimming through the file there doesn't seem to be any problem. anyone have any help for me? And After 20Minutes of Trying to find my original Account on here I decided to re-register haha[/QUOTE] 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. [QUOTE=Minimole;36239704]Well the follower ai pretty much is that. [media]http://www.youtube.com/watch?v=zzBj0q9_HrA&feature=plcp[/media][/QUOTE] Nice video! What map are you using?
  • Avatar of Pegboard
  • I keep getting "failed to lock vertex buff in CMeshDX8::LockVertexBuffer and if it helps I am using DX9.
  • Avatar of Sakarias88
  • [QUOTE=Pigbear;36249935]I keep getting "failed to lock vertex buff in CMeshDX8::LockVertexBuffer and if it helps I am using DX9.[/QUOTE] I believe that issue is out of my reach.
  • [QUOTE=Sakarias88;36249884]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.[/QUOTE] 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 : [QUOTE]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" ) [U]local eyePos = ( activator:GetAttachment( activator:LookupAttachment("eyes") ).Pos)[/U] 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[/QUOTE] I underlined line 446
  • Avatar of Minimole
  • [QUOTE=Sakarias88;36249884] Nice video! What map are you using?[/QUOTE] Dm Supermarket* from d.i.p.r.i.p. and thanks god it was a bitch trying to drive from that veiw.
  • Avatar of Sakarias88
  • [QUOTE=cstorm;36250825]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[/QUOTE] 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. [QUOTE=Minimole;36253484]Dm Supermarket* from d.i.p.r.i.p. and thanks god it was a bitch trying to drive from that veiw.[/QUOTE] Tried out that map today. Feels awesome driving through buildings and stuff. So many breakable things.
  • Avatar of Marxman
  • 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...
  • Awesome mod! Just had few hours of fun with my friend. By the way, did you get the money I sent you?
  • [QUOTE=Sakarias88;36271121]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.[/QUOTE] It worked - You might wanna add a warning about that in the next update haha
  • Avatar of Sakarias88
  • [QUOTE=Zantze;36279243]Awesome mod! Just had few hours of fun with my friend. By the way, did you get the money I sent you?[/QUOTE] 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.
  • 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.
  • 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. [editline]nope[/editline] Nevermind, I got it. [img_thumb]http://puu.sh/Bdei[/img_thumb] [editline]11:30pm[/editline] How does the paintjob tool work for custom vehicles, do they just need to have skingroups?
  • Avatar of Sakarias88
  • [QUOTE=ShoTGuNGuY49;36345289] How does the paintjob tool work for custom vehicles, do they just need to have skingroups?[/QUOTE] 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.
  • Avatar of LittleBabyman
  • [QUOTE=ShoTGuNGuY49;36353139]I think I got it now. [img_thumb]http://puu.sh/BjL3[/img_thumb][img_thumb]http://puu.sh/BjHj[/img_thumb][/QUOTE] :dance:
  • Avatar of Minimole
  • [QUOTE=ShoTGuNGuY49;36353139]I think I got it now. [img_thumb]http://puu.sh/BjL3[/img_thumb][img_thumb]http://puu.sh/BjHj[/img_thumb][/QUOTE] Are you gonna do the hl1 suv too?
  • Avatar of Minimole
  • [QUOTE=ShoTGuNGuY49;36359316]That [I]is[/I] the HL1 SUV.[/QUOTE] I meant like the old ass one [img]http://images.wikia.com/half-life/en/images/e/e7/Suv_magnum2.jpg[/img]
  • Avatar of madmax678
  • [QUOTE=ShoTGuNGuY49;36362533]I can't port that, It's a brush.[/QUOTE]it's not [I]can you[/I], its [I]would you[/I]?