Adding sky to zero hour/changing camera an...
Pav:3d 14 May 2008
I hath googled for a zero sky mod or something along those lines, but to no avail, anyone know of any links?
Also, since I'm here, how do you edit the camera angles?
I'm pretty sure these are all possible
This is all for a little project o mine...
Thank you in advance anyone who helps me out!
edit: damn, missed out one subforum, soz...
Edited by Pav3d, 14 May 2008 - 21:31.
Also, since I'm here, how do you edit the camera angles?
I'm pretty sure these are all possible
This is all for a little project o mine...
Thank you in advance anyone who helps me out!
edit: damn, missed out one subforum, soz...
Edited by Pav3d, 14 May 2008 - 21:31.
Pav:3d 15 May 2008
Yes Ive seen and read about it before
I can vaguely remember changing the camera is about editing the ini somewhere
But adding sky I cant remember
Edited by Pav3d, 15 May 2008 - 17:47.
I can vaguely remember changing the camera is about editing the ini somewhere
But adding sky I cant remember
Edited by Pav3d, 15 May 2008 - 17:47.
nEGATIVE 15 May 2008
In GameData.ini look for "CameraPitch = 37.5" and edit the 37.5; 90 is looking straight at the ground, 0 straight at the horizon. However, anything below 33 and it starts to chop the edges of the map off, and above 45 just looks plain weird. Don't know about sky though...
nEGATIVE 16 May 2008
No problem... I found it in the original Hovering Crusader mod, where it was set to 50 fro some odd reason. Looked vauguely RA2ish.
Edited by nEGATIVE, 16 May 2008 - 07:51.
Edited by nEGATIVE, 16 May 2008 - 07:51.
Rich19 16 May 2008
You're looking in the wrong place for sky. For specific maps, you need to edit the scripts to turn the skybox on. For all maps, try editing the skirmish scripts.
Basically, you need to add a script that works like this:
If true (this is the default one)
Start skybox mode. (This script is found under camera/skybox in the script menu.
Basically, you need to add a script that works like this:
If true (this is the default one)
Start skybox mode. (This script is found under camera/skybox in the script menu.
Pav:3d 16 May 2008
Ah I see, thank you rich!
Would you mind posting a script? As I have no idea how to script maps
Would you mind posting a script? As I have no idea how to script maps
Rich19 16 May 2008
Here ya go. Here's what you need to do with the file inside the zip:
Open the map you want to add the skybox to in worldbuilder.
Go to the edit menu (dropdown from the top bar) and click "scripts...".
Press the import scripts button, and browse to the file.
Hit ok.
Save map, and play!
Open the map you want to add the skybox to in worldbuilder.
Go to the edit menu (dropdown from the top bar) and click "scripts...".
Press the import scripts button, and browse to the file.
Hit ok.
Save map, and play!
Attached File(s)
-
skybox.zip (446bytes)
Number of downloads: 41
sturmstroppe 17 May 2008
How will i be able to build if i cant see in what place im building when the camera is on the ground? :wahhhhhaa:
Also, is it possible to play in skirmish in that mode?
Edited by sturmstroppe, 17 May 2008 - 19:08.
Also, is it possible to play in skirmish in that mode?
Edited by sturmstroppe, 17 May 2008 - 19:08.
Lord Jon NOOB 18 May 2008
Am I doing something wrong?
I add the skybox script and saved the map.
But still no skybox! :???:
I add the skybox script and saved the map.
But still no skybox! :???:
nEGATIVE 18 May 2008
The skybox only appears in that particular map. And you will only be able to play online if everyone else has the same GameData.ini.
Rich19 18 May 2008
Lord Jon NOOB 18 May 2008
I tested it with Korea VS Japan (custom map).
I downloaded it here: http://cncden.com/ge..._featured.shtml
When I add the script, it appears in neutral.
The name is: [ns A D] [E N H] Turn skybox on
Script:
*** IF ***
True.
*** THEN ***
Start skybox mode (draw sky background).
After clicking ok, I save the map.
But when I play this map, it won't work!
I don't see any sky.
Have I did something wrong, or didn't I understand something ...
Is the skybox the same sky as here: http://www.cncden.co...llchinav1.2.jpg
Edited by Lord Jon NOOB, 18 May 2008 - 19:14.
I downloaded it here: http://cncden.com/ge..._featured.shtml
When I add the script, it appears in neutral.
The name is: [ns A D] [E N H] Turn skybox on
Script:
*** IF ***
True.
*** THEN ***
Start skybox mode (draw sky background).
After clicking ok, I save the map.
But when I play this map, it won't work!
I don't see any sky.
Have I did something wrong, or didn't I understand something ...
Is the skybox the same sky as here: http://www.cncden.co...llchinav1.2.jpg
Edited by Lord Jon NOOB, 18 May 2008 - 19:14.
Lord Jon NOOB 20 May 2008
Can somebody upload the modified GameData.ini and a working map with sky?
Maby that explains a lot ...
Maby that explains a lot ...
Lord Jon NOOB 20 May 2008
No, it doesn't! :???:
I've tryd it on ten maps. And it's still not working.
I changed some code in INIZH.big in the Gamedata.ini to:
DrawEntireTerrain = Yes
CameraHeight = 30.0
MaxCameraHeight = 100.0
MinCameraHeight = 30.0
Gravity = -32.0
HorizontalScrollSpeedFactor = 1.0
VerticalScrollSpeedFactor = 4.0
KeyboardScrollSpeedFactor = 4.0
MaxTerrainTracks = 150
Do I have to change the following to get the skybox working?:
DrawSkyBox = Yes
SkyBoxPositionZ = -100.0 ; lowers center of skybox under terrain
SkyBoxScale = 8.5 ; good for default 96 x 96 map, make 17.5 for 256x256
Thanks anyway for helping!
I've tryd it on ten maps. And it's still not working.
I changed some code in INIZH.big in the Gamedata.ini to:
DrawEntireTerrain = Yes
CameraHeight = 30.0
MaxCameraHeight = 100.0
MinCameraHeight = 30.0
Gravity = -32.0
HorizontalScrollSpeedFactor = 1.0
VerticalScrollSpeedFactor = 4.0
KeyboardScrollSpeedFactor = 4.0
MaxTerrainTracks = 150
Do I have to change the following to get the skybox working?:
DrawSkyBox = Yes
SkyBoxPositionZ = -100.0 ; lowers center of skybox under terrain
SkyBoxScale = 8.5 ; good for default 96 x 96 map, make 17.5 for 256x256
Thanks anyway for helping!
Lord Jon NOOB 24 May 2008
Still not working ...
This is working on my nerves! :nurse:
Maby I need to reinstall?!
Or doesn't this work with all maps?
Can somebody help me, please?
This is working on my nerves! :nurse:
Maby I need to reinstall?!
Or doesn't this work with all maps?
Can somebody help me, please?
Kris 24 May 2008
Make a "map.ini" and put it on the map's folder. Open Map.ini and add this:
You can change the texture of the skybox by using that code.
WaterTransparency SkyboxTextureN = TSMorningN.tga SkyboxTextureE = TSMorningE.tga SkyboxTextureS = TSMorningS.tga SkyboxTextureW = TSMorningW.tga SkyboxTextureT = TSMorningT.tga End
You can change the texture of the skybox by using that code.
Lord Jon NOOB 25 May 2008
Ok.
Thanks all for helping.
But nothing works. :???:
I'm going to remove Zero Hour and reinstall it.
I've done the folowing things in GameData.ini:
DrawEntireTerrain = Yes
DrawSkyBox = Yes
SkyBoxPositionZ = -100.0 ; lowers center of skybox under terrain
SkyBoxScale = 17.5 ; good for default 96 x 96 map, make 17.5 for 256x256
CameraPitch = 10
CameraYaw = 0.0
CameraHeight = 30.0
MaxCameraHeight = 100.0
MinCameraHeight = 30.0
I've add the script to the map I want to play with the skybox (Korea VS Japan).
And saved the map.
And I've add the code to map.ini in the map dir.
Results ... No skybox!
See also my screen.
Jon
Edited by Lord Jon NOOB, 25 May 2008 - 09:51.
Thanks all for helping.
But nothing works. :???:
I'm going to remove Zero Hour and reinstall it.
I've done the folowing things in GameData.ini:
DrawEntireTerrain = Yes
DrawSkyBox = Yes
SkyBoxPositionZ = -100.0 ; lowers center of skybox under terrain
SkyBoxScale = 17.5 ; good for default 96 x 96 map, make 17.5 for 256x256
CameraPitch = 10
CameraYaw = 0.0
CameraHeight = 30.0
MaxCameraHeight = 100.0
MinCameraHeight = 30.0
I've add the script to the map I want to play with the skybox (Korea VS Japan).
And saved the map.
And I've add the code to map.ini in the map dir.
Results ... No skybox!
See also my screen.
Jon
Attached File(s)
-
sshot446.jpg (171.74K)
Number of downloads: 40
Edited by Lord Jon NOOB, 25 May 2008 - 09:51.
Lord Jon NOOB 25 May 2008
Okey. I have completely removed my Zero hour and Generals and I reinstalled them.
I have only edited the camera position in GameData.ini.
Edited the maps.
And I added the map.ini script.
I tested this on differend maps and gues what?!
NO SKY BOX!!! Arrrggggg!!! :stickattack2:
Can somebody post a map and edited GameData.ini that works?
Please? I'm driving crazy! :wahhhhhaa:
Jon
I have only edited the camera position in GameData.ini.
Edited the maps.
And I added the map.ini script.
I tested this on differend maps and gues what?!
NO SKY BOX!!! Arrrggggg!!! :stickattack2:
Can somebody post a map and edited GameData.ini that works?
Please? I'm driving crazy! :wahhhhhaa:
Jon
Kris 25 May 2008
Skybox in a skirmish map =o ! (Added by NOT using Rich's script, I made my own. )
Edited by Chris, 25 May 2008 - 18:05.