Some Scripting questions.
Posted: Mon Jul 14, 2014 5:25 pm
Hey all,
i am going to rebuild the Liberty City from GTA 4. I already made one in my gta mod but after a while a learned a lot of new stuff and so on. Anyway would like to create something new one. So I have some questions with lua functions and how things may be possible.
1. Sky files:
It is possible to write a skyfile that changes the skydome after a few seconds/ minutes. Example: I have got 4 sky dome textures, divided into 4 models. And I want that the skydome 1 changes to skydome 2 after six minutes (or just the texture of the sky; both should work). I want to do a dynamic map because to capture all cp's needs time and the map gets bored after a while. ( I have more sky textures I'd like to use (I have 24 textures, every minute a new one)).
I have seen something similair in the based on the clone wars movie map. Don't know the name, but in this map the textures changes to day to evening to night after a few objectieves.
2. I only want to add a timer that counts up at 00:00 and repeats after 24 minutes. It just should be the clock time for my map. Exactly like in Gta. And it is possible to change the figures to custom "painted" figures (And maybe in other position?).
3. If you captured cp 1 you should capture cp 2 till cp 12. I don`t want that the players takes (He just play as one side) random cp's. And if a cp is controled the cp should be untakeable.
And one other but not so important thing is the sun. It is possible to let the sun rotate over the map? It starts at east side of my map and goes down in western side and is for 8 minutes under the terrain. I gta 4 the sun is really well hidden behind of dark grey clouds. So its not so important to get a rotating sun. It just may be a nice touch.
That`s all and I would be really happy If anyone can answer my questions.
i am going to rebuild the Liberty City from GTA 4. I already made one in my gta mod but after a while a learned a lot of new stuff and so on. Anyway would like to create something new one. So I have some questions with lua functions and how things may be possible.
1. Sky files:
It is possible to write a skyfile that changes the skydome after a few seconds/ minutes. Example: I have got 4 sky dome textures, divided into 4 models. And I want that the skydome 1 changes to skydome 2 after six minutes (or just the texture of the sky; both should work). I want to do a dynamic map because to capture all cp's needs time and the map gets bored after a while. ( I have more sky textures I'd like to use (I have 24 textures, every minute a new one)).
I have seen something similair in the based on the clone wars movie map. Don't know the name, but in this map the textures changes to day to evening to night after a few objectieves.
2. I only want to add a timer that counts up at 00:00 and repeats after 24 minutes. It just should be the clock time for my map. Exactly like in Gta. And it is possible to change the figures to custom "painted" figures (And maybe in other position?).
3. If you captured cp 1 you should capture cp 2 till cp 12. I don`t want that the players takes (He just play as one side) random cp's. And if a cp is controled the cp should be untakeable.
And one other but not so important thing is the sun. It is possible to let the sun rotate over the map? It starts at east side of my map and goes down in western side and is for 8 minutes under the terrain. I gta 4 the sun is really well hidden behind of dark grey clouds. So its not so important to get a rotating sun. It just may be a nice touch.
That`s all and I would be really happy If anyone can answer my questions.