creating MordorFellbeast by OCL
#1
Posted 30 March 2005 - 04:23 AM
So I modified ocl.ini and evilfactionunits.ini to spawn MordorFellBeast when my on-foot Nazgul dies, but MordorFellBeast doesn't get spawned. I managed to spawn other units such as normal units and heros by OCL so I'm sure that how it's written is correct. For some reason it seems that flying objects don't get spawed by OCL. Could anyone help me out?
Thanks.
Vapula
#2 Guest_Guest_*
Posted 30 March 2005 - 08:14 AM
#3
Posted 30 March 2005 - 08:53 AM
Weapon FellBeastWeapon ; BALANCE Mine Weapon AttackRange = 15.0 MeleeWeapon = No DelayBetweenShots = 3000 ; time between shots, msec PreAttackDelay = 1466 ; 433 is natural time of the stabbing animation. PreAttackType = PER_SHOT ; Do the delay each time we attack a new target FiringDuration = 733 ; min 600 for anim AcceptableAimDelta = 15 ; Give it a little leeway NoVictimNeeded = Yes ; Need no target OverrideVoiceAttackSound = ExplosiveMineVoiceDeploy;Play Special "leave it there voice" SpawnAndFadeNugget ObjectTargetFilter = ANY +STRUCTURE +INFANTRY +CAVALRY +MONSTER -ROCK_VENDOR; And funny thing, even though this has Position in the name, nothing actually makes it be Position based. So when the object one fails on a rock, this one get picked. So filter goes here too. SpawnedObjectName = MordorFellBeast SpawnOffset = X:8 Y:1 Z:0 End End
you need to add it as a weapon. Add this code to your commandbutton.ini, changing the weaponslot to the one you used.
CommandButton Command_MountFellBeast Command = FIRE_WEAPON WeaponSlot = SECONDARY ; Options = NEED_TARGET_POS; CONTEXTMODE_COMMAND TextLabel = CONTROLBAR:DeployMine ButtonImage = SBEvil_Plus1Nazgul ;CursorName = AttackObj ;InvalidCursorName = GenericInvalid ButtonBorderType = ACTION DescriptLabel = CONTROLBAR:ToolTipDeployMine InPalantir = Yes End
hope that helps
#4
Posted 30 March 2005 - 04:56 PM
#5
Posted 30 March 2005 - 05:29 PM
#6
Posted 30 March 2005 - 07:39 PM
Edit: I think I managed to make a toggle between on-foot Nazgul and flying Nazgul. He can transform both ways (from flying to onfoot, and from onfoot to flying), and the number of buildable Nazguls can be held constant. woot I did it.
Edited by Vapula!, 31 March 2005 - 03:46 AM.
#7
Posted 31 March 2005 - 03:28 PM
#8
Posted 31 March 2005 - 04:38 PM
Save the environment, use green text
Some Bullshit Somewhere
#9
Posted 31 March 2005 - 05:31 PM
#10
Posted 31 March 2005 - 06:02 PM
However it isn't perfect yet. The biggest and only problem is since Nazgul/WitchKing spawns as a completely new unit, each time he toggles Fellbeast, his health recovers full. One can cheat by mounting a fellbeast, get full health and fly away when his Nazgul is about to die! I'm trying to add StartPaused = Yes with mouting fellbeast ability (so it cannot be toggled like every second), and unpause it by some sort of events (timer would be the best but I don't know how to unpause a certain upgrade feature by timer).
To #8
I received a messege from you but when I opened it says follows :(
The error returned was:
You are not allowed to use the messenger feature on this board
EDIT: nm, I managed to read it, and thanks for the praise
and for the tutorial, yes I will once I sort everything out.
Edited by Vapula!, 31 March 2005 - 07:34 PM.
#11
Posted 31 March 2005 - 09:45 PM
#12
Posted 01 April 2005 - 04:09 AM
I've been fixing small problems for toggle FellBeast.
Now the problems that I have are as follows.
I wanna know whether you guys can allow/compromise these problems or not.
Prob. 1. Nazgul gets full health each time he mounts/unmounts fellbeast.
I can't do anything for this practically because basically what the toggle does is it kills on-foot Nazgul first and spawns a Fell Beast as a separete unit, so the amount of his health won't be taken over.
Prob. 2. Nazgul can mount/unmount fellbeast whenever you want him to do so.
This is actually a serious problem because of Prob. 1. You can recover his health whenever you want! I can't give it a loading time because when Nazgul mounts/unmounts fellbeast it becomes a different unit (as I wrote in Prob. 1.), so timer gets reset. I might be able to give it StartsPaused = Yes and unpause it by some sort of events, e.g. timer will be the most preferable event for this but I don't think it is possible...
Prob. 3. Nazgul cannot grow.
Since I used activebody for my Nazgul, once he dies his experience will be gone. Well then how does he respawn? I created a fake respawnbody feature with egg object and OCL, which was the most tricky part for making this toggle. So I was originally trying to make him spawn with rank 5, and give him mount fellbeast ability when he reaches rank 10 but now it's totally impossible. What I can do alternatively is to make a new spell for the mordorspellbook. It will be entitled as "FellBeast" and once you get certain amounts of CP and purchase the spell, Nazgul and WitchKing will be able to mount/unmount fellbeast.
OR, I can simply give them mounting fellbeast ability from the beginning.
To #11
I will once I finish it :x
Edited by Vapula!, 01 April 2005 - 04:18 AM.
#13
Posted 01 April 2005 - 12:28 PM
#14
Posted 01 April 2005 - 02:20 PM
lol nope
#15
Posted 02 April 2005 - 07:45 AM
i saw on your website this one also allows the nazguls to toggle on horse, how's the animation for that?
Edited by Micks, 02 April 2005 - 07:54 AM.
#16 Guest_Guest_*
Posted 02 April 2005 - 09:38 AM
IE, instead of necessarily trying to make it fixed within the game's code--which it seems like even the original developers had some problems doing, or just got lazy--turn it into a balanced game effect somehow. A free health bar wouldn't be so bad if you linked it to a 10 point ability in Mordor's spellset. I personally just have the nazgul as summonable allies instead of hero units because they're so problematic.
Since the witch king and Nazgul can't really die via normal means persay, making them just flat-out invincible would be fine if they're on a time-limited summon like the Balrog. Balrog's got health and Gandalf can beat him down quite a bit, but he is generally not at that great of a risk of dying. Same with the Oathbreakers. Do what I did and dump Mordor's Balrog summon and replace it with a "Summon Dark Riders" ability and then nobody will really care if or if not they're able to die.
If you're worried about game abuse, drop the damage signficantly enough that they can liquidate a bunch of units but not completely wipe a player. The Balrog and Army of Dead are already pretty insane, I doubt your invincible Nazgul would be much worse.
#17
Posted 02 April 2005 - 10:33 PM
Since the witch king and Nazgul can't really die via normal means persay, making them just flat-out invincible would be fine if they're on a time-limited summon like the Balrog. Balrog's got health and Gandalf can beat him down quite a bit, but he is generally not at that great of a risk of dying. Same with the Oathbreakers. Do what I did and dump Mordor's Balrog summon and replace it with a "Summon Dark Riders" ability and then nobody will really care if or if not they're able to die.
it's an idea but it leaves Mordor with absolutely no heroes which will make them much weaker compared to the others
#18
Posted 02 April 2005 - 10:42 PM
The Witch-King is an upped Nazgul with one passive power and one ability--which makes him about as good as a Nazgul and a Drummer Troll combined.
If you really want to make a Hero unit, get a hobbit to be buildable by Mordor and then reskin him to look like Gollum.
Then set your new Gollum's levelup so that he takes forever to reach level 10.
Then give him a level 10 "Find the Ring" ability that uses Word of Power on himself--killing himself permanently and spawning Sauron in his place.
You could even have his "Find the Ring" ability an aggressive spawn Sam and Frodo, and once you kill them THEN Sauron spawns.
#19
Posted 02 April 2005 - 10:48 PM
#20
Posted 02 April 2005 - 11:07 PM
That's what I mean that they're units and not heroes--they don't level up and have almost no abilities.
If you just want them to just be better though, there's code for switching the Witch-King from felbeast to foot, and you could rewrite a cavalryman to include the mounted-Nazugul model, and then re-skin the horse once you've colored it black--and then you have Dark Riders as well as Felbeasts and a Witch-King on his feet.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users