TresCom Forums

TresCom : The Trespasser Fan Gateway...
It is currently Tue Oct 16, 2018 11:15 am

All times are UTC




Post new topic Reply to topic  [ 1097 posts ]  Go to page Previous  1 ... 70, 71, 72, 73, 74
Author Message
PostPosted: Wed Sep 26, 2018 4:06 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 11115
Location: Portland, OR
Well, now it works. Dunno what changed.

_________________
Image
Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
PostPosted: Wed Oct 03, 2018 6:12 am 
Offline
T-Rex
T-Rex
User avatar

Joined: Thu Feb 20, 2014 9:13 pm
Posts: 2543
Location: Canada, eh?
Hey again, Lee - got a pair questions/requests for you:

First,
is there any way to either implement into the code or create a .NUT script for a trigger which fires when you push a customizable button on the keyboard? I assume it would work similarily to your implementation of the Sprint system (with the addition of the key to the Controls menu and such), except instead of increasing player speed, it activates a trigger. I would imagine this as a Trespasser trigger to look like:
Code:
string class = "CKeyPressTrigger"
string Key = "X"
bool KeyHeld = true (fires repeatedly while the key is held)
bool KeyTap = true (fires once when the key is pressed)
bool KeyRelease = true (fires once when the key is released)

I can see a lot of good use for such a function, and already have a few ideas of my own. I remember that you said something about this being doable with scripts, and if that is the case, it would be wonderful if you could write up a template script for this with the functions listed above as configurable modifiers.

Secondly,
would it be possible to write a triggered script which fades in an overlay image, and then fades it back out either after a set period of time or if another script/trigger removes it? I imagine this should be doable using the same scripting as the HUDs you've made for CE, except this element would be static instead and its size and position would be the key modifiers. This would mostly be used as a replacement for the broken retail ActionType which permanently displays a .BMP image on-screen, which presumably uses .tga files as your other scripts do, allowing for much greater flexibility.

As always, a massive thank you if you can help bring any of these things to fruition. :) I look forward to hearing your response!

_________________
Image

My currently active projects:
Return to Jurassic Park: A Trespasser Mod - Forum or ModDB | Trespasser HD: Beach (Released!) / Jungle Road | TheIdiot's release thread


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1097 posts ]  Go to page Previous  1 ... 70, 71, 72, 73, 74

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group