4.0 Script question [message #456661] |
Mon, 03 October 2011 05:01 |
|
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 #456665 is a reply to message #456664] |
Mon, 03 October 2011 06:16 |
|
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 |
|
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.
[Updated on: Mon, 03 October 2011 06:19] Report message to a moderator
|
|
|
|
|
|
Re: 4.0 Script question [message #456705 is a reply to message #456666] |
Mon, 03 October 2011 15:24 |
|
Jerad2142
Messages: 3813 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).
Visit Jerad's deer sweat shop
|
|
|