Page 1 of 2

Making a plug-in in for radiant

Posted: Sun Mar 16, 2003 12:41 am
by Yarik
How do I make a plug in for radiant? I think usefull plug ins would be like a ladder or a staircase or even a functioning door with the origin and rotating door in place. How would i go about doing this?

Posted: Sun Mar 16, 2003 6:55 am
by jv_map
I think you mean a prefab rather than a plugin. Just select the brushes that make up your ladder / stair / door and save them to a prefab (.pfb).

Posted: Sun Mar 16, 2003 10:59 am
by wacko
I also would like to know how to make a plugin for mohr (not a prefab) like Bobstools. In Worldcraft we once had things like spiral staircase plugins and stuff and I'd love to have s/th like this again.

Posted: Tue Mar 18, 2003 7:41 pm
by Yarik
Yes wacko is right I want one to be like a little program so when you click plugins and then select what you would like to do like maybe a door. And it will not only put a door in your MOHRadiant it will ask u specific details like how how blah blha blha. Same with the stairs. GTK radiant for wolfenstein has some.

Posted: Tue Mar 18, 2003 7:52 pm
by TheStorm
These are the PLUGINS that I have for mohradiant. I have just zipped everything in the plugins folder including subfolders. Download the zip and extract it to your plugins folder. Some tools are not for mohradiant but still work (more or less).

Posted: Tue Mar 18, 2003 8:31 pm
by wacko
Ty! I got BobsTools already, GensSurf is new now, but didn't I read here, I shouldn't use it?

Our question, though, was how to program a new plugin. Is there any information to be found somwhere?

Posted: Tue Mar 18, 2003 9:04 pm
by Yarik
IM not home yet so please tell me what some plug ins do?

Posted: Tue Mar 18, 2003 9:14 pm
by wacko
Plugins do things you could do manually, but they do it more or less automatically: I'd love one I had in Worldcraft, which asked for inner and outer radius, step height direction and so on and then built a spiral staircase

Posted: Tue Mar 18, 2003 9:38 pm
by Yarik
:? Well I know what they do I wanted to ask what the specif ones for MOH radaint do.

Posted: Tue Mar 18, 2003 10:04 pm
by rOger
One could always make a external program that makes a prefab file of the stair for instance. But of course making it a plugin would be nicer. 8)

Posted: Tue Mar 18, 2003 10:13 pm
by wacko
:oops: sorry

D/l from TheStorm's post, the ones that I use can repair stuff in your map and there are some for ramps and stairs (straight ones, though) and a GenSurf-plugin

Posted: Tue Mar 18, 2003 10:28 pm
by Yarik
So im going right back to my original post does anyone know where to get tutorials or YOU personally know how to code to make a plug in?

Posted: Wed Mar 19, 2003 4:54 am
by TheStorm
One of the plugins that are in my zip file are from fakk2, it will help you to create shaders for textures. I've tried it a bit and it works more or less.

List of zip:

* Fakk2plugin
-- ShaderED (works more or less)
-- Terrain Generator (haven't tried it, not sure it will work)
* GenSurf (ground, walls ceiling)
* Rouge Brush Repair (help you find bad brushes and stuff)
* Rouge Shapes (stairs and ramps)

Posted: Wed Mar 19, 2003 5:05 pm
by Yarik
Thanks for the plugins I LOVED the stairs they help A TON. :shock:

Posted: Sun Apr 20, 2003 1:23 pm
by The_Grass
Where to put the plugins in the MOHaatools dir or somewhere else ?