Posted: Mon Aug 31, 2015 10:50 pm Post subject:
Darkstorm's Mod Questions Thread
So the description about this is extremely vague in the documentation in the client but from what I understand it's suppose to load more mixes. For some reason I have it loading the proper loading screens but the rest is all mixed up. I got GDI loading with Nod's Sidebar and speech, Nod loading with GDI's sidebar and speech, and the rest loading with Nod's sidebar but GDI's speech.
EDIT: Also, the SideOptionPrerequisites doesn't seem to be working, despite all my side names matching up.
EDIT2: Ok, also I'm trying to replicate what DTA did for the buildconst and I'm having trouble getting the AI to get going. It seems as though I need to get close for them to react or in some cases they don't do anything. It seems like the invisible structure is preventing the MCV deployment and it also appears like the player's buildconst unit doesn't deploy at all.
EDIT3: Ok, I think I've fixed the AI's issue for the most part, the only thing it doesn't do is deploy the new side-specific mcv.
EDIT4: Well now that I got this to work properly but have other issues I've renamed the thread instead of making a new one. Last edited by Darkstorm on Sun Sep 06, 2015 12:00 am; edited 1 time in total QUICK_EDIT
Now ported to TS Client. The reversal of sidebars gets solved by adding
Resources -> GameOptions.ini -> [ForcedSpawnIniOptions] -> SidebarHack=Yes
For the dropdown
Resources -> GameOptions.ini -> [GameLobby] -> Sides=
You need additional side icons as well.
For additional sides, you need INI changes, assets in the additional mix files and I think I applied the sidebar
hacks from LKO's ModExe tool as well. It works for me.
As for invisible object stopping MCV deployment, try reducing the Strength of that object if it is supposed
to self destruct. QUICK_EDIT
Hmm, maybe I'm having the same issue as whatever TI is having because I got that in there and it has had no effect.
As for the MCV deployment, I got it to work for the most part. The only issue is the range on it's deploying is too low but I'm pretty sure it's at its max range possible for the weapon but the AI won't deploy the MCV automatically. QUICK_EDIT
There is a hex hack to make AI and Player starting units behaviour, look at the tutorial link, it is available in
LKO's ModExe tool also.
As far as I remember, with DTA's variation, should avoid placing start location very near the bottom edge
of the map as object enters from a height and out of the map area. For SuperJoe's variation, the opponent's
MCV should be reachable by land. QUICK_EDIT
I might try using that then, hopefully it'll work with the client (which is why I haven't already). Otherwise, I don't think the limitation on the DTA variation is impractical and is probably easier to get working. QUICK_EDIT
Ok now I'm having a problem trying to get a self-repairing tank to work. The thought is to have it deploy then have a weapon animation repair it. I would've just gone with an active anim but I'd need to make a repair sparks animation since the repair weapon in the game currently just uses a particle system. Anyhow, I got it to deploy and fire the weapon, but I can't get it to actually repair. Here's the code, I omitted the tank's vehicle code since it's largely irrelevant here.
Negative Art.ini damage values don't work and thus can't heal units.
I think you're better off giving it a weapon with a very high range (255 for example) and giving it ProjectileRange=0 so that the projectile immediately explodes.
You should then be able to use negative values on weapon's damage (or warhead) instead. _________________ QUICK_EDIT
giving it a weapon with a very high range (255 for example) and giving it ProjectileRange=0 so that the projectile immediately explodes.
You should then be able to use negative values on weapon's damage (or warhead) instead.
Don't use any projectile with Inviso=yes (this includes the "Invisible" projectile) because that key causes the projectile to ignore everything and just instantly "skip" towards its target _________________ QUICK_EDIT
ProjectileRange needs a complete coded Projectile including the key Ranged=yes
Code:
[RepairProj]
Image=DRAGON
ROT=100 ;make it homing projectile
Ranged=yes ;make ProjectileRange key work
AA=yes ;make it able to pick any target
AG=yes ;make it able to pick any target
Though imo using a weapon is a quite bad choice and i would have used an ActiveAnim that spawns via TrailerAnim an art.ini debris with negative damage. (art.ini debris can use negative damage and a certain warhead)
weapon is bad because
-if there are no enemy units and just buildings, it wont pick up any target
-Range=255 weapons cause massive lags if the building using it is disabled/shutdown
-the unit/building can't use a weapon anymore for simple attacks
And using art.ini debris with a custom warhead, you could have used welding sparks too, though i would have suggested a custom new SHP, since spark particles can cause lags as well.
using an ActiveAnim would have also allowed you to give damaged and normal state a different strong repair.
e.g.
when in red/yellow it repairs faster/slower than in green state. _________________ SHP Artist of Twisted Insurrection: Nod buildings
[FASTREP]
Image=SOMEANIM ;add nice anim here, e.g. an animated repair wrench icon
LoopStart=0
LoopEnd=10
LoopCount=-1
Rate=900 ;play this anim very fast
TrailerAnim=REPAIRDB
TrailerSeperation=50 ;the interval at which a repair step is done
[SLOWREP]
Image=SOMEANIM ;add nice anim here, e.g. an animated repair wrench icon
LoopStart=0
LoopEnd=10
LoopCount=-1
Rate=300 ;play this anim slow
TrailerAnim=REPAIRDB
TrailerSeperation=250 ;repairs slower when in green state
;the repair debris
[REPAIRDB]
Image=CLRANIM ;dummy SHP with 10 empty frames and 1x1pixel canvas
Elasticity=0.0
MaxXYVel=1.0
MinZVel=-10.0 ;make it instantly hit the ground, thus hit the same unit/building
ExpireAnim=PIFF ;add your welding spark anim here
Report=GUN13 ;add a sound effect here (if not done already in ExpireAnim)
Rate=0
Bouncer=yes ;use special art.ini debris logic
Damage=-50 ;number of hitpoints to repair
Warhead=Super
P.S. the same way you can actually simulate a shield effect in TS
Give the building in normal state an ActiveAnim of a transparent shield bubble, which constantly repairs the building.
When in damaged state, no ActiveAnim at all, so the shield bubble vanishes and no selfrepair is done anymore. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Thanks alot, I got it working. Something I noticed though, when heavily damaged and after repairing to green, it still repairs fast. So I'll probably just have a consistent repair but I think I like this method better. Potentially it also allows the unit to repair nearby units at the same time.
There's still the matter of the sidebar hack which is still being weird but I'm glad to have gotten this in. QUICK_EDIT
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