Game Development Community

my city is in game but couple of problems

by david blue · in Game Design and Creative Issues · 10/12/2009 (2:44 pm) · 7 replies

i have to write my problems and anticipated problems now as i do not have internet in my house.

1. i am using .kmz to save my files, i created a city using sketchup, i now have textured the entire city, using the same photoshop on all and save methods, however some of the building did not save correctly they are pitch black. is there a way to fix that?

2. the city is in game now, but i can't seem to make the colision work, i go to demo and he will run right through the buildings. i have checked collision in the boxes but it doesnt seem to do anything.

3. the offline tutorial doesnt seem to be complete yet(?). i need additional information and tutorials on pathfinding, and setting characters to follow it, setting weather patterns, and rain and snow cycles especially.

4. and i need a tutorial on how to use the particles,

5. namely alot of the environment options were not spoken clearly in the documentation, and i really need that. i would really like to get the world done before i start creating the actual game, these will include.
*day and night cycles
*weather cycles (only two heavy rain, no rain, and snow) this planet has really depressing weather)
and a monorail set to path system.
* i would also like to create a lot of random animated people (they will basically be non-relevant moving props so to speak to help the world look vast and full of life. they will just be walking around. (they do not need to do anything or even go anywhere, just be there. and not bumping into walls so to speak.

to anyone who wishes to help me i can package what i have so far so you can get an idea of what i am talking about.

the game is going to be an RPG, but my goal is to make it more like a book, full of description and life, there will be no random encounters, i want it to be an experience,

you must work: repeatable, random missions. example GTA san andreas semi truck missions and, police missions. just go do this and get some allotments (game currency)
and you get stronger by getting educated and putting into practice what you learned (no leveling system.)

most will obviously be done through scripting. my only concern now is just getting the world done.

1. tutorials on the environment assets. participles, lighing, etc. any thoughts


#1
10/13/2009 (1:28 am)
First thing is first. What engine are you using?
#2
10/13/2009 (11:32 am)
wow, forgot to state that, i am using the t3d engine, i am back at work now so i have internet again.
#3
10/14/2009 (12:01 pm)
SketchUp version:Operating system: i believe the latest it is on my pc and i am using my mac laptop.

i am working with this program to build an entire city for a game i am making with the torque 3d engine, so the problem could be torque 3d or it could be sketchup, or it could of course be me.

i have succesfully created an entire city using sketchup pro, i am now trying to export it but it doesn't seem to export properly, the textures do not seem to attach and when it tells me what number of textures that where exported the numbers do not match the amount used.

torque 3d uses 2 forms of export. i can do the google earh method (.kmz) or I can export using collada (.dae). however neither seem to be working properly.

i have sent them the same question but have not got any repsonses, can you help me or are there any people doing the same thing. i really need this problem solved.

the textures are not complex, just jpegs. i have pics but don't know how to insert them to show you.

thank you for your help
#4
10/14/2009 (4:57 pm)
OK, I gave this a shot and this is what I got:
i226.photobucket.com/albums/dd48/stacalkas/screenshot_001-00000.png
Sketchup 7, T3D demo, Windows Vista

1. Applied my two custom textures
2. Exported as collada(.dae)
3. Dropped textures and .dae file in the art folder
4. Added it via object editor with default settings
5. The Textures DID NOT appear, so I had to manually add them via the material editor by throwing them in the diffuse map slot
6. Collisions DID NOT work, so I went to the Object Inspector-> Collision-> collisionType dropdown menu-> selected "visible mesh"

Hope this helps!

#5
10/15/2009 (11:30 am)
great i also did, point number 2 and 3 the only problem is my city is so big it will be confusing to remember each building texture, i am going back into sketchup to add some details and simplify some things.

thank you very much for point number 6, I will try it as soon as i get home from work.

also how did you insert your image i do not seem to have a upload link, i would like to know so that i can get more help quickly by showing exactly what I am doing?

thanks again for your response
#6
10/15/2009 (12:14 pm)
GarageGames has a list of putting code in the comments its above the comment box. Click, Add Your Reply(MarkupLite is enabled) this is for future reference.

To insert an image. I first, upload it to say photobucket.com and copy the link and put the link in between [image][/image]

point 2 and 3 would be a pain with a large city. I would suggest to either divide your city up into "blocks" or export single buildings that you know you'll reuse.
#7
10/16/2009 (12:03 pm)
thank you for your help it worked perfectly point number 6. now i am in the process of setting up point number 2 as i must redo a very large number of sketch up buildings.

for those of you who were also having this problem here is what was posted on my same question posted to google sketchup forums.

Torque seems to have the same problem as Unity and Preview, and anything else I've tried except for Photoshop and SketchUp! With kmz or dae files from SketchUp 7.1, Torque only sees the first model in the scene. The only work around I've figured out is to open the scene in SketchUp 7.0 and do an export to kmz from there.
This isn't a problem on Macs, you can have 7.0 and 7.1 running at the same time, but under Windows you need to have one or the other, and are told to make sure to uninstall 7.1 before installing 7.0 again. I guess you should keep both installers around so you can switch back and forth as you need to.

Once you have the kmz from SU 7.0, it will do a lot better when importing into Torque.

BTW, if you don't want to go to that trouble, feel free to put the model somewhere I can get it, and I can do the kmz export for you.

Here's where you go to get the older installers:

http://sketchup.google.com/support/bin/answer.py?hl=en&answer=60107