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
7 years 1 week ago #357 by Copy-Cat
For each new entity class we have a base class. The base class can be any other class, and it will inherit its properties.

What I am currently looking for in this new feature is examples of this feature in Hammer for source engines like HalfLife and Portal.
So far JACK has a feature like this where your can toggle trigger and origin brush faces' transparencies, but JACK overall lacks the Prefab Factory,

The Prefab Factory is our version of the ModelViewer for the above mentioned source engines, JACK doesnt have this feature, I have yet to add the prefab values into JACK to see if it will load as a new object Type like in worldcraft,

With all of that said, we have the source code for the quake 3 plugin currently loaded in JACK. We can recompile plugin with our own version of a prefix for transparencies, including a value for the amount of transparencies. This could be written in code, where as the value for transparency can be a key value pair, written in the entity itself, for instance.

We take our func_solidref entity and add a key value pair for level of transparency. WC or JACK will recognize this as the level of transparency for the object. When we build we could modify data as needed to be exact, and even include a buffer if how the editor and game renders the transparency is not the same.

I would like to know if you could use a version of Hammer configured for other games like the above mentioned ones that use Hammer as their level editor; Take advantage of all the Hammer tweeks to help in the mapping process, like models, model viewer, realtime transparencies, realtime lighting, moving textures and correct decals.... which Hammer version for said game would you use?

Let me know.

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

More
6 years 11 months ago #368 by Slippery Jim
I lack imagination and would have to see your ideas in action to decide if I personally would use them. Sorry, not a good answer but sometimes I am a little thick in the head ;)

I would say if it is something that you would enjoy making and also would use then go for it.

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

More
6 years 11 months ago - 6 years 11 months ago #372 by Copy-Cat
When you say see this transparency in worldcraft do you mean actually see the texture transparent in WC 3d view, or just the key value pair entry? key value pairs can be added, we just need to know what the key is; the value can be determined. Who knows if the map.exe will handle this like it would handle it if it still works with 3d studio max. Does the SCN show what the key value pair is.

Maybe we could try to build and compile a simple map using 3d studio max, add this transparency value to an object's texture and view the .map file in a text editor and see what the key value pair is. Of course we could probably figure it out by guessing what the key value pair is, assuming it uses a key/value pair.

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

More
6 years 11 months ago #373 by Slippery Jim
It is just a dream wish but not worth putting much effort into it. Ya just the value is all you need between 0-255. There is a value for that for each bitmap texture in the .SCN file but I think it is the map.exe that assigns it. You can see this value with AlienAbductor's SCN Editor and possibly with Furrycat's SCN Hacker (can't remember fo' sure though).

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

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.

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