Last resort logo

SWAT 3 - LAST RESORT GAME MODIFICATION


Spam Prevention - PLEASE READ !! (23 Apr 2021)

Due to a problem with spammers the rules for posting in the forums have changed for new users.

Newly registered users won't have their posts published until a moderator approves them.

New Prop_Static Entity for WorldCraft

More
6 years 6 months ago #662 by CraftyReaper
On the subject of inserting static meshes into the game, can you give more specifics on what is actually required at present.

What is the polygon limit (I see 5000 for a prop static - is this the case for a lit actor. is there progress on this)
What is the maximum texture resolution (1024?) does it have to be in .BMP or .TGA, is there a preference.
What is the scale for example - 1 unit in a .map file is equivalent to how many 1cm / inches
Does the model require a bone and skinning. What is the structure (naming conventions) for this?
Would, or could it be dynamically lit or would the texture require tweaking to get this effect. Would lighting the texture from the correct angle in a modelling package and then baking that information into the texture be helpful.

This information would allow one to be created for testing and then tweaked form there.

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #766 by Slippery Jim
Copy Cat has been inactive for a while now. Sorry Reaper you never got a reply. He is the mad scientist behind "static meshes" in Swat 3 and is only one with these answers.

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #767 by CraftyReaper
No worries, I was just wondering what was possible.

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #768 by Copy-Cat
There is no limit to a prop_static since the object can be divided into separated files behind the scenes. i.e. The swat truck has 3 files, Each file can contain up to 5000 polys(in Maya the polys are triangles)

The maximum texture resolution is based on the last resort mod, both bmps can be used and targas with alpha channels adding transparencies to the object.

Scaling is not an issue since its not WC based modeling. so far on small intricate objects up to large objects with small intricate parts can be created.

As with all objects of a class type, FH1, Launcher, Rat, Gun, tactical gear, etc the object must be skinned, the best results are achieved by using the class with the most bones, SWT or TAC, it is not possible to export the launcher, FH1, PRI and the RAT classes since the export plugin for Maya doesn't support these classes. No naming convention needed since the object is static and has no animation.

During my testing of these objects it does appear to be dynamic lighting, My testing consisted of making the object nudgeable and pushing the object around the map and watching for shadow and highlights on the object.
Baking shadows is also possible, don't recall if it requires manually manipulation the texture to appear to have a shadow.

sorry for the late reply.

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago - 6 years 2 months ago #769 by Copy-Cat
Here is my current progress.

Attachment not found

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #1577 by DarkSynopsis
Did this ever come to fruition? This would have been a modification to the swat.fgd? at least I was toying with that recently with J.A.C.K, had the viewports showing a .mdl file for a LitActor not that .mdl is useful for SWAT its just what I was testing with.

I just had the LitActor set to one of the SWT Officer Models in-game since figured it was easier to test with .GSMs already in the files, it didn't seem to have any collision though even with options like "Collide with World" set to Yes, I guess a quick fix would be throwing a clip round it.

Was there a reason you was using LitActor over Actor in the past?

Please Log in or Create an account to join the conversation.

Moderators: DarkSynopsis
Time to create page: 0.174 seconds
Powered by Kunena Forum