AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Middle Origin (https://forums.alliedmods.net/showthread.php?t=193506)

Merciless 08-19-2012 23:04

Middle Origin
 
Hello;

For the bomberman I need a middle origin system.
So if you drop a bomb, it goes in the middle of a point

http://i49.tinypic.com/30aqh6h.png

So the black are boxes and white is free space.
(The rest information u see on the picture)


Thanks!
Bcs this is in my eyes pretty hard to make.
I would pay if needed. (bcs I rlly need it)

Alka 08-20-2012 04:40

Re: Middle Origin
 
1 Attachment(s)
All i can think now it's the middle origin between walls | * | (align from left to right), anyway you can do this shooting multiple traces from players origin and check for the smallest distance (check the attached image), then take the middle point

Merciless 08-20-2012 11:55

Re: Middle Origin
 
Hmm I maybe better posted this in Requests :p


All times are GMT -4. The time now is 05:46.

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