Results 1 to 6 of 6
  1. #1
    aresdGHERhgerdherhrh's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    107
    Reputation
    30
    Thanks
    521

    Drawing Invisible Barriers?

    Hey guys,
    I'm wanting to draw the invisible barriers of the map to help with jump spots, etc. Anyone have any ideas of how to go about this? On mapping sites it says the barriers are made from a clip texture so I was thinking maybe changing the definitions of that would work? Not exactly sure how chams work but could clips be drawn using the same concept? Any help is appreciated!

  2. #2
    niko1921's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Location
    mov Location, eax
    Posts
    130
    Reputation
    36
    Thanks
    261
    i thinks that it have a unique entity number as all entities,

    try drawing all entities, doing something like this:


    Code:
    #define MAX_ENTITIES 2048 // I think there are more entities.
    
    #define ENTITY_OFFSET 0x0 // Your main entity offset
    #define ENTITY_SIZE 0x0 // Your entity size offset.
    
    void DrawAllEntities()
    {
    	char buff[128];
    	for(int i = 0; i < MAX_ENTITIES; i++)
    	{
    		vec2_t py; // pitch, yaw...
     
    		Entity_t* entity = (Entity_t*)(ENTITY_OFFSET + ((int)ENTITY_SIZE * i);
    		// then draw
    		sprintf_s(buff, sizeof(buff), "^5Entiy number: %d", entity->Type); // i thinks that you know that it does...
    		WorldToScreen(entity->origin, py); // origin, pitch, yaw,
    		DrawTextCommonText(py[0], py[1], 1, buff); // pitch, yaw, size of text, buffer...
    	}
    }
    I can not think of another way to do it...
    Last edited by niko1921; 03-02-2017 at 06:46 PM.


    f*ck you
    Code:
    __usercall
    !

  3. #3
    aresdGHERhgerdherhrh's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    107
    Reputation
    30
    Thanks
    521
    Quote Originally Posted by niko1921 View Post
    i thinks that it have a unique entity number as all entities,

    try drawing all entities, doing something like this:


    Code:
    #define MAX_ENTITIES 2048 // I think there are more entities.
    
    #define ENTITY_OFFSET 0x0 // Your main entity offset
    #define ENTITY_SIZE 0x0 // Your entity size offset.
    
    void DrawAllEntities()
    {
    	char buff[128];
    	for(int i = 0; i < MAX_ENTITIES; i++)
    	{
    		vec2_t py; // pitch, yaw...
     
    		Entity_t* entity = (Entity_t*)(ENTITY_OFFSET + ((int)ENTITY_SIZE * i);
    		// then draw
    		sprintf_s(buff, sizeof(buff), "^5Entiy number: %d", entity->Type); // i thinks that you know that it does...
    		WorldToScreen(entity->origin, py); // origin, pitch, yaw,
    		DrawTextCommonText(py[0], py[1], 1, buff); // pitch, yaw, size of text, buffer...
    	}
    }
    I can not think of another way to do it...
    Hmmm I think the're actually part of the map like walls and stuff as they're not dynamic or anything but I'll give your method a go and see what happens when I get on next. Thanks man!!

  4. #4
    gerherhtherherdhher's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    171
    Reputation
    26
    Thanks
    900
    My Mood
    Sad
    Quote Originally Posted by SamTheDope View Post
    Hmmm I think the're actually part of the map like walls and stuff as they're not dynamic or anything but I'll give your method a go and see what happens when I get on next. Thanks man!!
    No need, walls are not entities lol.

  5. The Following User Says Thank You to gerherhtherherdhher For This Useful Post:

    aresdGHERhgerdherhrh (03-03-2017)

  6. #5
    ImMalkah's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,779
    Reputation
    370
    Thanks
    2,699
    My Mood
    Devilish
    Has your issue been solved?

    MPGH HISTORY:

    Registered Since 4-23-2013
    Editor 09-04-2013 - unknown
    Minion 10-22-2013 - 1-18-2014
    Donator 12-31-2014 - present
    Premium Seller 12-31-2016 - present
    Minion 03-15-2017 - I forgot

  7. #6
    Silent's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    5,070
    Reputation
    2172
    Thanks
    8,474
    My Mood
    Bitchy
    bump .
    Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!











    dd/mm/yyyy
    Member - 31/01/2015
    Premium - 12/09/2016
    Call of Duty minion - 05/11/2016 - 05/11/2019
    BattleOn minion - 28/02/2017 - 05/11/2019
    Battlefield minion - 30/05/2017 - 05/11/2019
    Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
    Publicist - 07/11/2017 - 02/08/2018
    Cock Sucker - 01/12/2017 - Unknown
    Minion+ - 06/03/2018 - 05/11/2019
    Fortnite minion - 08/05/2018 - 05/11/2019
    Head Publicist - 08/10/2018 - 10/01/2020
    Developer Team - 26/10/2019 - 10/01/2020
    Former Staff - 10/01/2020



Similar Threads

  1. [Drawing] Cool, Cute, and Funny drawing from 2012
    By Nathalie in forum Art & Graphic Design
    Replies: 4
    Last Post: 06-16-2014, 02:57 AM
  2. [Drawing] Drawing Pad
    By Rance-Llama in forum Art & Graphic Design
    Replies: 7
    Last Post: 05-11-2014, 02:34 AM
  3. [Drawing] Can someone hand draw this
    By Observation in forum Help & Requests
    Replies: 0
    Last Post: 10-10-2013, 02:54 PM
  4. [Help Request] Removing Invisible Barriers (not No-Clip)
    By sullydude in forum Call of Duty Modern Warfare 3 Help
    Replies: 8
    Last Post: 12-14-2012, 04:56 PM
  5. [Help] Nazi Zombies Invisible Barrier Glitch.
    By Rependant- in forum Call of Duty 5 - World at War Hacks
    Replies: 5
    Last Post: 06-21-2010, 03:01 PM

Tags for this Thread