Targeting System

  • Thread starter Thread starter DarthTyranus
  • Start date Start date
Under the Object Editor for him, you can change the Art - Model File and Art - Icon - Game interface to Marine... that should get you close...

If you get really ambitious... look at the attachments tutorial... there are probably several models out there you could import to use....

Attachment Tutorial

Good Luck :D
 
Thanks for the help, but i already knew that. But thanks anyway
 
Don't know if you haven't already fixed the FPS thing, but this should work:

pan to position of player
rotate camera to angle of unit
set height offset to around 100 or 200
set angle of attack to 0

if the camera seems to be behind the player, set the camera's z field to a low number.
 
XXXconanXXX said:
Check Wc3Campaigns.com, they have already created an FPS system. (Throws my whole system out the window :()

http://www.wc3campaigns.com/showthread.php?t=57791

for some odd reason it says permission denied when i try to get into that thread... im guessing why (i amregistered), but if some1 could go in there and copy the text to here that would be GREAT!
 
lol I can't get in it either, it's not only you. Maybe the thread got moved or something.

If anyone knows the thread title, I could try searching for it then posting the link
 
lol... i found the reason... they are working on the site and that part of it is down :(. But if anyone has that code lying around... that would be helpful
 
NOW WHAT IN THE HECK... this wass my idea and u will not take others people code and say it was ur idea!

do whatever you want but illl make a far better one than urs and you will be a rip off of my map. no offense.
 
"NOW WHAT IN THE HECK... this wass my idea and u will not take others people code and say it was ur idea!"


who said i was doing either of those things! Calm down and think... the main reason why im replying to this is to have it here on THIS website so people wont have to go searching others. But if its your code that we are looking for then you have the ability to say yes or no to this. I never take what others make..... that sounds odd.....


"do whatever you want but illl make a far better one than urs and you will be a rip off of my map. no offense."


What are you talking about?!
 
i thought u were about to make a targeting system with precents to hit and stuff. Just like fallout.
 
lol no, but just because someone says one thing dont assume another ;).

Good luck on what your doing.

----------------------

Back on topic!

Has anyone found where this code may be? (A small side reason is that i also need a portion of this code... thats why im persistant with this)
 
the FPS System code that conan talked about
 
Code:
Pos Aimer
    Events
        Player - Player 1 (Red) Presses the Up Arrow key
    Conditions
    Actions
        Set PositonOfAImer = (PositonOfAImer + (Integer((Facing of (Triggering unit)))))
        Image - Destroy (Last created image)
        Image - Create an image using ReplaceableTextures\Splats\AuraRune9b.blp of size 256.00 at (Target of current camera view) with Z offset (Target Z of current camera view) using image type Indicator

Fire
Events
Player - Player 1 (Red) Selects a unit
Conditions
PositonOfAImer Equal to (Integer((Facing of UnitSelected)))
Actions
Set UnitSelected = (Triggering unit)
Unit - Order AttackingUnit to Attack UnitSelected


Theres an example .

holycrap im going to use that in my map.
 
i have that, but i need it to reconise where to shoot.

Im trying to do something more ability like not trigger
 
yes but on a point not a unit and that point will be where the cursor is. The cursor part is in the WEU custom triggers so i dont have to worry about that (thank god!! ;))
 
Code:
Fire
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Black Arrow
    Actions
Set AttackingUnit = (Triggering unit)

        Unit - Order AttackingUnit to Attack Ground ((Target point of ability being cast) offset by ((Source X of current camera view), (Target Y of current camera view)))
maybe work?
 
the ability is going to based off of the shockwave ability so it will need a target created by the player. So i can cut my work in half right there because when you cast the ability there is a cursor with the croshairs :D and the player can choose the point where the bullet/rocket will go :) (im guesing i should make a forum for this map... maybe later when its done)

EDIT:

or i could just use the counter-strike maps version of fps even though its more of a tps
 
Fire
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Rally
Actions
Unit - Remove Rally from Peasant 0000 <gen>
Wait 2.00 seconds
Unit - Order (Triggering unit) to Attack Ground (Target point of ability being cast)

apparently rall is an order dman....
 
lol nice try though. I set up a thread for my map under member projects so check it out if you like.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +1
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top