Posted: Thu Jul 22, 2010 7:18 am Post subject:
[Ares Or Not] How to properly implement subterranean logic.
Subject description: Meh, kinda confusing if you are not using Ares.
To get subterranean units to work in Red Alert 2, in is mainly a task of changing "DigSound=" in [AudioVisual]. While you could just change it, it is used for both the subterranean digging sound and the Nuclear Missile siren. So there are two ways to go about it, I recommend using Ares as it is much easier.
Ares Way
Due to Ares adding a simple tag, implementing subterranean logic is less of a headache. Start by going to NukeSpecial and adding this:
[NukeSpecial]
...
Nuke.Sound=NukeSiren
This means the nuke will use "NukeSiren" instead of whatever is at "DigSound=" in [AudioVisual]. Now go to [AudioVisual] and set "DigSound=" to your digging sound. You will need to make a sound, but that's another tutorial.
Not Ares Way
Now this is a bit more hard, step one, set "DigSound=" in [AudioVisual] to a dummy sound (one that doesn't make a sound) and then pull open you Art.ini. Go to you dig animation (you'll need one) and put this in there:
[YourDigAnimation]
...
Report=YourDigSound
Then go [NUKEPUFF], the nuke's launching animation and put this
[NUKEPUFF]
...
Report=NukeSiren
This means that the digging animation and NUKEPUFF will make the needed sounds and the system will play your nonsense sound.
Other Stuff
No matter which way you went, you will also need to make a digging animation. I have already released a converted one from Tiberian Sun in my Ares Extras pack. Remember that "Dig=" in [AudioVisual] specifies the animation for the digging, however it doesn't exist in the rulesmd.ini, so you'll need to add it.
You can now go to your Subterranean Unit and make sure that these tags are set:
This will set your Subterranean APC, Tank, Nuclear Ion Apocalypse Artillery Tank, or whatever to act like the Subterranean APC or Devil's Tongue did in Tiberian Sun. This includes not being able to burrow through pavement.
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum