| Search this Thread |
|
|
|
| zaide_chris |
Before you start it's a good idea to plan where you want to place your water planes and the terrain around them. Note: The center of the planes can't be under ground. Tools you should already have and know how to use:
Frequent Problems
If you have any questions about how to use S3PE or a hex editer please use the forum search or google. If they are just about the technical side of water planes ask in Water Levels from Twinbrook and Bridgeport. If they are about getting water planes in your world feel free to ask here. |
|
|
Last edited by zaide_chris : 5th Feb 2012 at 11:06 AM.
Reason: More descriptive title.
|
|
14 users say thanks for this.
[ Click here to view a longer list ] |
|
|
|
#2 |
| SandrineD |
WP Generator looks good now but you can confidently roll unk1 and unk2 into one and label it opacity with the warning to keep the range under 00 80 or 32768 in decimal. You could also label unk3 as scale I guess. |
|
C'est la vie, they say, because they can't change their world, but, we can! That's why we have CAW! :rolleyes: |
|
|
|
|
|
|
#3 |
| SandrineD |
My little version for academic curiosity. Its a simple html file with javascript to generate the Hex for the file paste it into an existing 707 file. Not as automatic as the tool above but I like it. A lot of extras could be added but... ps - you only need to bother with the parts between the big groups of ##########'s change those to what you want pps - seems to work ok in recent versions of FF, opera, chrome, IE |
|
C'est la vie, they say, because they can't change their world, but, we can! That's why we have CAW! :rolleyes: |
|
|
|
Last edited by SandrineD : 25th Aug 2011 at 01:58 PM.
|
|
|
#4 |
| SandrineD | |
|
C'est la vie, they say, because they can't change their world, but, we can! That's why we have CAW! :rolleyes: |
|
|
|
|
|
|
#5 |
|
mikitta
Lab Assistant
Join Date: May 2010 |
Link to a good, free hex editor would be nice ![]() God Bless, mik |
|
|
|
|
|
#6 |
| SandrineD | |
|
C'est la vie, they say, because they can't change their world, but, we can! That's why we have CAW! :rolleyes: |
|
|
|
|
|
|
#7 |
|
kiwi_tea
Site Helper
Join Date: Jul 2009 |
This is fantastic, and simple enough that with effort I can wrap my head around it! You guys are my heros! |
|
CAW Wiki - A wiki for CAW users. Feel free to edit. "the rainbow trout that is anal sex" - TheEndIsNigh |
|
|
|
|
|
|
|
| simgelf |
Okay, I get the basic idea, but how do I figure out the X1 X2 Z1 Z2 coordinates? Are they in CAW, or do I have to do some fancy math? My goal is to make a world with a Crater Lake type volcano. Wish me luck!
|
|
|
|
|
|
#9 |
| zaide_chris |
They are in game or on your height map or you can do some "fancy math" If you had a 256x256 town 0,0,256,256 would make a plane that covered your town, 0,0,128,256 would cover half, 128,0,128,256 the other half. To find the coordinates in game you need to place a object then look at the Z, X, and Z of it in the "Property Browser" window. To find them on your height map most image editors show the coordinates of your cursor and those will match the in game cords. |
|
|
|
|
|
#10 | |
| simgelf |
Quote:
Thank you! not to mention a few migraines, but I'm really glad you could answer my question! You've saved me a LOT of time and wasted effort!
|
|
|
|
|
|
|
#11 |
| SandrineD |
cuter version with a form so you dont have to edit the html at all. put in the number and click create then click "go again" button to do another... |
|
C'est la vie, they say, because they can't change their world, but, we can! That's why we have CAW! :rolleyes: |
|
|
|
|
|
|
|
|
| simgelf |
Quote:
Er... what do I do with it after generating pretty green page of hex numbers? ![]() Wait, um, (stares at description above with sample hex for several minutes) replace all the numbers in the hex editor?
|
|
|
|
|
|
|
#13 |
| zaide_chris |
SandrineD's tool outputs the hex of a 707CA200 file you have to then copy that hex in to hex editor to make the file. The upside of this is you can download the tool. Mine is a php script that makes a binary file then pushes it to your web browser for download. I could post the code, but not many people have php and a web server on there computer to run it with. |
|
|
|
|
|
#14 | |
| simgelf |
Quote:
Ah, so you and SandrineD are offering different routes to the same goal. Cool. Thanks for being so helpful! Cheers!
|
|
|
|
|
|
|
#15 | |
| simgelf |
Quote:
Still need some help, I'm afraid. Hope my stupid question can help someone else who may be struggling. It's the definition of X1 X2 Z1 Z2 that is throwing me. If I place an object in the world to get one set of coordinates, X1 and Z1, and another for X2 and Z2, am I trying to define opposites corners, or a right angle? Okay, after posting this question, I went back to my world, painted a square in the area I want my water plane. The square has these coordinates (X and Z, Y being irrevelant for the time being) 453, 575 497, 575 450, 619 492, 619 So, which numbers are defined by/as X1 X2 Z1 Z2? |
|
|
|
Last edited by simgelf : 28th Aug 2011 at 11:01 AM.
Reason: I want to clarify my question.
|
|
|
#16 |
| zaide_chris |
You need opposite corners where the X2 is larger then X1, and the Z2 is larger then Z1 |
|
|
Last edited by zaide_chris : 28th Aug 2011 at 10:55 AM.
Reason: spelling
|
|
|
#17 | |
| simgelf |
Quote:
So, from my coordinates I posted above, I'd get X1= 453, Z1= 575, X2=492, Z2=619. Okay, the fog is lifting. Phew! I think I sprained my brain, and it's WAY past my bed time. Thanks again! :D |
|
|
|
|
|
|
#18 |
|
DJ.
|
Thanks for the great tutorial! I'll definately use it. (Of course, when I buy The Sims 3. |
|
|
|
|
|
#19 |
| zaide_chris |
"X1= 453, Z1= 575, X2=492, Z2=619" is right, |
|
|
|
|
|
#20 |
|
simsample
'Death, death, death' Until the sun cries morning
![]()
|
SandrineD, I'm still getting the error I mentioned here when trying to use your tool. I'm using the version you attached to post #11 in this thread, my inputs were as follows: Should I be using integers, perhaps? zaide_chris, on your generator page today I'm getting a blank page if I click the advanced options. It seems to put the javascript in as a URL for some reason! I tried it in three browsers. It works fine otherwise, but I'd like to try the transparency options.
|
|
I will choose a path that's clear- I will choose free will
RUSH Headlong Flight Performing Arts Award Star Rush OC Please check out my profile policies before PMing me! Thanks. |
|
|
|
|
|
|
#21 |
| zaide_chris |
About my page sorry about that I will fix it soon until then it works in Google Chrome, I normally test in IE and Firefox too, but I didn't this last time. and about the planes you should be using integers as that is what both our tools take for all values other then Y as the files use ints in most places. My tool mine floors all the Floats to integers that the user inputs. SandrineD's tool doesn't have as many sanity checks. |
|
|
|
|
|
#22 |
|
simsample
'Death, death, death' Until the sun cries morning
![]()
|
See, I knew I was doing something wrong! Thanks zaide_chris. Here are some images of water planes in my game, in this case made with Zaide_Chris' tool, although I have found that Sandrine's works wonderfully too. The upper level of the stream is the water plane, the lower level is sea level. As you can see, water colours imposed by changing the world INI files work just as well for the water planes as for the sea. I set the water to be slightly transparent, so that the ground texture shows through. When I first imported the water planes to my world, the edges were harsh and the appearance more opaque, as in my image here. However, after saving my world the water planes get edited by CAW, and fit my land contours much better. The filesize of the resources is smaller, too! So, if your water planes do not appear as you imagined, save and reload the world to see the effect. If your water planes vanish when you save, it is usually an indication that the centre of the water plane is beneath terrain, and so CAW crops the entire plane. This was described by Zaide_Chris here. In that case you need to edit your world design, or the size of the water plane, so that the centre is not covered. Thanks again to zaide_chris and SandrineD, for all of the research and the tools to allow us to do this! |
|
I will choose a path that's clear- I will choose free will
RUSH Headlong Flight Performing Arts Award Star Rush OC Please check out my profile policies before PMing me! Thanks. |
|
|
|
|
|
|
#23 |
| SandrineD | |
|
C'est la vie, they say, because they can't change their world, but, we can! That's why we have CAW! :rolleyes: |
|
|
|
Last edited by SandrineD : 4th Sep 2011 at 03:20 PM.
|
|
|
#24 |
| zaide_chris |
simsample: that looks very nice. SandrineD: you uploaded that exact html file and signature.jpg in post 11, and not to tell you how to code, but if you add a Math.floor() to lines 258,259 and 261 it should fix all the need a int but got a float stuff. I have made a java program that can make water planes, but all the settings are hard coded as I don't yet know how to make a GUI. Give me 3-4 weeks and I'll get a working GUI . Class started up 2 weeks ago so I have stuff I need to do other then sims/wow/starcraft .
|
|
|
|
|
|
#25 |
| SandrineD |
Okay thats kinda silly. Good spot chris... in fact when I re-uploaded for some reason I attached the old one. The risk of working on two computers???? [my excuse] I've changed the attachment to prior post and will also add it here. Some notes: M.floor the x2 z2 was already done although it is largely redundant as calculations made using them are subsequently rounded or floored. I had done it anyway just to be obs-comp. In fact the error ss was having was bec. I didn't have something to cover for a tile size that was odd. So in that case such as his inputs when midpoint was calc it gave something .5 That was the main thing corrected in this revision which you hopefully should have, actually have this time Tell me it works now :P |
|
C'est la vie, they say, because they can't change their world, but, we can! That's why we have CAW! :rolleyes: |
|
|
|
|
![]() |




not to mention a few migraines, but I'm really glad you could answer my question! You've saved me a LOT of time and wasted effort!

replace all the numbers in the hex editor?
Ah, so you and SandrineD are offering different routes to the same goal. Cool. Thanks for being so helpful! Cheers!



Twitter
del.icio.us
StumbleUpon
Google