Prefab Generator webpage..


(C) #1

I once made a prefab generator.
Maybe useful to some mapper/scripter:

Here’s a link to the site that hosts it (choose Prefab Generator from the main menu):
http://www.ujeclan.com

It can make prefabs of:

  • Tanks/trucks + splines + (max 4) barricades + the mapscript.
    Of course the tank-owning team is also selectable…
  • Command-Posts: allied, axis or neitral + mapscript.
  • Different kind of spawnpoints + mapscript.

easy to use… click-click and download the .map, .script.

To add the generated stuff to Your own map, follow these instructions:
The .map part of the prefab:
-------- WHEN USING RADIANT 1.5, do this:

  • Generate what You want, download the .map file and save it to disk
  • Open the downloaded file in notepad
  • Copy the content of the downloaded .map file (select all, copy)
  • Open Your own .map file (also in notepad)
  • Paste what You had copied earlier, at the end of Your own .map
    -------- WHEN USING RADIANT 1.4, do this:
  • Generate what You want, download the .map file (for Radiant 1.4) and save it to disk
  • Use the import function in Radiant, and import the downloaded prefab

The .script part of the prefab:

  • Generate what You want, download the .script file and save it to disk
  • Open the downloaded file in notepad
  • Copy the content of the downloaded .script file (select all, copy)
  • Open Your own .script file, containing Your mapscript (also in notepad)
  • Paste what You had copied earlier, at the end of Your own .script


(th0rn3) #2

Very useful!


(Pegazus) #3

Handy tool, i’l add it to favorites.


(DeatH) #4

Very nice, should come in handy for a lot of people!


(dwe_flame) #5

whoo, that could be very useful :smiley:


(nUllSkillZ) #6

Good work.
Very impressed.
Will be very handy for mappers.


(DeatH) #7

Will it create say a forward spawn based on an objective being destroyed like the one in Oasis?


(nukits) #8

Wow , thankyou very much !!!


(Qualmi) #9

very cool. thx :slight_smile:


(eiM) #10

thats very nice buddy! Will make use of it for sure


(C) #11

Thanks folks…

If You make a neutral spawnpoint (maybe choose a team that will own it at mapstart), then the triggers “trigger force_allied” & “trigger force_axis” are made in script…
Since i can never know when Your objective is done, You must call the proper trigger Yourself (from Your objective-done code)…


(ailmanki) #12

Would it be possible to add prefabs for ETPro mapscripting?
Something like this one does:
http://bunker11.aaxxss.com/domination/domination.php


(shagileo) #13

A very great tool
Another great thanks !!


(S14Y3R) #14

Excellent tool. Thankyou.


(Blowfish) #15

Nice thinking ! :smiley:


(C) #16

It sure would be possible…
But i made that webpage about a year ago, and never touched it again…
Nowadays i’m so busy with other codes, that i probably don’t get around to it…
And i never used etpro-mapscript myself, i would first have to check on that subject…


(DeatH) #17

Well i’ve tried it out and the script looks good but when i open the map in radiant the textures come up but there are no brushes/models/entities at all! Map info says the same too!


(shagileo) #18

What part did you test? Tank/truck or CP, or both?


(DeatH) #19

Just the Truck, 2 barriers and 100 splines.


(nukits) #20

I have sa same problem like DeatH