ItsMods

Full Version: Location Selection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
OMA Hello OMA

This is a new tutorial and also a small request, OMA . The tutorial is about the command beginLocationselection, what it does is to open a menu to select a position, is the airstrike location one. There is a precaching command for location selectors:

Code:
precacheLocationSelector("selector name");

This is the command of the tutorial: OMA

Code:
self beginLocationSelection("selector name",choose direction or not,target size);

An example:

Code:
self beginLocationselection("map_artillery_selector",true,(level.mapSize/5.625));

The game uses in target size: level.mapSize/5.625. The location notifies: "confirm_location" and "cancel_location"

This is a command to end the selection: OMA

Code:
self endLocationSelection();

Another example, OMA ,(we select position and a magicbullet will fall in the position we selected): OMA

Code:
self beginLocationselection("map_artillery_selector",true,(level.mapSize/5.625));
self.selectingLocation = true;
self waittill("confirm_location",location,directionYaw);
self endLocationSelection();
self.selectingLocation = undefined;
trace = bullettrace(location+(0,0,100),location-(0,0,100000),true,self);
MagicBullet("ac130_105mm_mp",location,trace["position"],self);

A function I made that you can use to know if a player is using a location selector or not. OMA

Code:
isSelectingLoc()
{
    if(self.selectingLocation)
        return true;
    return false;
}

Artillery selectors:

Code:
map_artillery_selector
map_nuke_selector

What I would like to request is if can someone try this, I want to know how is the map_nuke_selector, is because I found once a shader of a nuke location selector cursor and I want to know if the selector menu is different or not:

Code:
self beginLocationselection("map_nuke_selector",true,(level.mapSize/5.625));

Thanks for reading, OMA


map_nuke_selector = [Image: 865F0D1DFC21451F474B53473E9CAEC3855B7379]
(10-22-2011, 14:42)Pozzuh Wrote: [ -> ]map_nuke_selector = [Image: 865F0D1DFC21451F474B53473E9CAEC3855B7379]

Thanks, Big Grin OMA for you
People have knew this since the early mw2 modding start :p

I didn't know about the map_nuke_selector though...
(10-22-2011, 14:50)Rendflex Wrote: [ -> ]People have knew this since the early mw2 modding start :p

I didn't know about the map_nuke_selector though...

We don't care about your knowledge, as long as we can spam something.
(10-22-2011, 15:01)4FunPlayin Wrote: [ -> ]
(10-22-2011, 14:50)Rendflex Wrote: [ -> ]People have knew this since the early mw2 modding start :p

I didn't know about the map_nuke_selector though...

We don't care about your knowledge, as long as we can spam something.

Orly, actually I learned this by one of your early posts on another forum...
You asked how to use that one, then people tried to figure out how you do that, then when they told you how, you made something such as a killstreak...
(10-22-2011, 15:08)Rendflex Wrote: [ -> ]
(10-22-2011, 15:01)4FunPlayin Wrote: [ -> ]
(10-22-2011, 14:50)Rendflex Wrote: [ -> ]People have knew this since the early mw2 modding start :p

I didn't know about the map_nuke_selector though...

We don't care about your knowledge, as long as we can spam something.

Orly, actually I learned this by one of your early posts on another forum...
You asked how to use that one, then people tried to figure out how you do that, then when they told you how, you made something such as a killstreak...

No flamewars on my section, Fuu
(10-22-2011, 15:08)Rendflex Wrote: [ -> ]
(10-22-2011, 15:01)4FunPlayin Wrote: [ -> ]
(10-22-2011, 14:50)Rendflex Wrote: [ -> ]People have knew this since the early mw2 modding start :p

I didn't know about the map_nuke_selector though...

We don't care about your knowledge, as long as we can spam something.

Orly, actually I learned this by one of your early posts on another forum...
You asked how to use that one, then people tried to figure out how you do that, then when they told you how, you made something such as a killstreak...

YEY YOU CAN CALL ME MASTER NOW
Master 4FunPlayin sounds nice
@Yamato it's like dragon ball.
(10-22-2011, 15:46)4FunPlayin Wrote: [ -> ]
(10-22-2011, 15:08)Rendflex Wrote: [ -> ]
(10-22-2011, 15:01)4FunPlayin Wrote: [ -> ]
(10-22-2011, 14:50)Rendflex Wrote: [ -> ]People have knew this since the early mw2 modding start :p

I didn't know about the map_nuke_selector though...

We don't care about your knowledge, as long as we can spam something.

Orly, actually I learned this by one of your early posts on another forum...
You asked how to use that one, then people tried to figure out how you do that, then when they told you how, you made something such as a killstreak...

YEY YOU CAN CALL ME MASTER NOW
Master 4FunPlayin sounds nice
@Yamato it's like dragon ball.

Yes, I am Son Goku
Why is he called Son Goku, in dragon ball he's called Goku, so why the Son?
Pages: 1 2