Movement

  • Thread starter Thread starter DeOakenfold
  • Start date Start date
D

DeOakenfold

Guest
I am making a DOTA type solo game as well and have no idea what it is that I’m doing ... I am at the point that I’m having the non-player characters move from region to region but I want to make sure that when my Hero enters the region they don’t follow the path that I created for the non-player characters.

That’s where I’m at as of now.

More Q's to come ...
 
use this condition

player comparison - owner of triggering unit is not player x
 
Thanks,

but now i have run into another problem... the spawns arent moveing ... whats the commmand to get them to move from gen to gen
 
crap...

I'm using a mac ... I can't downloat that attachent ...
so I guess ...
I can get them to spawn just fine its the moveing after that I can't get down ... is there any way I could get an writen explnation or at least a direction to go In...
 
New Idea For A Hero

Ok, Here is a long shot.

I want to creat a 3 or 4 step groth in the hero as they level... (i.e. A Nightelf Runner is the first spawn. at level 5 the forn changes into something more advanced a lvl 10 it happens again.) perhaps even a way to have the player choose the upgrade level to level, each level the outcome is different.

is there a way to do this and is there something to help me figure out how to do this.

its a long shot I know but I though it would be a neat idea.

P.S. i have access to a pc now ... so please post a map if you need to. and again like I said ... more Q's to come, you poeple are a great help thankyou.
 
one more thing for now

I remember reading some where on a thered that you can have the comp creat a hero something haveing to do with the varible 1-4 or something.
i looked for it and couldnt find it otherwise i wouldnt have asked again.


and thanks again
 
Its not that tough - but its a LOT of programming tecnique.

Really you just need a trigger to handleing the level up.

When the hero levels, if its 5, or 10, remove the hero and spawn the new one. Don't forget to keep track of what items they had.

You could create some unit arrays to store which heros spawn into which, and arrays to temporarily store the items for them.

I'd write some triggers for you when I got home, but I train tonight and I have surgery tomorrow, so I won't be available for a while.

So, roughly, off the top of my head, try something like this.

For a equals 1 to 4 (max number of heros in array)
{
If (triggering unit) type = Our_Heros[A] then do multiple actions
{
For b equals 1 to 6
{
Our_Items = inventory slot of (triggering unit)
}
Remove triggering unit from the game
Create 1 New_Heros[A] for owner of (triggering unit)
For b equals 1 to 6
{
Give unit item Our_Items
}
} Else do nothing
}
 
Writing Code

is there a way to do it with the pre-set codeing they have in the game or am i going to have to write it on my owne ... cuz if i have to wing this on my owne we're screwed, i dont write code very well.

Please check corect box

[ ] yes, it's in there you just have to look for it.
[ ] no, give up you poor bastard
 
Re: Writing Code

Originally posted by DeOakenfold
is there a way to do it with the pre-set codeing they have in the game or am i going to have to write it on my owne ... cuz if i have to wing this on my owne we're screwed, i dont write code very well.

Please check corect box

[ ] yes, it's in there you just have to look for it.
[x ] no, give up you poor bastard
 
crap

ok ... well ... I'll try something new.

I must say that the map is comming along nicely ... its doesnt look all that great but its acting like a real DOTA map now!:)
 
CREEP HERO SPAWN

i still need help getting the creep to spawn a hero, and get the creep to randomly pick it.

if you have time.
 
Leveling-up like a mofo

Thank you very much!

but ... now how do i connect the spicific unit to another (there are going to be a couple) and transfer lvl info and almost the same hero but with a different body?
I'll give it a try ... but any hints you have would be great.
 
damn man....

If you notice, they keeper and the paladin follow different paths... you'll have to add to the array as necessary, and customize it. Just change the conditions to see if the hero is allowed to "UP" a class.

To transfer LEVEL, just STORE the level of the hero into a variable, then GIVE the level to the new heros. Just like I did for the items.
 
Level array

i cant seem to figure out how to save the lvl as a varable .... 90 min later ... still confused
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Hey Ghan, whatever cron job its part of its not running its been the same for days. If it does not work can we remove it?
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1

The Helper Discord

Staff online

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top