Jump to content
The Dark Mod Forums

S/R Question, Problems, Suggestion/Request


Recommended Posts

Well I guess we're stuck with what we've inherited so will make the best of it.

 

If scripting is so easy then may we have as an alternative a list of relevant scriptEvents that already exist to change properties and a script template to call them. Then most of us can with a little help, insert the necessary into the template.

 

I see in our wiki there are

 

http://www.thirdfilms.com/darkwiki/index.p...ript_invocation and

http://www.thirdfilms.com/darkwiki/index.p...ng_with_the_SDK

 

both with TODOs so they should be helpful. That's probably the missing link that might make it work.

 

I need a set unfrobbable right this minute - I think Dave has already asked for this. I have an object that the player drops in a chest to complete an objective. Unfortunately, the player can then just take it out again. I targetted the no-frob zone that was already in the chest and that worked but then the player can close the lid and get it out of the side of the chest!

Link to comment
Share on other sites

While I am a big fan of scripts and their power, I am also a big fan of "KISS". You shouldn't need to learn and write scripts just to change a property value at run-time.

I agree that it would be easier, but that's what why we have coders on the team. Mappers can kindly ask the coders to implement a scriptEvent, can't they?

 

"Normal" people (e.g. not people like greebo who have 50h per week to spent on TDM) ...

Rest assured, the time this will reduce to a few hours per month will come pretty soon. I didn't always have so much and I won't have it in the mid-term futuer. This is an exceptional timespan.

Link to comment
Share on other sites

I need a set unfrobbable right this minute - I think Dave has already asked for this. I have an object that the player drops in a chest to complete an objective. Unfortunately, the player can then just take it out again. I targetted the no-frob zone that was already in the chest and that worked but then the player can close the lid and get it out of the side of the chest!

I can add such a response effect right now, if you want me to, just say the word. :)

Link to comment
Share on other sites

So a bad design decision at the start (making the variables decoupled) is now worked around by "adding stuff on a case by case basis" because doing it proper is "too much work". Great :(

 

I don't believe it was bad design, simply a necessary design at the time. Tels, you were brought into TDM to work on Dark Radiant and help free up some time for the others to work on the main mod. This could be your project if you're interested. ;)

Link to comment
Share on other sites

I can add such a response effect right now, if you want me to, just say the word. :)

 

Yes, please greebo. It would be the only practical solution for what I have set up at the moment I think. The only other option I could think of was a teleport swap! :)

 

Sometimes I wish they'd teleport me out and bring in a clone. This has been a fruitless day.

Link to comment
Share on other sites

Yes, please greebo. It would be the only practical solution for what I have set up at the moment I think. The only other option I could think of was a teleport swap! :)

Done. Sync the mod SVN and check out the Response Effect list in the S/R Editor. :)

Link to comment
Share on other sites

Hey that is seriously fast! Do you deliver pizzas too?

:D

 

Got it working - that's excellent Thanks greebo.

It was easy. You can look at the difference of the last revisions to see how it was done, in case you're (or anyone else is) interested.

Link to comment
Share on other sites

  • 1 month later...
3. problem: a possible issue I just noticed in preparing this post. The user is apparently not shown internal indexes. For example, I just set up an Activate Response for Frob (shown as #1 in the UI list to the user) and the S/R editor shows, "Activate the response with ID 0..."

 

Not a big problem, but if the user reads "1" while internally it's actually "0", it will likely cause some confusion for users. If it cannot (or should not) be forced to use 1 as the base, then I don't think there's any problem with showing the user lists starting with 0.

I just visited the bug report on the tracker (#420) and I think I misunderstood you the first time I replied.

 

The ID that is displayed in the response effect description:

Activate the Response with ID 0 on entity _SELF

does not refer to the # column shown in the list of responses on the left. It refers to the numeric Stim Type Index, which is starting at 0 (=FROB) and ends somewhere between 20 and 30 (STIM_BLIND).

 

So I guess something has to be fixed either way, because the wording causes confusion.

 

Also, I think you already filed a bug report where you requested that Responses could be activated by ID and not by Type, as multiple responses of the same type can exist on an entity.

 

I'll look into both issues, this should do it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 0 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...