Raised This Month: $ Target: $400
 0% 

Entmoving


Post New Thread Reply   
 
Thread Tools Display Modes
Ingram
Veteran Member
Join Date: May 2004
Old 12-27-2007 , 07:17   Re: Entmoving
Reply With Quote #91

I actually just started working on this again a few days ago when I found out there is a working array module again. I haven't started on saving tho.

And by the way, its not unsupported, just unapproved.

Oh and it needs a cleanup.

Apparently I don't know anything about keytables... values are set when I don't set them. That or "afjkakjsdfjkajskfdjkakjsdf" is actually an ent variable. So now I gotta find another way to do this.

Last edited by Ingram; 12-27-2007 at 08:50.
Ingram is offline
Old 12-31-2007, 12:19
Ingram
This message has been deleted by Ingram.
Ingram
Veteran Member
Join Date: May 2004
Old 01-12-2008 , 14:45   Re: Entmoving
Reply With Quote #92

Posted Version 1.7, the changes are listed in the post. If anyone uses this plugin, I am taking suggestions for the next version.
Ingram is offline
Old 02-26-2008, 04:12
Voltron
This message has been deleted by Voltron.
Voltron
Senior Member
Join Date: Jun 2007
Location: Above the battlefield.
Old 02-26-2008 , 04:15   Re: Entmoving
Reply With Quote #93

Will this run with amxx 1.76d?
Because i'm getting a compile error:

fatal error 100: cannot read from file: "cellarray"
Voltron is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-26-2008 , 09:35   Re: Entmoving
Reply With Quote #94

No. cellarray is a 1.8 only file.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Ingram
Veteran Member
Join Date: May 2004
Old 02-26-2008 , 23:06   Re: Entmoving
Reply With Quote #95

I posted a link to the old version of entmoving. It doesn't need anything special, but if anything goes wrong with it, I probably won't be fixing it.

Heres the link as well: http://forums.alliedmods.net/showthread.php?t=2986
Ingram is offline
AdamR
Senior Member
Join Date: Dec 2006
Location: Cardiff, South Wales
Old 09-22-2008 , 18:48   Re: Entmoving
Reply With Quote #96

LOVE this plugin, but I have a question.

The SETKEY command, I'd like to be able to set keys on myself (rendermodes etc). Is this possible?

I see no easy way to find out what entity ID I am, and the command doesn't accept player names.
__________________
Thanks,

Adam Reece - Sven Co-op team.
AdamR is offline
Send a message via Skype™ to AdamR
Ingram
Veteran Member
Join Date: May 2004
Old 09-22-2008 , 22:53   Re: Entmoving
Reply With Quote #97

It can be used to set keys on yourself, but you could also use the render command if you wish.

There is actually an easy way to find out what ent number you are. Type status in console, the first column will say # x, where x is your ent number.

I hope that makes sense.
Ingram is offline
AdamR
Senior Member
Join Date: Dec 2006
Location: Cardiff, South Wales
Old 09-23-2008 , 11:54   Re: Entmoving
Reply With Quote #98

Hello Ingram,

Thanks for your quick response.

Looking at this piece of code you have to get an entity ID...
Code:
public getent (id, arg){
	new ent
	if (arg && read_argc() > arg){
		new entarg [64]
		read_argv(arg,entarg,63)
		if (isdigit(entarg [0])){
			ent=str_to_num (entarg)
		}else{
			new ents[1]
			find_sphere_class(id, entarg, 300.0, ents, 1)
			if (!ents[0]){
				console_print (id, "[AMXx] Ent Not Found")
				return 0
			}
			ent=ents[0]
		}
	}
	if (!is_valid_ent(ent)){
		if (!id)
			return 0
		new bodypart
		get_user_aiming (id,ent,bodypart)
		if (!is_valid_ent(ent)) 
			return 0
	}
	return ent
}
...perhaps a good idea would be to have if (entarg[0] == "@SELF") then entid = the player who did it. Just so it's easier for binds.

Also I tried taking both the # number and userid number in the status output, neither of them worked when trying to set a key on myself.
__________________
Thanks,

Adam Reece - Sven Co-op team.
AdamR is offline
Send a message via Skype™ to AdamR
Ingram
Veteran Member
Join Date: May 2004
Old 09-23-2008 , 14:10   Re: Entmoving
Reply With Quote #99

Well your right that it'd be a good idea to add it. I have been kicking myself more and more recently for not allowing you to put a person's name in for an ent. I do not know how often @SELF is used in plugins and would prefer to stick with whats common.

I ran outta ideas so I stopped working on the plugin, I don't know if anyone uses it anyway. If I ever start working on it agian, I'll try to remember to add the ability to use names.

As well I was sure that number in status worked... is there any chance you could post the command you used?
Ingram is offline
AdamR
Senior Member
Join Date: Dec 2006
Location: Cardiff, South Wales
Old 09-23-2008 , 14:35   Re: Entmoving
Reply With Quote #100

I've only seen @SELF once or twice. I think it was in TFC where you could also do @BLUE, @RED, @YELLOW, @GREEN, and @ALL for teams/everyone too. Sticking to the traditional target method is best.

It is used A LOT on ALL my servers, EXTREMELY useful btw.

amx_ent_setkey is what I'm trying to use.
__________________
Thanks,

Adam Reece - Sven Co-op team.
AdamR is offline
Send a message via Skype™ to AdamR
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode