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

Door Text

broken avatar :(
Created 9 years ago
by Eggies
0 Members and 1 Guest are viewing this topic.
3,197 views
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 6 August 2015
Last active: 2 years ago
Posts
145
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hiya!
×
Eggies's Groups
Eggies's Contact & Social LinkstiyoushiXelasto
So I was testing my map and I realized my doors say "Press F to Clear Debris" rather than "Press F to open door".

Is there a way I can change the text to anything I want? I looked in the trigger in front of the door and maybe it's "cursorhint" or "hintstring"?

For the most part I just want "Press F to open door" but there is ONE door that I want to have custom text for.

Thanks!  :)
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 4 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
So I was testing my map and I realized my doors say "Press F to Clear Debris" rather than "Press F to open door".

Is there a way I can change the text to anything I want? I looked in the trigger in front of the door and maybe it's "cursorhint" or "hintstring"?

For the most part I just want "Press F to open door" but there is ONE door that I want to have custom text for.

Thanks!  :)

Sounds like you made a zombie_debris rather than a zombie_door in the KVPs
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 6 August 2015
Last active: 2 years ago
Posts
145
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hiya!
×
Eggies's Groups
Eggies's Contact & Social LinkstiyoushiXelasto
How to I turn it into a door?  :poker:
Marked as best answer by Tiyoushi 9 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 4 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
This contains some of the basics. http://ugx-mods.com/wiki/index.php?title=Main_Page Including doors and blockers.

Edit: However it's noted you need to use the UGX Modtools patch in this tutorial.

Edit2: This is how WaW does it by default.

1) Make a Script_Brushmodel by right clicking in 2D view and having a brush selected. Go to script > brushmodel.
2) Give the model KVP's

Code Snippet
Plaintext
"script_vector" "100 0 0" //This is the direction the door will slide.
"targetname" "door_name" //Name of the door.
"spawnflags" "1"

3) Now make a Trigger_use. Right click in 2D view and go to trigger > use
4) Give it KVP's

Code Snippet
Plaintext
"script_noteworthy" "magic_door"
"zombie_cost" "" //Put price in quotes, by default you can only use 100, 200, 250, 500, 750, 1000, 1250, 1500, 1750, 2000
"target" "door_name" //This will be same as the targetname of the model.
Last Edit: September 11, 2015, 04:07:53 am by ProGamerzFTW
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 6 August 2015
Last active: 2 years ago
Posts
145
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hiya!
×
Eggies's Groups
Eggies's Contact & Social LinkstiyoushiXelasto
I went to the "Creating a swinging door" page to see if I could find out how to make one there, but it says to create a door script_brushmodel. I only know how to make a script brushmodel. Is it just a script brushmodel with a door texture? Also, this doesn't tell me how to change the text ;-;
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 4 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
I went to the "Creating a swinging door" page to see if I could find out how to make one there, but it says to create a door script_brushmodel. I only know how to make a script brushmodel. Is it just a script brushmodel with a door texture? Also, this doesn't tell me how to change the text ;-;

It is a script_brushmodel with a door texture. The text will be the open door text if you use a door instead of debris, like so:




If you want to change the text, you can

1) Open zombie.str in \raw\english\localizedstrings
2) Search for open_door and you can change what you need there.

Example:

Code Snippet
Plaintext
REFERENCE           BUTTON_BUY_OPEN_DOOR_100
LANG_ENGLISH        "Press & hold &&1 to Open Door [Cost: 100]"

to

Code Snippet
Plaintext
REFERENCE           BUTTON_BUY_OPEN_DOOR_100
LANG_ENGLISH        "Press & hold &&1 to Open Zombie Door [Cost: 100]"



You can also do this instead if you'd like:

1) Go to _zombiemode.gsc
2) Search for open_door.
3) You can change text like:
Code Snippet
Plaintext
add_zombie_hint( "default_buy_door_100", &"ZOMBIE_BUTTON_BUY_OPEN_DOOR_100" );
to
Code Snippet
Plaintext
add_zombie_hint( "default_buy_door_100", "Press & hold &&1 to Open Door [Cost: 100]" ); // Make sure you remove & sign. 
Last Edit: September 11, 2015, 12:10:37 am by ProGamerzFTW
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 6 August 2015
Last active: 2 years ago
Posts
145
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hiya!
×
Eggies's Groups
Eggies's Contact & Social LinkstiyoushiXelasto
I created a script_brushmodel and went to textures > Usage > Door. When I pick a texture it doesn't change the text  :poker:
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 4 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
I created a script_brushmodel and went to textures > Usage > Door. When I pick a texture it doesn't change the text  :poker:

Choosing a texture doesn't change the text... making a proper door instead of debris like i said earlier does...
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 6 August 2015
Last active: 2 years ago
Posts
145
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hiya!
×
Eggies's Groups
Eggies's Contact & Social LinkstiyoushiXelasto
Idk how to make a proper door XD
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 4 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Idk how to make a proper door XD

I said exactly how in a previous post.  :poker:
broken avatar :(
×
broken avatar :(
Location: usCalifornia
Date Registered: 6 August 2015
Last active: 2 years ago
Posts
145
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hiya!
×
Eggies's Groups
Eggies's Contact & Social LinkstiyoushiXelasto
Thanks a lot :)

 
Loading ...