Jump to content


Photo

A few beginner modding questions.


  • Please log in to reply
68 replies to this topic

#21 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 30 November 2015 - 01:38 AM

Yeah, I've spent many hours playing different mods and never noticed the scale difference until I started comparing models in the editor a few days ago. It doesn't really bother me personally, but I want to hear other opinions on the subject as changing the size of the model messes up the lights setup. 

 

I've also decided to simply replace the LA mod model files with my own instead of trying to figure how to properly set up a car. I still hope to figure it out along the way but right now I felt like I lost a lot of time for very little to show for. Renaming my files like the ones in the mod and moving around the child objects a bit in the editor and I had a fully working patrol car in under 15 minutes. Definitely the way to go for the time being. I'll replace all the other Crown Vics in the LA mod then I'll start modeling a new car, 

 

I hope it will be alright if I release a car pack that overwrites some of the LA mod files but it will still require having the base mod installed in the first place.

 

Here is how the new CVPI looks like. I've decided to go with ~110% of the scale that's in the LA mod. (the lights are not place correctly as my car is slightly bigger than the original one)

UKEG6NS.jpg



#22 losangelesi

losangelesi

    Lieutenant

  • Members
  • 68 posts
  • Gender:Male
  • Location:California
  • Interests:EMS, Firefighting, being awesome

Posted 30 November 2015 - 08:21 AM

My few cents is try turning off alpha reflections, makes it look quite a bit better in game :)


18fly4.jpg


#23 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 30 November 2015 - 08:54 AM

My few cents is try turning off alpha reflections, makes it look quite a bit better in game :)

 

Definitely keep throwing them cents at me! If something doesn't look right to you, I most likely share the sentiment but I have no idea how to fix it. :D

 

If you were talking about the AlphaReflections button in the prototype menu, it is already unchecked. You are talking about light reflecting from the car and showing the model polys right? I also checked the texture and I didn't make an Alpha channel by mistake and I couldn't find any really obvious Alpha reflections button in Blender. Could you point me in the right direction? :)



#24 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 01 December 2015 - 02:32 AM

I've replaced a few more CVPI variants. The cars unfortunately cause quite a big performance drop, those 5 cars with lights on dropped the fps from 55+ to ~30. I'm not sure yet if it's the model or the textures or both, I'll scale down the textures by 50% and see if the performance improves. The 3d models could also use some polishing, the Fedsig Vision lightbar is almost 600 polys! :))

 

fQtgmM2.png

ap3vuGy.png

H88DTMv.jpg



#25 Newfoundking

Newfoundking

    The Real Slim Shady

  • Moderator
  • 7,253 posts
  • Gender:Male
  • Location:Newfoundland

Posted 01 December 2015 - 12:26 PM

What's the total poly count and the skin dimensions?

Wanna play multiplayer without any of the commitment? Emergency Planet hosts casual multiplayer to all its members! Contact me for more information

 

Executive Director: EMP Gulag

 

Do you have a warning that you want to go away, or are you facing another punishment you don't want? Contact me for the NEW alternative!


#26 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 01 December 2015 - 01:57 PM

Hang on to your hat because the numbers will make you head spin.

 

- car body = 2875 triangles (4 separate doors and a rough interior)

- 2x front door = 194 tris each

- pushbar = 226 tris

- trunk = 240 tris

- 4x wheel = 124 tris each

- fedsig arjent = 264 tris 

- code 3 mx7000 = 294 tris (it's got spinning lights and mirrors, I thought I could make the dome see through but that doesn't seem in EM4)

- fedsig vision = 646 tris 

 

So a full car would be from 4263 up to 4909 triangles... Well I'd be damned!

 

The textures are: a 1024x1024 image for the exterior, a 512x512 image for the interior, a  512x512 image for the extras (wheels, spotlight, lightbar, pushbar, mirrors). I've reduced the resolution by 50% and the quality difference is barely noticeable ingame, but the fps increase isn't all that impressive, maybe 5+ fps. But I'm definitely keeping the low res textures.

 

I've tried the Decimate modifier in Blender to quickly get rid of some of the polys, I can take out about 20-30% of the polys before the textures begin to stretch. I could also delete the interior and make the back doors a 2D plane, but I'd like to know how can I to set the back doors to open when I put inside an arrested person? Do I need to write a script for that? The back seats and the doors don't have many polys so I'd rather keep them if I can use them. 

 

EDIT: I've worked on the car model and got it down to 3224 polys from 4263. All cv variants should now be under 3.5k polys. I've tested it ingame and I haven't noticed a fps improvement, but to be honest I can't really tell because the fps is all over the place every time I move the camera or some civilian pops into the view. The game is definitely playable even if there's a bit of lag so I'm fine with that. I do plan on making a completely new model sometime in the future but I want to start working on something new before I get bored. :)



