EOSERV Forum > Programming > How to make items do other things?
Topic is locked.
Page: << 1 >>
How to make items do other things?
Author Message
Post #142095 How to make items do other things?

I was wondering what would i put to make certain items that are potions do other stuff like spawn an npc maybe :o

And it would read from a config file to know what items did it ;.; I might not be describing this accurately. Let me know if i need to describe it more. 

14 years, 6 weeks ago
Post #142099 Re: How to make items do other things?


I wont tell you directly because thats the easy way out for you but heres some tips

youre gunna have to learn at least the basics of c++ and then from there study codes search the forums for guides there are heaps just follow them carefully

then improvise with what you know and have

 

---
"With your feet steady and firm on the ground soar high and ignore limitations"  -Bladex
EOSERV Class : Pixel Artist, Grammar Nazi, Server Owner, Mapping Artist, Server Coder, Test Player,
The Game Maker
14 years, 6 weeks ago
Post #142128 Re: How to make items do other things?

Blade does have a point. The codes are out there, they just need updated.   Try studying the errors you get off compiling.
:P This sounds harder than it actually is.

Also the changelog on the Rev's might be of some use if you are really really basic at this. xD ( Just figure out what rev the code was meant for)

14 years, 6 weeks ago
Post #142146 Re: How to make items do other things?


You should be able to add a code in item.cpp wherever the handler for the click event is.

---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
14 years, 6 weeks ago
Post #142160 Re: How to make items do other things?

Yea, I know how to do input and output with files in c++ but codeblocks does everything different ;.; thanks though :3 I'll check out some of the older scripts that do it. I didnt think about doing that. :P

14 years, 6 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Programming > How to make items do other things?