HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help if you want rep.

10-19-2004, 08:55 AM#1
grd
Quote:
Originally Posted by a thing
Code:
function FPCCameraFields takes nothing returns nothing
    local integer i = 1
    loop
        exitwhen i > 12
        call SetCameraFieldForPlayer( ConvertedPlayer(i), CAMERA_FIELD_TARGET_DISTANCE, -85.00, 0 )
        call SetCameraFieldForPlayer( ConvertedPlayer(i), CAMERA_FIELD_ANGLE_OF_ATTACK, 360.00, .50 )
        call SetCameraFieldForPlayer( ConvertedPlayer(i), CAMERA_FIELD_FIELD_OF_VIEW, 700.00, 0 )
        call SetCameraFieldForPlayer( ConvertedPlayer(i), CAMERA_FIELD_ZOFFSET, 195.00, 0 )
        set i = i + 1
    endloop
endfunction

Code:
Update camera
    Events
        Time - Every 0.20 seconds of game time
    Conditions
    Actions
        Custom script:   local unit thingy
        Custom script:   call FPCCameraFields()
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Terrain cliff level at ((Position of [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)]) offset by 120.00 towards (Facing of [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)]) degrees)) Greater than (Terrain cliff level at (Position of [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)]))
                    Then - Actions
                        Camera - Set (Player((Integer A)))'s camera Angle of attack to ((Angle of attack of the current camera view) + 10.00) over 0.19 seconds
                    Else - Actions
                Camera - Set (Player((Integer A)))'s camera Rotation to (Facing of [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)]) over 0.39 seconds
                Unit - Create 1 [b]invisable unit[/b] for Neutral Extra at ((Position of [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)]) offset by 40.00 towards (Facing of [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)]) degrees) facing (Facing of [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)]) degrees
                Custom script:   set thingy = GetLastCreatedUnit()
                Custom script:   call SetCameraTargetControllerNoZForPlayer( ConvertedPlayer(GetForLoopIndexA()), thingy, 0, 0, true )
                Camera - Lock camera target for (Player((Integer A))) to [b]UNIT ARRAY THAT HOLDS THE PERSON THAT A PLAYER IS PLAYING AS[/b][(Integer A)], offset by (0.00, 0.00) using The unit's rotation
                Custom script:   call RemoveUnit( thingy )

Change the bold stuff.

can some one put that on a map and post it on this thread plz?
10-19-2004, 12:35 PM#2
a thing
http://wc3sear.ch/index.php?p=Maps&ID=2200&sid=

I pm'ed you this link...
10-19-2004, 09:12 PM#3
grd
wow that's great, but how can I make it so I move my charater with the
w
asd keys
10-19-2004, 09:15 PM#4
a thing
There's no event that detects when non-arrow keys are pressed besides skip cinematic (ESCape) so you'd have to make spells that do nothing with hotkeys and detect when those are cast. Keep in mind you can still move by right clicking and attacking and A and S are the hotkeys for Attack and Stop.
10-19-2004, 09:16 PM#5
Gandalf2349
Only way to do that is to give him dummy abilities with those hotkeys, warcraft has no hotkey events except for the arrow keys and the esc key. Unless you want to get into F1 and crap.

Wow, Trigger Haven is really deteriorating... Did you just ask us to make your map for you?
10-20-2004, 05:02 AM#6
grd
Play The Death Sheep it's a region of choas scenario made by blizzard...
on this game you press keys to move....
so I know you can do!|I just need to know is how :(
10-20-2004, 05:30 AM#7
Dead-Inside
So you know shit. You know absolutely nothing you speak of. You assume a lot of crap and present it as facts, and then we're supposed to solve *ALL* of your problems instead of you figuring stuff out yourself.

That said, you create dummy abilities which let you bind them to whatever keys you want. You can then use THOSE keys to navigate.

Else, you can use arrowkeys with events, or esc, everything else is a no no.
10-20-2004, 06:23 AM#8
logik
and that death sheep maps is unpotected, open it and have a look - anyways, it uses an event that goes "player issues order = stop" and then moves the paladin...
10-20-2004, 11:51 AM#9
grd
yes Dead-Inside I know not much about triggers.. why the FUCK do you think I would be asking people for help asshole and don't worry I will pay you back for the - rep. MORON.

get a life Dead-Inside, wc3 geek
10-20-2004, 11:56 AM#10
Dead-Inside
Wc3 geek? Why don't you just stop asking for help here? You're ungreatful half of the time, you won't check the rigth answer half of the time and for the most part you don't even TRY to check stuff yourself.

We are not here to build your maps, we are here to aid you. There's a great difference.

So you gave me bad rep, am I supposed to cry now? It's not like I actually care if I get bad rep. I'm not one of those lame beggers who say "Oh plz, give me rep NOOOOOW!! I HELPED YOU! OMG!". To be honest I think the whole system is dumb sinse you can't even see who sent you the rep. They can just type whatever they want and give you bad (Or good) rep.

I'm rambling, whatever. Feel free to give me more bad rep anytime you want grd.

Regards
Dead-Inside

PS. Most of the people helping you are "Wc3 geeks" if you compare them to me. Maybe, just maybe you should watch your tounge? DS.
10-20-2004, 01:30 PM#11
logik
when u say wc3 geek ur insulting the entire community, also you are trying to map... making u a wanna-be wc3 geek.

anyways, the people who help you are taking there time to do it... to help you learn not to make your fucking maps, dont go having a toddler fit just coz you dont know how to do it.
10-20-2004, 08:34 PM#12
grd
Dead-Inside why don't you stop coming to threads that your not welcome in...
logik stop being a JI...
wc3 geeks isn't insulting a community, wc3 maybe is your whole life but I'm sure there are alot of people here that just play 4 fun like me that have friends like me, who have a girlfriend like me, who go out with there friends like me, play sport like me, skate with their friends like me and laugh at little bitchs who play wc3 24 7 like me......

go out side and feel the sun.....
10-20-2004, 09:01 PM#13
Dead-Inside
It is insulting the community, not insulting you. Are we having problems today?
If you post a thread which asks for help in the trigger haven, then I am welcome. You can start up your own WC3 forum if you want, and ban my IP from there (Not because I'd ever visit, but still). This is a free forum and I can browse and reply to any topic I want.

Edit: You realize this will mean people are going to stop helping you, right? And what did logik do?...
10-20-2004, 10:39 PM#14
Gandalf2349
Sometimes Dead-Inside can be a little mean, but honestly. You literally asked us to build your map for you.

Some people don't realize this, but we're here to HELP you learn how to make maps yourself, not to make them for you.
10-21-2004, 04:49 AM#15
grd
omg Dead-Inside your still posting here, that is sad...
let me guess Dead-Inside I insult you and no1 is going to help me because, your the wc3 fourm god?