Nazi Zombies: Portable
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Nazi Zombies: Portable Official Community


You are not connected. Please login or register

[TUTORIAL] NZP 1.0.4+ Teleporter functions

3 posters

Go down  Message [Page 1 of 1]

Naievil

Naievil
Staff
Staff

With the release of 1.0.4 about twenty seconds ago, I've compiled a tutorial on how to create a working teleporter for this release. Please note that the teleporter function is still in Beta and therefore is not very fancy.

Note that when you teleport, your gun will be missing for 5 seconds. This can be changed in the code if enough people hate it. This is NOT a bug.

Unfortunately, I wasn't smart enough to edit the FGD because I'm pretty lazy and lame. First off, we're going to need to create a new entity. Nah I actually did it: Mediafire Link

[TUTORIAL] NZP 1.0.4+ Teleporter functions Mhpbn3P

This entity will be our teleporter's entrance. Name it "func_teleporter_entrance" and use smartedit to add a "target" key with a "destination" value. Follow this example.

[TUTORIAL] NZP 1.0.4+ Teleporter functions ReTOWu8

In order to create our base, we have to create a NEW entity and name it "func_teleporter_destination" and once again use smartedit to create a "targetname" key with a "destination" value. Please follow this example if you're stuck.

[TUTORIAL] NZP 1.0.4+ Teleporter functions Xzyc93y

Going in game will display the following:

[TUTORIAL] NZP 1.0.4+ Teleporter functions U2ZT4cX

Please note that you may have to rotate the teleporter to your desired angle.

So you may be wondering why your mainframe pad isn't working, given that we put all of the values in.
The teleporter is currently programmed in such a way that the mainframe pad will never display because some mappers may want to opt out of the pad being there in the first place. Therefore, in order to have a mainframe pad, just drop a place_model right UNDERNEATH (do not set the destination value inside a solid brush) the func_teleporter_destination value.
The model name for the mainframe pad is mainframe_pad.mdl and is found in the /progs/props folder in the NZP main directory.

It should look like this.

[TUTORIAL] NZP 1.0.4+ Teleporter functions Tjr4fza

DO NOT FORGET TO ADD A POWER SWITCH TO THE MAP or else your teleporter will not work. It just makes sense to include one.

Now that this is done maybe I can go to bed.



Last edited by Naievil on Mon Nov 16, 2015 12:47 am; edited 3 times in total

http://Naievil.tk

Derped_Crusader

Derped_Crusader
Member
Member

Do you plan on adding this to your warehouse map? i can tell you were the teleporter was going to be because i have some of the 1.2 beta stuff

http://ikill4fun32.com

PerikiyoXD

PerikiyoXD
Member
Member

Kino er toten map will

Naievil

Naievil
Staff
Staff

ikill4fun32 wrote:Do you plan on adding this to your warehouse map? i can tell you were the teleporter was going to be because i have some of the 1.2 beta stuff

I do not as I intend to keep the Beta 1.1 version of Warehouse true to its name on this forum. If needed then I may possibly contact you for assistance for a 1.2 port WinkeyWink

Thanks!

Please understand that this guide has changed to reflect the release of the custom .fgd

It kinda hasn't though.



Last edited by Naievil on Sat Dec 19, 2015 2:53 pm; edited 1 time in total

http://Naievil.tk

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum