Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » 4.0 Script question
4.0 Script question [message #456661] Mon, 03 October 2011 05:01 Go to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
Also in 4.0 I'm missing a Script like "JFW_Message_Send_Attack_Team_Timer", which should announce (Sound) a persistent attack at a custom building, but with a timer for the repetition.

[Updated on: Mon, 03 October 2011 05:03]

Report message to a moderator

Re: 4.0 Script question [message #456664 is a reply to message #456661] Mon, 03 October 2011 05:53 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I think you can set those sound effects up in the building controller itself without needing to resort to scripts.

http://steamsignature.com/card/1/76561197975867233.png
Re: 4.0 Script question [message #456665 is a reply to message #456664] Mon, 03 October 2011 06:16 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
danpaul88 wrote on Mon, 03 October 2011 05:53

I think you can set those sound effects up in the building controller itself without needing to resort to scripts.


Exactly this is the problem.

E.g. take the helipad. All announcement sounds are 3D in the presets, but you need 2D.

So you have to temp a new sound, which is 2D.

but the links from the building settings are going to the string table.

changing the linked sound to the new temped preset there doesn't work, because changes in the string table won't make it into a mix-file.

so, for custom buildings, you need a script.

there is one for a dead building, but not for attack with timer.

or, where is my fault?

[Updated on: Mon, 03 October 2011 06:17]

Report message to a moderator

Re: 4.0 Script question [message #456666 is a reply to message #456661] Mon, 03 October 2011 06:18 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
With 4.0 you can add custom strings tables to a MIX map, I think you have to rename it to something like strings_map.tdb to get it to work. Check with StealthEye, I think he will know how this works since he knows how resource manager works.

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Mon, 03 October 2011 06:19]

Report message to a moderator

Re: 4.0 Script question [message #456669 is a reply to message #456661] Mon, 03 October 2011 06:56 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Yes, renaming to strings_map.tdb and including it in the .mix will work.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: 4.0 Script question [message #456674 is a reply to message #456661] Mon, 03 October 2011 08:35 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
4.0 saves the day Big Ups

I do hope someday a list with new features will be put up?


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg

[Updated on: Mon, 03 October 2011 08:36]

Report message to a moderator

Re: 4.0 Script question [message #456699 is a reply to message #456669] Mon, 03 October 2011 13:58 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
StealthEye wrote on Mon, 03 October 2011 06:56

Yes, renaming to strings_map.tdb and including it in the .mix will work.


indeed, great!
Re: 4.0 Script question [message #456705 is a reply to message #456666] Mon, 03 October 2011 15:24 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3808
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
danpaul88 wrote on Mon, 03 October 2011 07:18

With 4.0 you can add custom strings tables to a MIX map, I think you have to rename it to something like strings_map.tdb to get it to work. Check with StealthEye, I think he will know how this works since he knows how resource manager works.

I'm pretty sure you could force strings to come across in a mix map by putting them in an objects dependencies (in pre 4.0).


Previous Topic: 4.0 Bug, Movements blocked
Next Topic: Uhoh! Porn downloads + Renegade = Fahal
Goto Forum:
  


Current Time: Sat Oct 05 13:14:13 MST 2024

Total time taken to generate the page: 0.01054 seconds