Comrades in Arms Discussion Board

Full Version: Scripting (No Discussion, just posts)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Fire effect FPS friendly

DEMO mission attached.
Tested on dedicated.


Updated here


@Admin, you can delete this post, is redundant. Thank you!


How i test my missions
==============

I find this helps me test my missions end to end very quickly to make sure all triggers and scripts behave as and when expected.

Create a file in your mission folder called "tele.sqf"
copy this small code to it

Code:
titleText["Select Map Position", "PLAIN"];
onMapSingleClick "vehicle player setPos _pos; onMapSingleClick '';true;";

Then just in your player init field copy this

Code:
this allowDamage false; this addAction ["Teleport","tele.sqf"];

Now you can teleport to your trigger loctaions, kill targets and blow up things without being killed etc.. Can run through an entire mission within a couple of mins.

Its only a small amount of code, but for me, it saves me LOADS of time and allows heavy testing


DONT FORGET to remove the init code before you go live with your mission!

Hope this helps
Also, you can use FHQ Debug to use that command live on yourself without having to worry about adding setDamage false or spawn in a something to move around to see how things behave Smile
Intro script
Check out the comments in script or watch the video.

On Steam
http://steamcommunity.com/sharedfiles/fi...=660221885


Direct Download, click here


Video tutorial
Fireworks script
>> STEAM
>> DDL
Artillery script. Have fun with it! Smile
STEAM link
DDL



A script for epic scenery.
>STEAM link<

New Thunderbolt script. Enjoy!
STEAM

A new SFX script released. Have fun! Smile

Alias, were all the scripts you have posted here fully tested on a dedicated server environment?
(09-03-2016, 10:12 AM)Variable Wrote: [ -> ]Alias, were all the scripts you have posted here fully tested on a dedicated server environment?

Yes. Tested on dedicated.
(09-03-2016, 07:25 PM)alias Wrote: [ -> ]
(09-03-2016, 10:12 AM)Variable Wrote: [ -> ]Alias, were all the scripts you have posted here fully tested on a dedicated server environment?

Yes. Tested on dedicated.

Are you avoiding to run these scripts on a sever? Did you take headless clients into account?

I don't suppose these effects impact AI vision on the server?
Pages: 1 2 3