#27 Newfoundking

Newfoundking

    The Real Slim Shady

  • Moderator
  • 7,253 posts
  • Gender:Male
  • Location:Newfoundland

Posted 01 December 2015 - 09:40 PM

The things that contribute to lag would be the size of the model (poly wise) the size and amount of textures and the lights on it. FPS is usually weird for this game. I'd recommend cutting all the doors out except for one front door and one rear door. To use the rear door, you need to set it as special and use a script to activate that door. Take a look at MikeyPI's NYC Mod, there's the backdoor script in there. Cut out all but the basics for the interior will help too. I usually do a half vehicle for each door that opens. Like one boxy looking seat, texture it black leather, and repeat for the rear. For the game's purposes, that's all you really need. 

 

As for the transparent lightbar, save the vehicle texture as a png or a dds with alpha and create a semi transparent area for the outside texture of the bar. You'll need to have a more advanced program for editing than paint ;)

 

I haven't seen your wireframe, but I bet there could be some fat trimmed off of the interior and the doors. Two doors on a CV is more than enough imo

 

Let me know how it goes!


Wanna play multiplayer without any of the commitment? Emergency Planet hosts casual multiplayer to all its members! Contact me for more information

 

Executive Director: EMP Gulag

 

Do you have a warning that you want to go away, or are you facing another punishment you don't want? Contact me for the NEW alternative!


#28 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 02 December 2015 - 02:30 PM

I won't be spending any more time on that model, I've made too many mistakes on it to be worth saving. I'll do a couple other vehicles to get some practice then I'll do another Crown Vic, a much better one hopefully. Right now I've started working on a 2011 Dodge Charger, the car body is almost done, with only the front doors and the trunk as separate objects. My main objective is for the car body + interior not to exceed 1500 triangles (so I have to clean up the model quite a bit). I'll keep in mind all the useful tips you gave me and fingers crossed it won't it so many fps this time.

 

IreExIw.png

Y2x9eER.png



#29 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 03 December 2015 - 10:01 PM

The Charger is done. With all the bells and whistles the model is under 2500 triangles, so I'm quite proud of myself right now.  :lach:

 

tW0lPVd.png

voZPTMD.png

ZFNRbXK.jpg

BvRmwPh.jpg



#30 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 05 December 2015 - 02:17 AM

I've finished the FPIU model today. Next I'll do the Tahoe.

 

WlrK6QH.png

yfhTZwB.png

DcBCQAy.jpg1VdkdKw.jpg



#31 LBFDEngine11

LBFDEngine11

    Firefighter

  • Members
  • 19 posts
  • Gender:Male
  • Location:Southern California
  • Interests:Military, Firefighting, Law Enforcement

Posted 05 December 2015 - 02:54 AM

One question i have to ask, how do i get blender to export to v3o?, i've started trying to work on models but everytime i try to export it comes up as an error, is there anyway i can fix that?



#32 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 05 December 2015 - 09:28 AM



One question i have to ask, how do i get blender to export to v3o?, i've started trying to work on models but everytime i try to export it comes up as an error, is there anyway i can fix that?

 

Can you tell me what does the error say? Are you using this Blender script or something else? 

 

Beside that script, I also use a script for exporting separate objects within a blender file. Import/Export Selected script (to get it, click on the "Current version download button", save all the text in a text file, then enable seeing the file extensions and replace .txt with .py; then install it just like you did with the v3o script; that's how I did it, I couldn't find where to download the .py file)

 

If this is the first time you set up a car model for EM4, I can make a short tutorial for you that covers the basics once we fix the problem with the export.



#33 LBFDEngine11

LBFDEngine11

    Firefighter

  • Members
  • 19 posts
  • Gender:Male
  • Location:Southern California
  • Interests:Military, Firefighting, Law Enforcement

Posted 05 December 2015 - 10:17 AM

Can you tell me what does the error say? Are you using this Blender script or something else? 

 

Beside that script, I also use a script for exporting separate objects within a blender file. Import/Export Selected script (to get it, click on the "Current version download button", save all the text in a text file, then enable seeing the file extensions and replace .txt with .py; then install it just like you did with the v3o script; that's how I did it, I couldn't find where to download the .py file)

 

If this is the first time you set up a car model for EM4, I can make a short tutorial for you that covers the basics once we fix the problem with the export.

i managed to get a screenshot of the error

http://postimg.org/image/nbfjmm2ex/



#34 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 05 December 2015 - 01:22 PM

i managed to get a screenshot of the error

http://postimg.org/image/nbfjmm2ex/

 

Hmm, I don't know what to make of that, sorry. Have you tried exporting the model to a different format (3ds,obj)? See if you get the error then also. 



