• Shoutbox
    Active Users: 0
     
  • Notice: N/A
    Loading...
 
  • Active Users
     
  • There are currently no users chatting.
 
Results 1 to 5 of 5
  1. #1
    Administrator Major_A's Avatar
    Join Date
    Jul 2016
    Location
    Huntington, IN USA
    Posts
    391
    Trophies
    Blog Entries
    15

    Weapon Select Mod

    I need to know if anyone has changed the weapon select mod or knows how to put the weapons in a grid pattern.

    Not vertical like it is.

    4 seems to be the max height and idk how to make it wider into a grid and I have many more to add.

    Even adding menus MIGHT be an option.



    Last edited by Major_A; 02-03-2018 at 06:27 AM.



  2. #2
    To put the way you whant you have to change on this part on the Choose_weapon.scr:

    Code:
    	for(local.i=1;local.i<=local.array.size;local.i++)
    		{
    		local.menu[local.i] = spawn trigger_clickitem
    		local.menu[local.i].secondary = local.array[local.i][2]
    		local.menu[local.i] light 1 1 1 10
    		local.menu[local.i].origin = local.position
    		local.position = (local.position + ( 0 0 1))
    		local.menu[local.i].player = local.player
    		local.menu[local.i] setthread choose
    		local.menu[local.i] model local.array[local.i][1]
    		local.menu[local.i] scale .04
    		local.menu[local.i] setsize ( -1 -1 -0.5 ) ( 1 1 0.5 )
    		local.menu[local.i] show
    		local.menu[local.i].angles = ( 180 ( local.player.angle + 90) 0 )
    		if(level.weapon_spin != NIL)
    			local.menu[local.i] thread rotatez
    		}
    And to add more weapons you have to change the weapons array.

  3. #3
    Administrator Major_A's Avatar
    Join Date
    Jul 2016
    Location
    Huntington, IN USA
    Posts
    391
    Trophies
    Blog Entries
    15
    I figured it was that spot, I guess I have to figure out the right combination as when I change something, the button doesn't work right lol

    For anyone else I cant find the mod in the DB with a search for weapon select It doesn't show so just in case here it is
    https://www.dropbox.com/s/j6dzt1re5d...-new2.pk3?dl=0



  4. #4
    Administrator Major_A's Avatar
    Join Date
    Jul 2016
    Location
    Huntington, IN USA
    Posts
    391
    Trophies
    Blog Entries
    15
    I do have a question though, is there anything in legs that can cause server lag if you've done any added weapons?
    I'm asking because of recent server tests.

    Things works great at home and with a few people on server, more people show up and maps go crazy laggy.

    I've not really looked through legs file much thinking it would not be relevent to weapons, not saying there couldn't be typos someplace, just asking ahead of time b4 I look for stuff.

    Tonights server files & clients...
    client needs LP_Weapons and Enhancment file
    Server needs Weapons and weapon select file

    https://www.dropbox.com/s/ikwzr2mlus...at-WS.pk3?dl=0
    https://www.dropbox.com/s/b1xyahxnec...2a-LP.pk3?dl=0
    https://www.dropbox.com/s/dddhmes73p...V3.19.pk3?dl=0

    I mentiod to someone that
    "now that I think about it, there might be some things in player base I did that weren't needed, but I did it along time ago trying to get crossbows to work."

    The enhancements file is client only junk and not on the server.

    Noteing to self or anyone esle b4 I goto bed b4 I forget what happened tonight.
    Last edited by Major_A; 02-04-2018 at 05:58 AM.



  5. #5
    If you could send a log from the server would be nice because i can see on the log if shows something wrong on the server to cause that lag.

    Send the log by PM because have sensitive info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •