Traffic

Started by rulk, Oct 11, 2015, 08:47 AM

Previous topic - Next topic

rulk

I don't know if this is possible, or if you have the time to implement this, but having random traffic around Vice City would be a great idea, especially from a racing server owners perspective, I could create races with or without traffic then, to make it more difficult for the players.

Just a thought.

regards,

rulk
We are all god's children.

DizzasTeR

idea is genuine and awesome but the traffic has to be sync between all the online players, on the top priority, we don't have NPCs / Peds in the first place so I guess that's kinda not going to happen currently.

KAKAN

Great Idea!
I want NPCs for some work.
I have made some NPCs that will roam around VCMP. but Idk how to sync them with the server
oh no

Xmair

#3
This will lag the shit out of the server but this is an idea and can be improved.
Use custom objects/Vehicles. Use timers to move them. This can be improved.
Not sure if this works but laggy.
[spoiler=Code]
objone <- CreateObject(6000,...,...,...,..,..,..)
objtwo <- Crea......
//More.
NewTimer("anytimer",500,1)
function anytimer()
{
objone.MoveTo(Vector(123,123,123),3000...)
objtwo.Move.......
NewTimer("nexttimer",500,1)
//More shit here.
}
function nexttimer()
{
objone.MoveTo(Vector(124,124,124),3000...)
objtwo.Move........
NewTimer(".....",500,1)
//More timers, That's what will cause lag. but the last one should contain anytimer again. I mean the first timer again.
}
For custom vehicles you may need to use FindVehicle(ID).Pos=Vector(123,123,123)!
Laggy :P But this can be improved or they should implement custom npcs.
[/spoiler]

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

KAKAN

I know that way.
That way is extremely bad!
oh no

Xmair

Quote from: KAKAN on Oct 11, 2015, 10:33 AMI know that way.
That way is extremely bad!
But that's just an idea which can be improved.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD