Welcome to CMM

The CMM forum software was recently upgraded, some things may have changed and some things may be broken or not working. Please let me know by PM or on IRC if you have any problems using this forum.

Also, I've removed the skybox and shader links for now, the shader generator page was being abused and as we're moving towards a ue4 mapping base, they're redundant.

Moving targets

General mapping discussions
User avatar
Reaper{DKMs}
Posts: 12
Joined: Mon Sep 26, 2011 4:33 am

Moving targets

Postby Reaper{DKMs} » Mon Sep 26, 2011 4:57 pm

Hello all,
I am currently working on a map with firing ranges. In the firing range section are 8 ranges. Range one is open. But range 2 - 8 are behind closed doors. When you go to range 1 and shot the bulls-eye, that set up as a button with health 1. When you shot it, it opens the next door. so on and so forth.

Now my question is, I want to make a range with moving targets!!!

Samething, the bulls-eye is a button and moving. Is this possible and how?

User avatar
johnnyenglish
Space cake
Posts: 897
Joined: Wed Aug 17, 2011 9:23 am
Location: Nottingham, England

Re: Moving targets

Postby johnnyenglish » Mon Sep 26, 2011 5:44 pm

I dont think you can do this because you cannot put an entity on another entity... but I look forward to someone suggesting a novel idea.

User avatar
Reaper{DKMs}
Posts: 12
Joined: Mon Sep 26, 2011 4:33 am

Re: Moving targets

Postby Reaper{DKMs} » Mon Sep 26, 2011 5:47 pm

Yea I didn't think so. But I was kinda hoping, lol :D

User avatar
Rayne
Site Admin
Posts: 624
Joined: Wed Aug 17, 2011 5:22 pm

Re: Moving targets

Postby Rayne » Mon Sep 26, 2011 6:07 pm

Reaper{DKMs} wrote:Yea I didn't think so. But I was kinda hoping, lol :D

well you could......no it wont work, or maybe.....nah that wont work either....sorry but i can't think of a way this can be done.
I got one idea that more than likely wont work.
Make a target a 2D image. Place the target on the right side of a 1024x256 canvas (canvas width determines the distance target will travel so you have to adjust it). Add alpha channel to the image, so you mask out everything but the target.
Now I got absolutely no idea if this would work. But if you apply a shader to this image that will make parts of the image painted black by the alpha channel transparent, add surfaceparm missile clip to it, i think the transparent area should not stop bullets but the target itself will (again i have no clue if this will work, probably wont).
Add tcmod scroll to the shader, so the target moves in desired direction, and i think you MIGHT have a working moving target that can be used for a button.

User avatar
v3nd3tta
Posts: 80
Joined: Thu Aug 18, 2011 12:49 pm
Location: Germany
Contact:

Re: Moving targets

Postby v3nd3tta » Mon Sep 26, 2011 6:24 pm

move the cover in front of a huge button around, that would work.
Homepage | YouTube | Hazewood Security
Steam: v3nd3tta`` | Twitter: v3nd3tta1337

User avatar
ValkoVer
Posts: 176
Joined: Mon Aug 22, 2011 11:01 am
Location: Poland

Re: Moving targets

Postby ValkoVer » Mon Sep 26, 2011 6:27 pm

Image

bludshot
Posts: 111
Joined: Fri Sep 23, 2011 12:12 am

Re: Moving targets

Postby bludshot » Mon Sep 26, 2011 8:27 pm

I'm not sure I really understand the image above, but here's is my idea:

Instead of a small bullseye target, make a large red wall (solid color would work best for the illusion) and if you shoot this wall anywhere you have hit the target. Then, in front of that wall, make another wall that moves around, and put a hole in that wall. You can do the graphics of the map in a tricky illusion way that makes it look to the player that there is a red circle moving around :)

User avatar
Reaper{DKMs}
Posts: 12
Joined: Mon Sep 26, 2011 4:33 am

Re: Moving targets

Postby Reaper{DKMs} » Mon Sep 26, 2011 9:47 pm

Dude, thats genius! Thanks everyone

Teerasas
Posts: 6
Joined: Wed Sep 21, 2011 6:29 pm

Re: Moving targets

Postby Teerasas » Thu Oct 06, 2011 4:20 pm

lol, ive made that: ive made some normal non- moving targets with func_buttons and made the room the players are in move, and that worked alrite, noone noticed it was the room actually moving

User avatar
theRipper
Posts: 223
Joined: Tue Aug 30, 2011 1:57 pm
Contact:

Re: Moving targets

Postby theRipper » Sat Oct 08, 2011 2:45 am

clever. n1
Image


Return to “Mapping Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests

cron