#35 THVFD

THVFD

    Battalion Chief

  • Members
  • 631 posts
  • Gender:Male
  • Interests:firefighting and fishing

Posted 05 December 2015 - 08:16 PM

One question i have to ask, how do i get blender to export to v3o?, i've started trying to work on models but everytime i try to export it comes up as an error, is there anyway i can fix that?


You're missing a texture add the texture to the material and you will be able to export


Sent from my iPhone using Tapatalk

Riverfalls2_zps22a28fd9.png


#36 LBFDEngine11

LBFDEngine11

    Firefighter

  • Members
  • 19 posts
  • Gender:Male
  • Location:Southern California
  • Interests:Military, Firefighting, Law Enforcement

Posted 06 December 2015 - 11:35 AM

You're missing a texture add the texture to the material and you will be able to export


Sent from my iPhone using Tapatalk

where can i make or create a texture?



#37 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 06 December 2015 - 11:50 AM

where can i make or create a texture?

 

I usually can export models with no texture attached without any problems. Are you using a model that came with a texture or is it something you made from scratch?

 

If you want to, you can send me your model via PM and I'll check it out and try to figure out what's the problem.



#38 LBFDEngine11

LBFDEngine11

    Firefighter

  • Members
  • 19 posts
  • Gender:Male
  • Location:Southern California
  • Interests:Military, Firefighting, Law Enforcement

Posted 06 December 2015 - 11:59 AM

I usually can export models with no texture attached without any problems. Are you using a model that came with a texture or is it something you made from scratch?

 

If you want to, you can send me your model via PM and I'll check it out and try to figure out what's the problem.

a friend of mine who also plays EM4 had got the cab pack that itchboy made and sent them to me a while back but i haven`t made any attempt to make anything till now since im new to modding and modeling 3d models , i can texture the cab but if itchboy does not want me using them i can respect that and will delete them from my computer if he wants me to do so



#39 BogdanM

BogdanM

    Lieutenant

  • Members
  • 45 posts
  • Gender:Male
  • Location:Romania

Posted 06 December 2015 - 12:51 PM

a friend of mine who also plays EM4 had got the cab pack that itchboy made and sent them to me a while back but i haven`t made any attempt to make anything till now since im new to modding and modeling 3d models , i can texture the cab but if itchboy does not want me using them i can respect that and will delete them from my computer if he wants me to do so

 

Alright. I'm pretty sure he doesn't mind using his model for practice, I'm not sure though about releasing it. You should contact him.

 

I assume the vehicle model came with a texture. To apply it to the model you have to click on the Materials tab. The model might already have materials assigned to it, if it does, select a material, then click on the Texture tab. If it doesn't have any materials, press Tab, then Ctrl+A to select all the vertices, then click new in the Materials tab and press Assign button, then go to the Texture tab. If there's nothing there click new, then open->select the texture from you hardrive (best way is to move it in the same folder with the model), then under Mapping->Maps, select the uv map. There should be one there. 

 

This is how to apply the exterior body texture, if the model has multiple textures, you'll have to apply each one to the correct material. To check which material is applied where on the model, press Tab (Edit mode), then click on the material and press the Select button and it will highlight the portion of the model where the material is applied.

 

If I explained it poorly and you can't get it to work, just watch a video tutorial on how to apply textures in Blender. :)

 

JTCBhTC.png



#40 LBFDEngine11

LBFDEngine11

    Firefighter

  • Members
  • 19 posts
  • Gender:Male
  • Location:Southern California
  • Interests:Military, Firefighting, Law Enforcement

Posted 06 December 2015 - 02:13 PM

Alright. I'm pretty sure he doesn't mind using his model for practice, I'm not sure though about releasing it. You should contact him.

 

I assume the vehicle model came with a texture. To apply it to the model you have to click on the Materials tab. The model might already have materials assigned to it, if it does, select a material, then click on the Texture tab. If it doesn't have any materials, press Tab, then Ctrl+A to select all the vertices, then click new in the Materials tab and press Assign button, then go to the Texture tab. If there's nothing there click new, then open->select the texture from you hardrive (best way is to move it in the same folder with the model), then under Mapping->Maps, select the uv map. There should be one there. 

 

This is how to apply the exterior body texture, if the model has multiple textures, you'll have to apply each one to the correct material. To check which material is applied where on the model, press Tab (Edit mode), then click on the material and press the Select button and it will highlight the portion of the model where the material is applied.

 

If I explained it poorly and you can't get it to work, just watch a video tutorial on how to apply textures in Blender. :)

 

JTCBhTC.png

i managed to get the skin on the cab but now im hitting a couple other problems since i`m tying to create the mid and rear body of the engine from scratch