ItsMods
[Tutorial] Location Selection - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Tutorial] Location Selection (/Thread-Tutorial-Location-Selection.html)

Pages: 1 2


Location Selection - Yamato - 10-22-2011

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





RE: Location Selection - Pozzuh - 10-22-2011

map_nuke_selector = [Image: 865F0D1DFC21451F474B53473E9CAEC3855B7379]


RE: Location Selection - Yamato - 10-22-2011

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

Thanks, Big Grin OMA for you


RE: Location Selection - Rendflex - 10-22-2011

People have knew this since the early mw2 modding start :p

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


RE: Location Selection - 4FunPlayin - 10-22-2011

(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.


RE: Location Selection - Rendflex - 10-22-2011

(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...



RE: Location Selection - Yamato - 10-22-2011

(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


RE: Location Selection - 4FunPlayin - 10-22-2011

(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.


RE: Location Selection - Yamato - 10-22-2011

(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


RE: Location Selection - 4FunPlayin - 10-22-2011

Why is he called Son Goku, in dragon ball he's called Goku, so why the Son?