Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Location Selection
#1
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


Reply

#2
map_nuke_selector = [Image: 865F0D1DFC21451F474B53473E9CAEC3855B7379]
[Image: MaEIQ.png]
Reply

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

Thanks, Big Grin OMA for you
Reply

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

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

#5
(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.
[Image: 1fxsnb.jpg]
Reply

#6
(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...
Reply

#7
(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
Reply

#8
(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.
[Image: 1fxsnb.jpg]
Reply

#9
(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
Reply

#10
Why is he called Son Goku, in dragon ball he's called Goku, so why the Son?
[Image: 1fxsnb.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Teleporting via Flags/Origin/Location yokai134 2 2,948 09-06-2012, 12:19
Last Post: yokai134
  Distance(self.origin, location) not working? xplosiff 3 3,260 01-05-2012, 17:39
Last Post: xplosiff
  [Release] BF1942 Class Selection Menu Style Yamato 14 9,067 12-30-2011, 18:01
Last Post: GscGunner
  Help spawning objects and getting your location koil 7 4,332 08-09-2011, 23:05
Last Post: koil
  changing in - game chat location koil 6 3,412 07-31-2011, 20:14
Last Post: koil
  Removing Class Selection Screen thre3pi 5 3,281 06-27-2011, 00:55
Last Post: koil
  The location a bullet comes from? iAegle 7 4,295 06-07-2011, 18:52
Last Post: iAegle
  [Tutorial] Create an effect at a specific location + Fx List alistair3149 8 5,636 02-22-2011, 16:13
Last Post: Nekochan
  [Tutorial] Play Sound at a specific location alistair3149 10 5,983 12-23-2010, 16:05
Last Post: alistair3149
  Fixing Quickscope - Perk location Eekhoorn 2 2,585 12-22-2010, 19:13
Last Post: Eekhoorn

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.