Forum

> > CS2D > General > Map Editor help?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Map Editor help?

4 replies
To the start Previous 1 Next To the start

old Map Editor help?

KaBooMa
User Off Offline

Quote
Hey guys, New to forum so im not sure if i have this in the right place...but i have been working on a map called Zm_HoldOff and its going pretty good...i got to where i need to add info_botnodes and stuff...also this is a zombie mode map if that matters...i want to make the zombies come in and look in all parts of the building. without botnodes i had it where they just rush in and if your the last man and your in one of the places away from ct spawn they cant find you. how would i manage getting some botnodes to make them look in the spots? like look in a boxed area? thanks for any help i can get. its driving me crazy

hey i also just seen that if your in the boxed in area they will stop when they see you and just attack :S i was wondering if theres a solution or do i got to get rid of the door?
edited 1×, last 28.07.10 04:19:16 am

old Re: Map Editor help?

ohaz
User Off Offline

Quote
First thing: Bots can't use doors. Having doors in maps might get you some really strange behaviour.
Second: Just put BotNodes to places where they should go to more often. A botnode just increases the chance that a bot will go there. Nothing more to be done

old Re: Map Editor help?

Phenixtri
User Off Offline

Quote
Is it possible to create a lua to "boost" bots AI ? Like say so they can use teleports & doors & or break walls exc. ? Maybe in the next version of CS2D will address this issue with bot AI (or lack there of at times >>).

old Re: Map Editor help?

ohaz
User Off Offline

Quote
In the next version DC wanted to completely switch the AI to a Lua based one. So then you can "boost" it, as you said

old Re: Map Editor help?

KaBooMa
User Off Offline

Quote
hey thanks alot now im trying to find out how to add a teleport in lua. i got a rpg and i made teleports at 0, 49 and so on. if you got the money you can type !1 or !2 to buy house 1 or 2 and when you buy house 1 i need it to teleport to 0, 49. the game has a teleporter at 0, 49 that takes the player to the house. from there it will be unlockable

any ideas on teleport with lua?


Amazing!! i did it! anyone wanting code here it is

addhook("say","say_drop")
function say_drop(id,txt)
     if (txt=="!b1") or (txt=="!B1") then
parse ("setpos "..id.." ".."32".." "..1568)
     end
end

it says if you say !b1 or !B1 you will be teleported to the bottom left where i place a teleporter and be telelported to the house

now im going to add money check :p so it sees if you got the money for home
edited 1×, last 28.07.10 01:50:04 pm
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview