Re: Custom Commands for maps
Posted: March 5th, 2020, 4:41 pm
they already cam out with 2 more versions :/ newest is 52, can i add you on dc or something and see how you do this?Vincent0001 wrote:.
they already cam out with 2 more versions :/ newest is 52, can i add you on dc or something and see how you do this?Vincent0001 wrote:.
Lol. Of course you wont find anything because you didn't implement my custom command function.Auregon wrote:I did a ctrl+f search for cc_ and CC_commands and got nothing. searching for just cc makes it show up in code like cfffcc00Cant use this item etc.nuzamacuxe wrote:Dude. You misunderstood what I said. I said to change only the ones inside of function CC_Commands. You simply broke the map doing what you did.
apologies for misinterpreting that, sounds good thank you. I'll let you know how it works outnuzamacuxe wrote:Lol. Of course you wont find anything because you didn't implement my custom command function.Auregon wrote:I did a ctrl+f search for cc_ and CC_commands and got nothing. searching for just cc makes it show up in code like cfffcc00Cant use this item etc.nuzamacuxe wrote:Dude. You misunderstood what I said. I said to change only the ones inside of function CC_Commands. You simply broke the map doing what you did.
The integer which I mentioned you'll have to find them in every new version of that map because they optimize the code. I already gave you the hint. It's simple: Use the version which I provided; look for the integers used to make you the evil one; compare with the new version to find where they are; Copy my custom command function; Change the old integers inside of it with the new ones; Profit.
hmmm I moved the command around but the same effect. also double checked integers. I attached the j file if you want to see.nuzamacuxe wrote:You did something wrong. Maybe you forgot to add something. Please recheck what you did.
Ok I added call CC_Init() after the line InitS2RAW() and I believe I got it working. Thank you for helping me.nuzamacuxe wrote:You forgot to add: call CC_Init() inside of function main takes nothing returns nothing.