A quick question about a custom EE

broken avatar :(
Created 537 days ago
by Swag_Chesse_xo1
0 Members and 1 Guest are viewing this topic.
1,235 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 18 February 2018
Last active: 88 days ago
Posts
79
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
lol
×
Swag_Chesse_xo1's Contact & Social Linkso0JayWolf0oLordSpaceCat
I found a post from two years ago showing a script giving me the option to use or shoot 3 objects then give the player a reward. However, the script says this:    " //reward here, spawn pap, or weapons, or whatever "
I don't know what to put for it to open up a door for PAP. I know all the basic concepts of C/C++ but i dont know the in-game commands. My guess would be:
open_door(targetname; pap_door);      or something like that.
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: vn
Date Registered: 23 February 2015
Last active: 98 days ago
Posts
208
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Personal Quote
bịnh thần kinh
×
Joeycx's Groups
Joeycx's Contact & Social Links
Script_brushmodel, with the kvp key "targetname" and the value "pap_door", I'm only guessing.
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 3 June 2015
Last active: 4 days ago
Posts
44
Respect
Forum Rank
Legless Crawler
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
×
IZaRTaX's Groups
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
IZaRTaX's Contact & Social LinksIZaRTaX
Here is a quick example, don't forget to put the origin texture if you use a rotating door

(example for a double rotating doors)


then the script (example)

Sorry but you are not allowed to view spoiler contents.

If you want to add a slide door you can remove the rotate function by movex (-130,1.4,0.1,2); //MoveZ( <zvalue>, <time>, <acceleration time>, <deceleration time> )

//(movey and movez also works that depend of your angles)
Last Edit: May 27, 2018, 09:58:43 am by IZaRTaX
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 18 February 2018
Last active: 88 days ago
Posts
79
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
lol
×
Swag_Chesse_xo1's Contact & Social Linkso0JayWolf0oLordSpaceCat
I am just looking for the command to open a single door which should be just one just of code.
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 24 days ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
respect the dead

donates greatly appreciated :) [You are not allowed to view external links. Register or Login to see them]
discord server:
[You are not allowed to view external links. Register or Login to see them]
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
its not just one line, the one IZaRTaX made above is along the lines of what you need
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 18 February 2018
Last active: 88 days ago
Posts
79
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
lol
×
Swag_Chesse_xo1's Contact & Social Linkso0JayWolf0oLordSpaceCat
Not really since what I'm using is not a rotating door I'm just removing some debris.
broken avatar :(
×
broken avatar :(
Location: vn
Date Registered: 23 February 2015
Last active: 98 days ago
Posts
208
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Personal Quote
bịnh thần kinh
×
Joeycx's Groups
Joeycx's Contact & Social Links
https://www.ugx-mods.com/forum/scripting/11/opening-door-script/3922/

This is probably the script you were using, right?
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 65 days ago
Posts
6,879
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
Not really since what I'm using is not a rotating door I'm just removing some debris.
well clearly you know better than us - why are you asking? You already know

good luck ;)
Marked as best answer by Swag_Chesse_xo1 on Today at 10:56:37 pm
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 24 days ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
well still its not 1 line, the bare minimum is probbably 3 lines

door = getent("DOOR_TARGETNAME","targetname");
door connectpaths();
door delete();

this wont look nice and isnt a proper way to do it but hey if thats what you want  :-\
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 18 February 2018
Last active: 88 days ago
Posts
79
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
lol
×
Swag_Chesse_xo1's Contact & Social Linkso0JayWolf0oLordSpaceCat
door = getent("DOOR_TARGETNAME","targetname");
door connectpaths();
door delete();

Thank you, but does the door have to be a prefab?
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 24 days ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
no  ???
its a script brush with a targetname of your choice 
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 28 days ago
Posts
1,863
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
Signature
Aye mate you don't know me so y don't you shut tf up ok buddy :)

×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
Contradicting help and answers when he's "new" lol, cute.

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Twitch
Loading ...