UGX-Mods 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 Facebook
Sign In with Twitch

Sliding door speed

broken avatar :(
Created 9 years ago
by dextro62
0 Members and 1 Guest are viewing this topic.
1,917 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 5 September 2014
Last active: 8 years ago
Posts
58
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
dextro62's Groups
dextro62's Contact & Social Links
Hey, I was wondering if there was a KVP you can use to change the speed of a sliding door?
Also, is there a KVP you can use to change the text ("press f to open door") that appears when standing beside a door trigger.
And is there a KVP that changes or removes the door open sound.
If not then how do you do each of these things?
Thanks in advance.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 4 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
most of these can be found here on the wiki https://confluence.ugx-mods.com/display/UGXMODS/Creating+a+Moving+Door+Blocker
and for the hint string text, that will have to be changed in script. you can change it by going to zombiemode_blockers_new and change the line that says
Code Snippet
Plaintext
 self setHintString( "Press &&1 to Open Door [Cost: " + cost + "]" ); // found on line 107
and change it to something like this so you can set the text in radiant on any door
Code Snippet
Plaintext
if(isDefined(self.zombie_text))
         self setHintString(self.zombie_text);
else
        self setHintString( "Press &&1 to Open Door [Cost: " + cost + "]" );
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 5 September 2014
Last active: 8 years ago
Posts
58
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
dextro62's Groups
dextro62's Contact & Social Links
so you can set the text in radiant on any door


How do i set the text in radiant?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 4 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
AFTER doing the script change that I mentioned would have to be done you will be able to set the text in radiant by using the kvp
Code Snippet
Plaintext
zombie_text, text //text will be what the trigger says
on the trigger
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 5 September 2014
Last active: 8 years ago
Posts
58
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
dextro62's Groups
dextro62's Contact & Social Links
AFTER doing the script change that I mentioned would have to be done you will be able to set the text in radiant by using the kvp
Code Snippet
Plaintext
zombie_text, text //text will be what the trigger says
on the trigger


I tried that but it didn't change anything
broken avatar :(
×
broken avatar :(
Location: usCali(fornia)
Date Registered: 21 December 2013
Last active: 5 years ago
Posts
417
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
The sound of God is the screech of tires, lights and magnets, bolts and wires. Strayed from the road, this very one, still to come. The sound of tires is the sound of God, the electric version.
×
mrpeanut188's Groups
mrpeanut188's Contact & Social Linksmrpeanut188mrpeanut1881337p34nut
I tried that but it didn't change anything
You have to also use his script. To recap, set zombie_text on your door in radiant.
Inside of root\mods\MODNAME\maps there should be a _zombiemode_blockers_new.gsc.
If there is not one, then copy it FROM raw\maps to MODNAME\maps.
Edit the one in MODNAME\maps, never the original file in raw\maps.

In the copy, search the first line he said, and replace THAT with the second code block.

 
Loading ...