spawn object

Discussion in 'Scripting' started by darksoul, Apr 14, 2004.

  1. tltrude Private

    Contributions:
    27
    whereami 1

    If you type "whereami 1" in the console, the coordinates of your feet (player's origin is at his feet) will be displayed in the console as you move around--even in spectator mode.

    "whereami 0" turns it off.
  2. darksoul Corporal

    Contributions:
    1
    Specialties:
    Scripting
    Processing:
    Graphics:
    ok then do i have to put this in my mohaa shortcut even though my console is aleady showing when i go into mohaa
    ("C:\Program Files\EA GAMES\MOHAA\MOHAA.exe" +set ui_console 1)
    other than that whereami 1 doesn't work for me
    no numbers anywhere
  3. tltrude Private

    Contributions:
    27
    game

    No, you type it in during a game. The ~ key brings up the console. You just leave the console open and move it up to the top of the screen. It wont show any numbers until you start moving. Your shortcut should have +set developer 1 in the target line. Here is what mine looks like.

    "C:\Program Files\EA GAMES\MOHAA\MOHAA.exe" +set cl_playintro 0 +set ui_skip_eamovie 1 +set ui_skip_titlescreen 1 +set ui_skip_legalscreen 1 +set developer 1 +set ui_console 1
  4. darksoul Corporal

    Contributions:
    1
    Specialties:
    Scripting
    Processing:
    Graphics:
    thank you tltrude
    i just copyied your shortcut and it worked
    ~thanks
  5. darksoul Corporal

    Contributions:
    1
    Specialties:
    Scripting
    Processing:
    Graphics:
    yet another question i spawnd a german elite sentry and he is finally moveing around but he doesn't shoot . just when you get close he bashes but you don't see it and i bring up console it says alot of unknown animations and when he is moving around it says
    ^~^~^ (entnum 73,radnum -1,targetname ") cannot reach hie leash home
    what is that ?

    *and these angles are a pain lol i'm trying to get the tripod right. on 2

    _______^_________ <--say thats the railing

    ( ^ ) <-- that bing the tripod and you want the tripod on the line
    instead of it being straight -(want it sideways)

    ** and on another railing where i want the tripod there is a angle ^ ( <--that being the angle) so you want the tripod legs on the side of the angle

    *** and correct me if i'm wrong but is local.mg422 yawCenter -90 where you can change the movement from side to side longer so your not restricted to where you can shoot ?
    Code:
    local.mg422 = spawn models/statweapons/mg42_gun.tik
    local.mg422.origin = ( 965 2464 740 ) //+65 above railing
    local.mg422.angle = -90 
    local.mg422 yawCenter -90
    local.mg422 maxyawoffset 40// OR 50
    local.mg42B = spawn script_model
    local.mg42B model "statweapons/mg42_bipod.tik"
    local.mg42B.origin = ( 965 2464 738 )
    local.mg42B.angles = ( 0 0 0 )
    local.mg42B solid
  6. Dr@ke Private

    Contributions:
    5
    if you dont set any yaw you can spin 360 on a mg42. its quite funny.
    thw two commands i use are...
    'coord' which gives the coordinates at the bottom of your person (feet).
    'viewpos' which gives the coordinates of your view.

    Dr@ke
  7. darksoul Corporal

    Contributions:
    1
    Specialties:
    Scripting
    Processing:
    Graphics:
    i set
    Code:
    local.mg422 yawCenter -90 To
     local.mg422 yawCenter 0  
    and it didn't do anything.
    do you got to have the tripod setup right 1st?
    cause getting the tripod right is being a pain to get right (for me anyway)
  8. darksoul Corporal

    Contributions:
    1
    Specialties:
    Scripting
    Processing:
    Graphics:
    how can i get the animations to work so my guy can seek and kill
    similar to the dog one?
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page