![]() |
TOUGH Modding Questions
These are what I consider some tough modding questions, but hopefully the veterans will know.
1) Can you add a ranged weapon as a secondary effect for a melee weapon? So far it's not working. The reason is so I could have an effect which only occurs once every two turns or even less frequently. 2) How can I create a spell which drops a long range assassin already in stealth on an enemies province? I know the wild boar spell already drops an independent stealthy unit which needs to be found. I would like to create a similiar spell which drops an assassin owned by the caster and without the wild boar event pop_up message. 3) Has anyone tried using the RAND command? I found RAND was one of the hidden commands... which has me very interested since it's probably used for RANDOM percentages. I've tried a few modding combinations using RAND yet no luck. Probably doesn't exist per Ich |
Re: TOUGH Modding Questions
Quote:
|
Re: TOUGH Modding Questions
Quote:
http://forum.shrapnelgames.com/showt...highlight=rand Perhaps I read the thread too quickly. |
Re: TOUGH Modding Questions
Quote:
At the moment I don't have the complete list of mod commands that are being parsed. But here is the table of complete map commands that are actually being parsed: Code:
additem |
Re: TOUGH Modding Questions
Thanks Ich... this answers one of my questions.
|
Re: TOUGH Modding Questions
So, here are all the mod commands that are being parsed by the game:
Spells Code:
aoe Code:
armor Code:
addname Code:
addreccom Code:
clear Code:
coldincome |
Re: TOUGH Modding Questions
NT, I don't have teh DB/spell Db here now but basicly you can just look in that one and use the spelleffect numbers from a spell that matches. I've not tries a remote assassin yet but for other spells it works well. If you know what spell you want to base it on it should be pretty easy to look up and just change the damage number in the unit you want there.
But as I said I've not actually tried it.. it worked for regular summon and a combination of friendly farsummons though. While looking through the spell DB I noticed there are acutally a few spells which I though where pretty much alike with different spelleffect numbers so you might want to look at the exact spell you want to replicate. |
Re: TOUGH Modding Questions
and on 1 I'd guess it's not possible certainly if you've already tried it a bit (I don't think there would be many way's you could code it so if it doesn't work it probably just doesn't work)
|
Re: TOUGH Modding Questions
Quote:
Another angle to workaround the above two problems would be how could I make the commander land within an enemy province already in stealth mode. |
Re: TOUGH Modding Questions
nono not COPY the spell use the CODE that is given in the spell DB. But if the wild boar is neutral and you want a NOT neutral summon than you can;t look at his CODE since then you'll just get another indep summon I'd say. You need to use a code that gives the result you want, so use it of a spells that does what you want.
PS I've got no idea where the messages go so maybe that is unavoidable anyway. |
All times are GMT -4. The time now is 08:08 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.