No Triggers Needed, Hintstring icons, and EE Hint Images and Messages

broken avatar :(
Created 1089 days ago
by MakeCents
0 Members and 1 Guest are viewing this topic.
3,178 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 59 days ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents'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.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
No Triggers Needed, Hintstring icons, and EE Hint Images and Messages



Information
You can add images under your hintstring, ee hint images, and messages, to tell a story, or to give clues for the next step in your ee.

This script can replace the need for a trigger and an ent. The script can be used directly on an ent or struct without a trigger. It can also be used with the trigger, since a trigger is an ent.
Why?
Well, it reduces the amount of interactive ents in your map at a given time, hopefully helping prevent g-spawn.

This script requires a little menu editing, instructions in script, because I chose that for the hintstring instead of a hud, and you can't do your typical sethintstring this way either. (And you can't use the &"strings" either) I set it up so it already says press & hold "your use button", and you just tell it the rest. I made an adjustable argument if you have jump or crouch to see the hint, that can be used to adjust the z.

Features:

 - Use less ents if desired
 - images under hintstring
 - ee hint images
 - ee hints under images

This can be used on wall weapons, doors, ees, and any place you want to trigger an event... to help get you in under the limits or just to add hints or a story line to your map. If you want any help trying to modify it to meet your needs, or incorporate it in some way, just hit me up.

Instructions

 - Add mc_mod folder to your mods/mapname/maps folder
 - Edit your hud.menu, copy/paste code below (please read and see example if needed)
 - Add #include maps\mc_mod\_mc_NoTriggers; to the top of any gsc you want to use this in
 - Add one of the two available functions where ever you want to use it, or replace your waittill triggers like in the example included in the dl.
 - If using images, add material,name for each material you converted (see examples for sizing), to your mod.csv
 - Add iwi's for materials to your mods/mapname/images folder
 - Build mod with checkbox on new script and new images

/*
#####################
by: M.A.K.E C E N T S
#####################

Place the following at the top of the gsc you want to use functions from this in it
#include maps\mc_mod\_mc_NoTriggers;

in your script use one of the following two functions:
player = trigger NTwaittill(<hint>,<icon>,<message>,<messagehint>,<offsetter>);//replaces trigger waittill("trigger", player);
<hint> - hint for trigger
<icon> - (optional) The icon/material to put under the hintstring
<message> - (optional) The material for the image that pops up
<messagehint> - (optional) The hint under the image
<offsetter> - (optional) The ammount to offset the z axis if necessary

player ShowMessage(<message>,<messagehint>,<onetime>,<timer>);//add to show a message to the player at any time
<message> - The material for the image that pops up
<messagehint> - The hint under the image
<onetime> - (optional) The hint under the image
<timer> - (optional) How long to keep the hint up

In hud.menu for your map find competitivemodescores and add this to that menuDef:
itemDef
{
name "hintstring"
rect 100 70 40 40 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
textscale TEXTSIZE_SMALL
textstyle ITEM_TEXTSTYLE_SHADOWED
textfont UI_FONT_OBJECTIVE
textalign ITEM_ALIGN_CENTER
forecolor 1 1 1 1
exp text ("Press & hold " + KeyBinding("+activate") + dvarString("hintstring"))
visible when (dvarString("hintstring") != "The power must be activated first" && dvarString("hintstring") != "");
decoration
}
itemDef
{
name "gunicon"
rect 50 90 100 40 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER
forecolor 1 1 1 .8
ownerdraw CG_PLAYER_WEAPON_BACKGROUND
exp material dvarString("gunicon");
visible when (dvarString("gunicon") != "")
decoration
}
itemDef
{
name "mcmessage"
// rect (WEAPINFO_X +122) (WEAPINFO_Y +5) 24 24
rect 0 220 96 96 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP
forecolor 1 1 1 .8
ownerdraw CG_PLAYER_WEAPON_BACKGROUND
exp material dvarString(mcmessage);
visible when ( dvarstring(mcmessage) != "");
decoration
}
itemDef
{
name "mchintstring"
rect 0 335 96 96 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_TOP
textscale .25
textstyle ITEM_TEXTSTYLE_SHADOWED
textfont UI_FONT_OBJECTIVE
textalign ITEM_ALIGN_RIGHT
forecolor 1 1 1 1
exp text dvarString("mchintstring")
visible when (dvarString("mchintstring") != "");
decoration
}

###############################################################################
*/
Last Edit: June 15, 2016, 04:37:02 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 2 days ago
Posts
587
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.
thanks this could be useful for me since i use tons of triggers  ;D +1
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 59 days ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents'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.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
thanks this could be useful for me since i use tons of triggers  ;D +1

Cool. I created it for ORBiT since my ents started getting pretty high when building the center part. I removed bump triggers from the perk machines, and many other things, but ended up still too high. This dropped me down like 100 ents.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 59 days ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents'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.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Updated script with other features
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 11 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
Good stuff bro
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 24 May 2016
Last active: 19 days ago
Posts
31
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Strangers are just friends you haven’t met yet.
Signature
I don't post often but when I do I probably make myself seem like an idiot. Also, I don't need people to help me grow up! I drink milk.
×
Fancygamer1738's Contact & Social LinksH3X-4h3x_4H3X--4
THANK YOU SO MUCH!!! I started running up on my limits a couple days ago and considered cutting content, but now I don't have to.  8)

 

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 ...