Product Chat / Pirate Myke Please how to shoot at Decal

Author
Message
ozziedave
18
Years of Service
User Offline
Joined: 20th Apr 2006
Location: Australia
Posted: 2nd Jun 2015 13:30
I would like to place a Decal on a door, say a fire decal or smoke decal, then shoot at the decal which would then be activated .

Could do it easily in the old fps creator.

Many Thanks
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 2nd Jun 2015 13:56
I will take a look and see if this is possible yet.
So basically you want the door to open after you shoot the decal?
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 2nd Jun 2015 15:07 Edited at: 2nd Jun 2015 15:09
Here you go.
Mapfile included in attachments. Place it and the .dat file in the mapbank folder.
Place the script in the scriptbank folder.
In the properties of the decal Numberpanel.fpe. You need to set the colmode to 0, instead of 11, so it will register the hit.

All objects are stock, so run the map. collect the weapon. shoot the decal. the decal is set to destroy and activateif used when health or strength is below 10. this allow the door to be opened then.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Attachments

Login to view attachments
ozziedave
18
Years of Service
User Offline
Joined: 20th Apr 2006
Location: Australia
Posted: 3rd Jun 2015 06:47 Edited at: 3rd Jun 2015 06:48
Pirate Myke thanks for your prompt reply, but what I would like is to shoot at a Decal on a door or building which would then start
Smoke or Fire bellowing out of it.

I will see if I can use part of your attachment to help me in this task.

Any other help would be much appreciated - Many Thanks
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 3rd Jun 2015 12:26
Add turn particle on, but the particle system is not fully implemented yet.
But there is a script to use it in a zone and can be applied to objects also.


the global.lua file contains the commands tied to the engine at the moment.
The particle is located in the effectsbank folder.

Let me know if you get it, or still need assistance.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

GoDevils
9
Years of Service
User Offline
Joined: 24th Sep 2014
Location: Arizona USA
Posted: 4th Jun 2015 18:31
This is interesting information, but I need a tutorial that shows how to apply and use decals. Does one exist yet?
"THERE IS NO SPOON"

AMD 6300 6 core 3.5 ghz, Windows 8.1, 8GB ram, GTX 650 2GB ram
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 4th Jun 2015 19:12
As in placing in the editor or actually making your own?

For placing in the editor, grab one from the decal folder in the library, and place it on the map. Notice the handle to grab it easier.
Adjust it like any other object with the widget. Including scale.

Now if you want to make your own, you make them in a paint program and the normal ones are 16 celled on the decal sheet.

Open one of them in a paint program and you will see how they are laid out. They are run in order by the shader from top left, then to the next line repeating this till it gets to the last one, then repeats.

Duplicate a set and rename it and then modify it. If you want a different number of tiles in it, then make your texture sheet as so and change the value in the text file in that folder.

You may have to adjust the shader cell numbers to keep the decal from scrolling, instead of animating from one position, depending on the number of tiles you use.

Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 4th Jun 2015 21:13
Nice info, thanks Myke

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 4th Jun 2015 21:17
Your welcome.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Login to post a reply

Server time is: 2024-05-02 19:50:56
Your offset time is: 2024-05-02 19:50:56