Quantcast

Jump to content

» «
Photo

Car lights start time [III]

3 replies to this topic
oleg_berezov
  • oleg_berezov

    Player Hater

  • Members
  • Joined: 15 Jul 2013

#1

Posted 03 March 2014 - 05:26 AM Edited by oleg_berezov, 03 March 2014 - 10:43 AM.

I'm making weather mod. Car and street ligths starts at 19-21 p.m. by default. I want to make them start at ~16 p.m.

​I can't find anything about it in main.scm. I need opcode or example of code.


xNCx
  • xNCx

    Street Cat

  • Members
  • Joined: 15 May 2008
  • None

#2

Posted 03 March 2014 - 06:02 PM

I'm sure this is not related to main.scm. Is is either hardcoded very deeply in the game code or related to weather settings (as rainy weather forces car lights to be turned on).


ThirteenAG
  • ThirteenAG

    Foot Soldier

  • Members
  • Joined: 29 Dec 2008
  • None

#3

Posted 03 March 2014 - 07:59 PM

It's probably controlled in 0x541590; CEntity::ProcessLightsForEntity(void)
But i'm not sure at all.

_DK
  • _DK

    gta3 cleo

  • Feroci Racing
  • Joined: 12 Apr 2009
  • None

#4

Posted 04 March 2014 - 02:41 AM Edited by _DK, 04 March 2014 - 02:41 AM.

Nope, that func processes 2dfx lights.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users