How do I create mines?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

How do I create mines?

Post by mohaa_rox »

How do I create mines like in Omaha beach?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

global/minefield.scr in pak0.pk3

On top of that file there's some kind of tutorial.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

What do you mean? Have you tried it before?
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

Start by creating a triggerMultiple. Give it a targetname of minefield.Then somewhere near the top of your script file add the line :

exec global/minefield.scr
Admin
Image

.map Forums

Truth and Honor.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Thanks a lot. Why don't you create a tutorial on making mine fields?
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

hmm its such a small thing that I hadn't really thought about it....
Admin
Image

.map Forums

Truth and Honor.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

But when I create the triggle multiple, the brush justs disappears when I reopen MohRadiant. How come?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Press CTRL+T or ALT+2 or both and it will reappear.

It's the filter settings of Radiant as in view->filter.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

Then how to I get the triggle mulitple to trigger off the mines when stepped on?
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

AS long as you have the triggermultiple named properly, and the exec line in your script, it should work fine - just step onto/into the triggermultiple and BOOM !!
Admin
Image

.map Forums

Truth and Honor.
Guest

Post by Guest »

Ok, thanks. :lol:
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

That post above was from me. I forgot to login. :D
User avatar
FUBAR515034
Corporal
Posts: 29
Joined: Thu Jun 12, 2003 10:27 am
Location: Mordor
Contact:

It works like this for me just fine.

Post by FUBAR515034 »

Hi! Fellow mappers! Everything looks great here. This is what I did. I first looks at different ways of doing it. What I found is that everybody has a way of getting it to work their own way. All i did was select the trigger texture, drag a box the size I wanted, placed it where i wanted it to go, then hit the N button, for those who dont know this controls wordspawn values, and is kinda handy too. Then found trigger_multipleall, double clicked it. Then added the following values:

(First one is the name. Then its values in worldspawn.)

classname trigger_multipleall

targetname minefield

wait .1 (so u can hear that click before u die)

//Then just added this to my obj.scr script:

thread global/minefield.scr::minefield_setup

//saved the altered .scr

Recompiled, PK3'D for testing dropped it in old trusty (main)

Fired it up, and I was good. I think the "thread" in front of the script line did it. Wouldnt work untill I added it. :D
FUBAR *515034*

Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Nice bump ;).
Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

yeah the script file said the correct syntax is to thread ::minfield_setup...
Post Reply