Results 1 to 9 of 9

Thread: weapons from .d3dbsp

  1. #1
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts

    weapons from .d3dbsp

    how get array of weapons from map?

    example?:
    PHP Code:
    weapons getentarray("weapon""classname"); 
    [problem]
    precacheItem limit: 64
    my scripts precacheitems: 64
    but someone maps have weapons from mapper => items more 64 => bugggggggs
    i want delete all weapons, which not precached from my scripts
    [/problem]
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  2. #2
    Corporal voron00's Avatar
    Join Date
    Nov 2014
    Posts
    248
    Thanks
    64
    Thanked 216 Times in 116 Posts
    Maybe hex edit the bsp and remove those weapons.
    Last edited by voron00; 7th January 2019 at 13:04.
    sudo apt-get rekt

  3. #3
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    I need to make a decision that will work on all maps
    + I need to remove not all weapons, but only those that I did not register in the scripts
    if the weapon is on the map and is in my scripts - it remains
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  4. #4
    Private
    Join Date
    Jan 2019
    Posts
    15
    Thanks
    4
    Thanked 2 Times in 2 Posts
    It depends what you understand by saying all maps
    I have about 210 maps on 400 Mb with 29 random weapons and 24 fast options and with 15 weapons you can buy for money and 20 weapons blocked or changed for another model and blocked.
    The best way is to block weapons you don't need or change for another model to get a new aspect.
    If you want to see it let me know.

  5. #5
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Track down the function which actually parses the entity text in d3dbsp and just filter the items/weapons via libcod (maybe add gsc parse entity callback for the gsc-only developers)
    timescale 0.01

  6. #6
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by stoiczkow View Post
    It depends what you understand by saying all maps
    I have about 210 maps on 400 Mb with 29 random weapons and 24 fast options and with 15 weapons you can buy for money and 20 weapons blocked or changed for another model and blocked.
    The best way is to block weapons you don't need or change for another model to get a new aspect.
    If you want to see it let me know.
    Interesting, tell here
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  7. #7
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by kung foo man View Post
    Track down the function which actually parses the entity text in d3dbsp and just filter the items/weapons via libcod (maybe add gsc parse entity callback for the gsc-only developers)
    yes, callback for "spawn" items on map - good

    main problem: weapons and map lists: constantly changing and very problematic to keep track => therefore, the file .d3dbsp editing option is not suitable
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  8. #8
    Private
    Join Date
    Jan 2019
    Posts
    15
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by maxdamage99 View Post
    Interesting, tell here
    Come and see here; connect 137.74.7.15:25076.

  9. #9
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by stoiczkow View Post
    Come and see here; connect 137.74.7.15:25076.
    Last edited by maxdamage99; 9th January 2019 at 06:22.
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

Posting Permissions

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