Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Rellikki's script releases

  1. #1

    Arrow Rellikki's script releases

    This thread is dedicated to my script releases for mission editing uses. These are a bunch of scripts I've created for my missions for various purposes, which I'm hoping that others would find some use for too. All the scripts are free to use and modify for your missions, but I'm only asking you to credit me for my work. Feel free to post comments, criticism or even ideas.

    Released:
    Forest detection script
    Dynamic skill increasing script
    Rearming script
    Dynamic view distance script

    More to come.
    Last edited by Rellikki; Mar 7 2011 at 21:08.

  2. #2
    Die-hard OFP player Rellikki's Avatar
    Join Date
    Feb 4 2005
    Location
    Finland
    Posts
    2,900
    Author of the Thread
    Forest detection script

    To start off, here's a little something I recently made. This script detects if a specific position is inside forest. It can be useful, for example, if you want to be able to designate a landing zone for a chopper with a map click, but want to prevent the player from choosing a position inside forest; or if you want to prevent objects from spawning there.

    What the script does is check for the nearest object's Z coordinate (height) and compare it to predefined values measured by me. It is not fully guaranteed to work. It's possible that the script might mistake other objects for forest or otherwise interfere with other nearby objects. But after a lot of testing, I can say that it should do its job and work 90% of the time.

    forestDetection.sqs
    Spoiler:


    In the demo mission below you can put the script to test and check different spots around Nogova for forests with a map click:

    Download demo mission
    Last edited by Rellikki; Mar 8 2011 at 01:07.

  3. #3
    Die-hard OFP player Rellikki's Avatar
    Join Date
    Feb 4 2005
    Location
    Finland
    Posts
    2,900
    Author of the Thread
    Dynamic skill increasing script

    Updated 8.3.2011!

    This script dynamically increases A.I. skill depending on their rank and/or class.

    skill.sqs
    Spoiler:


    In the demo mission below two groups of oppositing sides have been given dynamically increased skill, with a simple trigger, which executes the script for everyone:

    Download demo mission
    Last edited by Rellikki; Mar 8 2011 at 01:20.

  4. #4
    Die-hard OFP player Rellikki's Avatar
    Join Date
    Feb 4 2005
    Location
    Finland
    Posts
    2,900
    Author of the Thread
    Rearming script

    Updated 8.3.2011!

    Tired of giving units different loadout one by one? This script rearms units with class specific predefined loadouts. You can easily use it to mass rearm a whole map of units with different weapons of your choice.

    I find this script very useful in conjunction with the skill increasing script above. With them, you can increase the A.I. skill for more intelligent behaviour and faster aiming and, using this script, give them HD ammo (JAM3 or WW4 for example), so they're not too accurate with their guns. Just a little tip.

    rearm.sqs
    Spoiler:


    In the demo mission below a group of resistance soldiers have been given different loadouts instead of their default weapons, with a simple trigger, which executes the script for everyone:

    Download demo mission
    Last edited by Rellikki; Mar 8 2011 at 01:20.

  5. #5
    Die-hard OFP player Rellikki's Avatar
    Join Date
    Feb 4 2005
    Location
    Finland
    Posts
    2,900
    Author of the Thread
    Dynamic view distance script

    This script dynamically changes player's view distance according to the height from the sea level. One will get a better view on top of a mountain, but in lowlands it'll be a little more foggy, depending on your set values, of course - Mission maker can easily set the max. & min. view distance and height for his needs. This script is especially useful in multiplayer where the view distance is fixed and can't be changed from the options.

    viewdistance.sqs
    Spoiler:


    Required:

    ASLheight.sqf
    Spoiler:


    In the demo mission below you can see the script in use as you walk up the mountains in southern Everon:

    Download demo mission
    Last edited by Rellikki; Mar 8 2011 at 01:09.

  6. #6
    These are scripts I will use a lot. Thanks Rellikki.

  7. #7
    Hey Rellikki, some useful scripts you got there, thank you! These will be a great help in mission making.

    It's good to see new releases for OFP, especially when they are good quality !

    Keep them coming!

  8. #8
    Die-hard OFP player Rellikki's Avatar
    Join Date
    Feb 4 2005
    Location
    Finland
    Posts
    2,900
    Author of the Thread
    Thanks for the comments.

    I updated my rearming script and skill increasing script, as I found out that the scripts wouldn't execute for vehicle crew properly. Now they should be fixed.

    I also added a new script which dynamically changes player's view distance according to his height from the sea level.
    Last edited by Rellikki; Mar 8 2011 at 01:11.

  9. #9
    Very good scripts !
    Maybe a script support pack, a bit like the SP/MP one from years ago, with ready to use scripts and ressources for mission makers could be interesting.

  10. #10
    Die-hard OFP player Rellikki's Avatar
    Join Date
    Feb 4 2005
    Location
    Finland
    Posts
    2,900
    Author of the Thread
    Thanks for the comment. I'm not really familiar with the script support pack, to be honest, but I think it's an idea worthy of consideration.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •