The following warnings occurred:
Warning [2] Undefined variable $search_thread - Line: 60 - File: showthread.php(1617) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1617) : eval()'d code 60 errorHandler->error_callback
/showthread.php 1617 eval
Warning [2] Undefined variable $forumjump - Line: 89 - File: showthread.php(1617) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1617) : eval()'d code 89 errorHandler->error_callback
/showthread.php 1617 eval




Roll Combat Movement
#16
Nah, that one's crap. Try this one instead!

Spoiler:
Code:
origin = {}
origin2 = {}
zoom = 100

origin[1], origin[2] = GetPlayerMapPosition( "player" )

origin2[1] = origin[1]
origin2[2] = origin[2]

origin[1] = origin[1] * zoom
origin[2] = origin[2] * zoom

origin2[1] = origin2[1] * zoom
origin2[2] = origin2[2] * zoom

origin2[1] = origin2[1] % 1
origin2[2] = origin2[2] % 1

origin[1] = origin[1] - origin2[1]
origin[2] = origin[2] - origin2[2]

print( "Location: ","(", origin[1],",", origin[2],")" )
Reply
#17
Sweet! works perfect Nexus. So what is the next step?
Reply
#18
Next step is perhaps the hardest. We have to make this into an addon.

The features of said addon must include at the very least:

- Permanent display of current user location on the screen that changes as the user's position changes.

The rest sounds a bit ambitious, but if we can I would like to see if we can include these features as well:

- Graphical user display ( GUI ) that will display the coordinate locations of the other participants with respect to the player.

- Option to have a DM set the map scale.

- Ability to display the player's and the participants stats and current HP.

- Visual graph either on the minimap, world map, the terrain itself, or some combination of these.

I'm sure we'll think of more things we can stuff in there! XD
Reply
#19
Alright if the GUI is next you need to check this out http://addonstudio.codeplex.com/Wikipage
Reply
#20
DuskWolf Wrote:Alright if the GUI is next you need to check this out http://addonstudio.codeplex.com/Wikipage

Have you actually made that thing work? It hates me. I swear I've tried downloading it at least three times, and each time it gives me an error during installation. :(

Also, something we should start thinking about now rather than later, is the rule set for the use of this addon.

I was thinking we could find a good deal of inspiration from:

Encumberance Effects and You.

Realistic Combat for Dummies.

Doing Damage: A Quick Reference Guide.

Sacrilege of Fatal Arms: A Guide to Armor and Weapons.

As well as every guide in the Class Related section of the Articles and Guides forum.
Reply
#21
Yes yes I have got it working, I think you might have to download something else first, it need something like eclipse first.

*points up* remember my sticky up there might be a good starting point. Also I have another system that I been writing down called Gladiator d20. I will be posting it up very soon, it might have some good ideas. But as for movement don't really have anything yet. Also I will be loking at those guides.

With our powers combined (and any one else that wants to join in) I am sure we can revolutionize RP combat.
Reply
#22
I've been working on a D20 system for Text RP combat for a while now, if you want we could swap notes or something or I could try to help as im well versed in table top combat.
[Image: badge.jpg]
I am Shaman - Play Free Online Games
Reply
#23
DuskWolf Wrote:Yes yes I have got it working, I think you might have to download something else first, it need something like eclipse first.

I found this site here to download Eclipse, but I'm not sure which to download. The second one down -looks- like it'd be the one, but I don't know... Your thoughts?

coreypotter585 Wrote:I've been working on a D20 system for Text RP combat for a while now, if you want we could swap notes or something or I could try to help as im well versed in table top combat.

Why of course! As this is an addon that is meant to benefit everyone on CoTH, it would make sense that we would want everyone's input on the direction we should take!
Reply
#24
Check out this page http://addonstudio.codeplex.com/releases/view/22870

Quote:!!Installation Notes
If the AddOn Studio installation fails, please try installing the Visual Studio Shell from the link below:
Visual Studio Shell - http://mschnlnine.vo.llnwd.net/d1/coding...ed.enu.exe

Eclips must have been for something else, it is Visual Studio you need
Reply
#25
WoW Addon Studio reminded me why I hate Visual Basic so much.

Why am I getting this:

I can't get the frames to display anything. Regardless of what I add, it shows up as a thinly-bordered box. And that stupid Blood Elf background is making me nauseous.

Spoiler:
[Image: Untitled2.png]

Instead of this:

These frames are what I was expecting.

Spoiler:
[Image: Untitled-9.png]

I installed all those programs this page told me to install, save for Visual Studio 2008 as I can't find one I don't have to purchase to use. I did install the Visual Studio shell you mentioned earlier that would allow me to install the addon maker without error, but I guess that isn't the same thing. /shrug

Must be some option I keep overlooking.
Reply
#26
I think I got an idea why it is like that. I just noticed it was doing the exact same thing to me too. I have resonantly moved my wow folder. I think it uses a bit of the graphics from WoW its self. It must not be picking it up some how.
the blood elf is make me nauseous too
Reply
#27
So I thought of this absolutely GENIUS idea:

Put the WoW installation CD into your CD/DVD drive and hit "Install". Before it does so, it'll prompt you for the destination, but the one they give you is the default one. So it's simply a matter of moving your World of Warcraft folder into that directory!

So that's what I did, and guess what happened.

Nothing. QQ

Yep, still not working properly.

/sigh
Reply
#28
It seems I have discovered a potentially fatal flaw in our coordinate conversion algorithm. The sizes of our squares differ from territory to territory.

The following screen shots were taken with zoom x 750:

Elwynn Forest:

Spoiler:
[Image: Measure1.png]

Duskwood:

Spoiler:
[Image: Measure2.png]

Westfall:

Spoiler:
[Image: Measure3.png]

The three above are exactly the same if we allow for a slight error on my part when marking the border, but the next ones are by no means a mistake.

Darkshore:

Spoiler:
[Image: Measure4.png]

Shattrath City:
Spoiler:
[Image: Measure5.png]

Terrokar Forest:

Spoiler:
[Image: Measure6.png]

What this means is that X number of moves allowed will result in a varying level of distance traveled depending on the territory the battle is taking place. I suppose this makes sense as, for example, Terrokar Forest is far larger than Shattrath City, and so traversing that territory would take far longer than traversing Shattrath, but what doesn't make sense is that for such a larger place -more- distance is traveled per move than the smaller. It should be the exact opposite.

A simple solution is for a DM to determine the proper scale to use for the battle, change the zoom variable accordingly, and give out the new GHI item to the participants. Once we've managed to make this into an addon, we can simply add a switch statement that will automatically assign a value to zoom depending on the territory the user is in that will cause the squares in that territory to have the exact same dimensions as the squares in any other. It's going to be ridiculously tedious, but we'll manage!
Reply
#29
Ah-ha!

This one is working lovely. Should have a basic coordinate addon finished within a week.

We're getting there!
Reply
#30
A week? Nah... gimme a day.

[attachment=0]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Intuitive Rolling Combat Rules [WIP] DuskWolf 7 2,042 08-15-2010, 10:37 PM
Last Post: DuskWolf



Users browsing this thread: 1 Guest(s)