Post: Tutorial - How Map Edit [Zombieland]
02-15-2015, 11:29 AM #1
0zersub
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); TUTORIAL:

First of all you need the You must login or register to view this content.
when you inject the zombieland debug just start your custom game (local.. no online)


Buttons:

-Left D-pad enable/disable UFO mode
-R2 move
-[] get origin



-How get Origin??:

-EXAMPLE-
Find the place that you want to put edits(carepackages) for example you want create one door (CreateDoor)..go to the edge of the entrance and press []
Then the origin will pop up with light blue letters on center of screen this message is the origin (write it somewhere or take photo :P)that is the start of origin (startOrigin) ~the carepackages will start from there
then you go to the middle of the door and press the [] again (again write it some where or take photo) that is the end of origin (endOrigin) ~the carepackages will stop there.

When you do that is time to code
Smile

Here is the BASIC codes: Thanks to Shark
    
level thread removeSkyBarrier()
CreateWall(startOrigin, endOrigin, isInvisible)
CreateRamp(rampStart, rampEnd, isInvisible)
CreateGrid(gridStart, gridEnd, gridAngle, isInvisible)
CreateFlag(entryFlag, exitFlag, isFlagsHidden, isTwoWayFlags)
CreateElevator(elevatorStartOrigin, elevatorEndOrigin, timeToGetToOrigins, timeBeforeDepartingToNextOrigin)
CreateZipline(startOrigin, endOrigin, timeToGetToOtherSide, twoWayZipline)
CreateDoorSolid(doorOpenOrigin, doorCloseOrigin, doorOpenAndCloseTime, doorAngle, doorWidth, doorHeight, doorHealth, doorTriggerRadius)//Door With No Gaps
CreateDoor(doorOpenOrigin, doorCloseOrigin, doorOpenAndCloseTime, doorAngle, doorWidth, doorHeight, doorHealth, doorTriggerRadius)//Door With Small Gaps
CreateTurret(turretOrigin, turretAngles, turretType)
CreateMysteryBox(boxOrigin, boxAngle, boxPrice)



First of all always you add this at start "level thread removeSkyBarrier() "

EXAMPLE:
Mapname()
{
level thread removeSkyBarrier()
}

then you can add anything else you want Smile

EXAMPLE:
Mapname()
{
level thread removeSkyBarrier()
CreateWall(startOrigin, endOrigin, isInvisible)
CreateFlag(entryFlag, exitFlag, isFlagsHidden, isTwoWayFlags)
CreateTurret(turretOrigin, turretAngles, turretType)
CreateMysteryBox(boxOrigin, boxAngle, boxPrice)
CreateDoor(doorOpenOrigin, doorCloseOrigin, doorOpenAndCloseTime, doorAngle, doorWidth, doorHeight, doorHealth, doorTriggerRadius)
}

~that you have to do is to put your Origins and write them WATCH THE PICTURE BELLOW>> ~

You must login or register to view this content.

-Where put my origins??


Codes that you must type the origin(=numbers) "light blue letters" on game
(startOrigin, endOrigin) =Origin *start-end*
*If (rampStart, rampEnd) = Origin *start-end*
*If (gridStart, gridEnd) = Origin *start-end*
*If (entryFlag, exitFlag)= Origin *start-end*
*If (elevatorStartOrigin, elevatorEndOrigin)= Origin *start-end*
*If (startOrigin, endOrigin)= Origin *start-end*
*If (doorOpenOrigin, doorCloseOrigin)= Origin *start-end*
*If(turretOrigin)= Origin *place that you want to put turret only one Origin*
*If(boxOrigin)= Origin *place that you want to put mysterybox*


TEMPLATES *REPLACE THE NUMBERS WITH YOUR NUMBERS*

SOME EXAMPLES OF EVERY CODE *REPLACE the numbers with your origin numbers* -TEMPLATES-

