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 10 months ago #379 by Copy-Cat
Let me see if i understand this before getting into it.
We create an object, apply texture, tie to entity and add a key value pair called transparency with a value between 0 - 255.

is this how its done in missiona for the curtains? post an excerpt from the scn so i can see what it is you see.

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

More
6 years 10 months ago - 6 years 10 months ago #381 by Slippery Jim
I think because they originally did some maps in 3D studio max they could apply the transparency setting without the tie to entity. It could be on any texture I think.

Perhaps adding it to Worldcraft won't be something feasible unless as you say you make the geometry an entity, Perhaps this is a feature that could be added to the SCN Editor by AlienAbducter? I have downloaded the source code and my son is learning C++ in school. Perhaps I can get him to see if he could add it. The SCN Editor uses the Irrlicht engine and my son reports that AlienAbducter is a bit of a genius with that engine with over 3000 posts in their forum. My kid was having trouble understanding AlienAbducter's code and the reason was a lot of it had to do with the Irrlicht engine.

I will try to post screenshots of the transparency soon...

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

More
6 years 10 months ago - 6 years 10 months ago #383 by Slippery Jim
Mission A - second floor bedroom window curtain


Click to enlarge this image

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

More
6 years 10 months ago - 6 years 10 months ago #384 by Slippery Jim
Update to this thread:

My son got the texture transparency working in SCN Edit. Once you select the texture and push a key the app prompts you in the console for a new setting between 0-255. He says it doesn't change it visually on the screen but it does in memory.

Will have to properly test his build to see if it really does write the change to the SCN file.

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

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.

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