HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

The "ego-shooter spell"

02-02-2006, 07:53 PM#1
Doomhammer
Don't know whether that's already been done or not...

if so, please say so

The idea: have a master unit cast this "get-into-one-of-your-warriors-spell", which then should change the camera angle to the point of view of this unit. The spell shouldn't be timed but work as recall instead: instead of a buff, the target unit will get a proper ability button, which will be temporarily placed in one of the empty fields. Pressing the unit's button, the camera will fly back over the whole battlefield to the master unit where it was before. In 3D mode, the arrowkeys can be used to move the unit around, spells and attack as normal.

That's just a rough concept of what I'm keen on adding to my map. I'm pretty confident most of this stuff can be made.

What I'm seeking after is some input from you guys , whether putting this into practice will be worth it or not, and where possible problems / dead ends might be hiding.

thanks for your input
02-02-2006, 08:55 PM#2
Jacek
I am sitting now on my aunt's comp, no war3 installed, I'll do from memory. Always willing to help :)

I see you want something like Posess from Dungeon Keeper II. Create camera and make it like eye-view (set roll etc. ). Create boolean variable possess and unit possessedunit. Make new spell etc . To make camera follow rotation of unit make something like:

Trig1:

Event
Unit starts effect of an ability
Condition
Ability being cast equal to get-into-warrior
Action
Cinematic - Apply Camera01 over 1 second
Cinematic - Pan Camera offset by 0.0,-200 (I am unsure now what trigger is needed for this, sry, something like this
Set possess = True
Set possessedunit = Target of ability being cast
Trigger - Turn On Trig2
Unit - Add EndPossesion to (Target of ability being cast)

Trig2 (initially off):

Event
Every 0.02 seconds
Condition
possess = True
Actions
Cinematic - Set Camera01 Rotation to Facing of unit(possessed unit)

Trig3:

Event
Unit starts effect of an ability
Condition
possess = True
Ability being cast = EndPossess
Action
set possess = False
Unit - Remove end possession from possessed unit
Trigger - Turn Off Trig2
Player - Select main unit


That was just for you to look at it. Of course it would need optimization, multiinstanceability. Problems to look at will be for sure:

1) Keyboard reaction delay.
2) Disabling ability to select other units that possessed one.

Hope this helped something. Ask for everything
02-02-2006, 09:06 PM#3
Doomhammer
awesome!
that's more than I wanted. your opinion and your statement would have been enough.

but thanks anyways.
02-02-2006, 09:11 PM#4
Jacek
Like I told, I am until Saturday (maybe Sunday) on my aunt's comp so I have time to answer in long posts