CreateWall((-3429,-1702,-41.5), (-3379.98,-1835.7,10), false);
CreateRamp((-6597,-181,35.9), (-6967,-226.5,211), false);
CreateGrid((-360.919, -622.332, 331.094), (-362.822, -622.332, 331.22Cool Man (aka Tustin), (90, 0, 0), true);
CreateFlag((-1184.36, -1234.36, 330.125), (-2238.24, -590.123, 250.125), false, false);
CreateElevator((-498.157, -868.63, -15.1372), (-498.157, -868.63, 250.043), 3, 2);
CreateZipline((1001.23, 2650.3, -50.125), (1421.53, 2176.75, 160.125), 2, true);
CreateDoor((6494.98, -8055, 170.433), (6290, -8039, 170), 2, (90, 90, 0), 2, 2, 25, 80);
CreateTurret((293, -1073, 214), (0, 90, 0), "auto_gun_turret_mp");
CreateMysteryBox((-5994.64, -24.9413, -179.875), (0,180,0), 150);


(WARNING YOU MUST CHANGE THE ANGLES IF IS -DOOR,MYSTERYBOX,TURRET,GRID-)

THANKS AND GOOD EDITING Happy I HOPE YOU UNDERSTAND THE TUTORIAL
Smile

CHECK THIS : You must login or register to view this content.

ALSO CHECK THE DLC MAP EDITS : You must login or register to view this content.

Credits to : Shark
Last edited by 0zersub ; 04-08-2015 at 09:45 PM. Reason: update link

The following 15 users say thank you to 0zersub for this useful post:

/SneakerStreet/, Bxrdyy-, CodJumper:, CustomHosting, HiddenHour, iRnZ, ksa_7ooo7, My Ninja Defuse, Revoked, Shark, Skonafid, snapin, stavrosyolo, Sunnis, xDebugKiller
04-08-2015, 08:23 PM #20
Skonafid
Gym leader
is there a scrypt for remove death barrier?
04-08-2015, 09:43 PM #21
0zersub
Little One
Originally posted by Skonafid View Post
is there a scrypt for remove death barrier?


You need to add this to forgefunctions.gsc

deathBarrier()
{
ents = getEntArray();
for ( index = 0; index < ents.size; index++ )
{
if(isSubStr(ents[index].classname, "trigger_hurt"))
ents[index].origin = (0, 0, 9999999);
}
}



then go up from level thread removeSkyBarrier(); (any map edit of your choice) and add this ==> level thread deathBarrier();

it should be looks like this:

    level thread deathBarrier();
level thread removeSkyBarrier();
CreateDoor((-1200.39, -703.97......

The following user thanked 0zersub for this useful post:

Skonafid
04-20-2015, 01:50 PM #22
Thanks dude, this is going to help me a lot :P

The following user thanked Bxrdyy- for this useful post:

0zersub
04-23-2015, 09:12 PM #23
BB37
Little One
still sintax error... bad line!!
05-10-2015, 08:35 PM #24
i dont understand how to make doors, when i try to make one it wont show up
05-11-2015, 03:28 PM #25
Vertigo()
{
level thread deathBarrier();//map by NMT_VadRe
level thread removeSkyBarrier();//I recomed you play this map with 18 players and more than 10 minutes, use 20 minutes 1200 sec
CreateZipline((3776.91, -2235.67, -319.875), (1340.84, -657.698, 104.1259), 4, true);
CreateMysteryBox((4662.79, -2486.1, -319.875), (90, 0, 0), 100);
CreateFlag((-661.004, -150.707, 152.125), (4203.37, -1800.43, -303.875), false, true);
CreateWall((46.2486, -1977.35, -39.2795), (-198.635, -1977.35, 40.4023), false)
CreateDoor((0.308225, -1980.35, -39.875), (-312.224, -1980.35, -39.875), 3, (90, 90, 0), 10, 2, 40, 80);
CreateWall((520.661, -1584.05, -15.875), (756.916, -1584.05, 113.145), false);
CreateWall((-517.98, -2539.78, -30.6606), (-517.98, -2423.8, 32.8086), false);
CreateWall((-857.444, -1571.64, -15.875), (-734.658, -1571.64, 143.335), false);
CreateZipline((-207.647, -2878.26, -2454.8Cool Man (aka Tustin), (-134.131, -2945.49, -36.8699), 3, true);
CreateGrid((4356.93, -353.914, 3605.09), (4858.87, 1081.69, 3605.09), (0, 0, 0), false);
CreateMysteryBox((219.89, -2312.67, -2454.8Cool Man (aka Tustin), (90, 0, 0), 100);
CreateMysteryBox((4033.8, 3665.82, -319.875), (180, 90, 0), 100);
CreateZipline((4398.61, -341.196, 3620.97), (4217.4, -2361.87, -319.875), 5, true);
CreateZipline((4398.61, 1084.68, 3620.97), (4224.01, 3184.95, -319.875), 5, true);
CreateTurret((-383.002, -2203.12, -39.875), (0, 90, 0), "auto_gun_turret_mp");
}


My first map


also add this to forgefunction.gsc


deathBarrier()
{
ents = getEntArray();
for ( index = 0; index < ents.size; index++ )
{
if(isSubStr(ents[index].classname, "trigger_hurt"))
ents[index].origin = (0, 0, 9999999);
}
}
Last edited by trollman111 ; 05-11-2015 at 03:30 PM. Reason: Forgot some code

The following user thanked trollman111 for this useful post:

0zersub
05-18-2015, 12:48 AM #26
can u make a new linnk to the eboot like mediafire
05-30-2015, 05:43 PM #27
ItzSparkBoii
Big Sister
Originally posted by 0zersub View Post
TUTORIAL:

First of all you need the You must login or register to view this content.
when you inject the zombieland debug just start your custom game (local.. no online)


Buttons:

-Left D-pad enable/disable UFO mode
-R2 move
-[] get origin



-How get Origin??:

-EXAMPLE-
Find the place that you want to put edits(carepackages) for example you want create one door (CreateDoor)..go to the edge of the entrance and press []
Then the origin will pop up with light blue letters on center of screen this message is the origin (write it somewhere or take photo :P)that is the start of origin (startOrigin) ~the carepackages will start from there
then you go to the middle of the door and press the [] again (again write it some where or take photo) that is the end of origin (endOrigin) ~the carepackages will stop there.

When you do that is time to code
Smile

Here is the BASIC codes: Thanks to Shark
    
level thread removeSkyBarrier()
CreateWall(startOrigin, endOrigin, isInvisible)
CreateRamp(rampStart, rampEnd, isInvisible)
CreateGrid(gridStart, gridEnd, gridAngle, isInvisible)
CreateFlag(entryFlag, exitFlag, isFlagsHidden, isTwoWayFlags)
CreateElevator(elevatorStartOrigin, elevatorEndOrigin, timeToGetToOrigins, timeBeforeDepartingToNextOrigin)
CreateZipline(startOrigin, endOrigin, timeToGetToOtherSide, twoWayZipline)
CreateDoorSolid(doorOpenOrigin, doorCloseOrigin, doorOpenAndCloseTime, doorAngle, doorWidth, doorHeight, doorHealth, doorTriggerRadius)//Door With No Gaps
CreateDoor(doorOpenOrigin, doorCloseOrigin, doorOpenAndCloseTime, doorAngle, doorWidth, doorHeight, doorHealth, doorTriggerRadius)//Door With Small Gaps
CreateTurret(turretOrigin, turretAngles, turretType)
CreateMysteryBox(boxOrigin, boxAngle, boxPrice)



First of all always you add this at start "level thread removeSkyBarrier() "

EXAMPLE:
Mapname()
{
level thread removeSkyBarrier()
}

then you can add anything else you want Smile

EXAMPLE:
Mapname()
{
level thread removeSkyBarrier()
CreateWall(startOrigin, endOrigin, isInvisible)
CreateFlag(entryFlag, exitFlag, isFlagsHidden, isTwoWayFlags)
CreateTurret(turretOrigin, turretAngles, turretType)
CreateMysteryBox(boxOrigin, boxAngle, boxPrice)
CreateDoor(doorOpenOrigin, doorCloseOrigin, doorOpenAndCloseTime, doorAngle, doorWidth, doorHeight, doorHealth, doorTriggerRadius)
}

~that you have to do is to put your Origins and write them WATCH THE PICTURE BELLOW>> ~

You must login or register to view this content.

-Where put my origins??


Codes that you must type the origin(=numbers) "light blue letters" on game
(startOrigin, endOrigin) =Origin *start-end*
*If (rampStart, rampEnd) = Origin *start-end*
*If (gridStart, gridEnd) = Origin *start-end*
*If (entryFlag, exitFlag)= Origin *start-end*
*If (elevatorStartOrigin, elevatorEndOrigin)= Origin *start-end*
*If (startOrigin, endOrigin)= Origin *start-end*
*If (doorOpenOrigin, doorCloseOrigin)= Origin *start-end*
*If(turretOrigin)= Origin *place that you want to put turret only one Origin*
*If(boxOrigin)= Origin *place that you want to put mysterybox*


TEMPLATES *REPLACE THE NUMBERS WITH YOUR NUMBERS*

SOME EXAMPLES OF EVERY CODE *REPLACE the numbers with your origin numbers* -TEMPLATES-

CreateWall((-3429,-1702,-41.5), (-3379.98,-1835.7,10), false);
CreateRamp((-6597,-181,35.9), (-6967,-226.5,211), false);
CreateGrid((-360.919, -622.332, 331.094), (-362.822, -622.332, 331.22Cool Man (aka Tustin), (90, 0, 0), true);
CreateFlag((-1184.36, -1234.36, 330.125), (-2238.24, -590.123, 250.125), false, false);
CreateElevator((-498.157, -868.63, -15.1372), (-498.157, -868.63, 250.043), 3, 2);
CreateZipline((1001.23, 2650.3, -50.125), (1421.53, 2176.75, 160.125), 2, true);
CreateDoor((6494.98, -8055, 170.433), (6290, -8039, 170), 2, (90, 90, 0), 2, 2, 25, 80);
CreateTurret((293, -1073, 214), (0, 90, 0), "auto_gun_turret_mp");
CreateMysteryBox((-5994.64, -24.9413, -179.875), (0,180,0), 150);


(WARNING YOU MUST CHANGE THE ANGLES IF IS -DOOR,MYSTERYBOX,TURRET,GRID-)

THANKS AND GOOD EDITING Happy I HOPE YOU UNDERSTAND THE TUTORIAL
Smile

CHECK THIS : You must login or register to view this content.

ALSO CHECK THE DLC MAP EDITS : You must login or register to view this content.

Credits to : Shark


can You or anyone help? i made a door in raid by the basketball court but i put a door but thr carepackages are facing the wrong way can anyone help? Happy
05-30-2015, 08:47 PM #28
FRINZ
I’m too L33T
change the radius

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo