Jump to content

[HELP] Details on how to raise the water level while mapping


Mashupper

Recommended Posts

Hey guys, I'm new to this forum but not so new to mapping. For a while now I have always wondered how can I possibly raise the water level while I am mapping, I saw another topic about it but I want it real detailed as I am not too good with scripts.

This is my meta, I want to know how I should put the details to lower/raise the sea/river/lake level and exactly where I should place it in.

<meta> 
    <file src="Actions.xml"></file> 
    <script src="ActionScript.lua" type="client"></script> 
    <info gamemodes="race" type="map" name="[DM]M@$HuPPeR - Slender: The Arrival" author="|M@$HuPPeR-" version="1.0.0"></info> 
    <map src="Slender-The-Arrival.map" dimension="0"></map> 
    <settings> 
        <setting name="#skins" value='[ "cj" ]'></setting> 
        <setting name="#maxplayers" value="[ 128 ]"></setting> 
        <setting name="#useLODs" value="[ false ]"></setting> 
        <setting name="#gamespeed" value="[ 1 ]"></setting> 
        <setting name="#ghostmode" value='[ "true" ]'></setting> 
        <setting name="#time" value="12:0"></setting> 
        <setting name="#vehicleweapons" value='[ "true" ]'></setting> 
        <setting name="#minplayers" value="[ 0 ]"></setting> 
        <setting name="#weather" value="[ 0 ]"></setting> 
        <setting name="#gravity" value="[ 0.0080000004 ]"></setting> 
        <setting name="#waveheight" value="[ 20 ]"></setting> 
        <setting name="#respawntime" value="[ 0 ]"></setting> 
        <setting name="#locked_time" value="[ true ]"></setting> 
        <setting name="#duration" value="[ 600 ]"></setting> 
        <setting name="#respawn" value='[ "none" ]'></setting> 
    </settings> 
    <script src="mapEditorScriptingExtension_s.lua" type="server"></script> 
    <script src="mapEditorScriptingExtension_c.lua" type="client" validate="false"></script> 
</meta> 

PS: I also have another problem and don't really want to open another topic for it, I would also like to know how can I input a certain song for my map, for example this sound effect for when players get to close to Slenderman (whom I created with some objects): https://youtu.be/E0rDc3GS70M and also one for the entire map when you start playing, like this one:

Thanks in advance, yours truly, Mashupper.

Link to comment
Hey guys, I'm new to this forum but not so new to mapping. For a while now I have always wondered how can I possibly raise the water level while I am mapping, I saw another topic about it but I want it real detailed as I am not too good with scripts.

This is my meta, I want to know how I should put the details to lower/raise the sea/river/lake level and exactly where I should place it in.

<meta> 
    <file src="Actions.xml"></file> 
    <script src="ActionScript.lua" type="client"></script> 
    <info gamemodes="race" type="map" name="[DM]M@$HuPPeR - Slender: The Arrival" author="|M@$HuPPeR-" version="1.0.0"></info> 
    <map src="Slender-The-Arrival.map" dimension="0"></map> 
    <settings> 
        <setting name="#skins" value='[ "cj" ]'></setting> 
        <setting name="#maxplayers" value="[ 128 ]"></setting> 
        <setting name="#useLODs" value="[ false ]"></setting> 
        <setting name="#gamespeed" value="[ 1 ]"></setting> 
        <setting name="#ghostmode" value='[ "true" ]'></setting> 
        <setting name="#time" value="12:0"></setting> 
        <setting name="#vehicleweapons" value='[ "true" ]'></setting> 
        <setting name="#minplayers" value="[ 0 ]"></setting> 
        <setting name="#weather" value="[ 0 ]"></setting> 
        <setting name="#gravity" value="[ 0.0080000004 ]"></setting> 
        <setting name="#waveheight" value="[ 20 ]"></setting> 
        <setting name="#respawntime" value="[ 0 ]"></setting> 
        <setting name="#locked_time" value="[ true ]"></setting> 
        <setting name="#duration" value="[ 600 ]"></setting> 
        <setting name="#respawn" value='[ "none" ]'></setting> 
    </settings> 
    <script src="mapEditorScriptingExtension_s.lua" type="server"></script> 
    <script src="mapEditorScriptingExtension_c.lua" type="client" validate="false"></script> 
</meta> 

PS: I also have another problem and don't really want to open another topic for it, I would also like to know how can I input a certain song for my map, for example this sound effect for when players get to close to Slenderman (whom I created with some objects): https://youtu.be/E0rDc3GS70M and also one for the entire map when you start playing, like this one:

Thanks in advance, yours truly, Mashupper.

Well, this is a problem since the default water on GTA is divided by sections, with this I mean the water is actually full of "holes", the ground has no actual water under it, because the water is cut there. If you try to raise the water level you'll only make the holes visible and you will immediately set the water to the defaut level. But, you can use setWaterLevel or execute a function on the admin panel. (Just type /start admin and then press P, go to the "resources" tab and look at the "execute" bar, type setWaterLevel (5) and press "server". The water will raise 5 units.).

For the second problem, use playSound.

PS: You can create a water element with createWater.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...