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:.
Custom Commands for maps
Moderator: Cheaters
-
- Junior Member
- Posts: 32
- Joined: January 14th, 2019, 8:32 pm
Re: Custom Commands for maps
You do not have the required permissions to view the files attached to this post.
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 7 times
Re: Custom Commands for maps
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.
-
- Junior Member
- Posts: 32
- Joined: January 14th, 2019, 8:32 pm
Re: Custom Commands for maps
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.
-
- Junior Member
- Posts: 32
- Joined: January 14th, 2019, 8:32 pm
Re: Custom Commands for maps
So i figured it out and added the your line of code. however, the command doesn't work in game. the game doesn't crash though which is a good sign but the command -wevil does not work.
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 7 times
Re: Custom Commands for maps
You did something wrong. Maybe you forgot to add something. Please recheck what you did.
-
- Junior Member
- Posts: 32
- Joined: January 14th, 2019, 8:32 pm
Re: Custom Commands for maps
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.
You do not have the required permissions to view the files attached to this post.
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 7 times
Re: Custom Commands for maps
You forgot to add: call CC_Init() inside of function main takes nothing returns nothing.
-
- Junior Member
- Posts: 32
- Joined: January 14th, 2019, 8:32 pm
Re: Custom Commands for maps
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.
-
- Junior Member
- Posts: 32
- Joined: January 14th, 2019, 8:32 pm
Re: Custom Commands for maps
ok so I got the message that "I will be the evil one" but I didn't end up being the evil one.
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 7 times
Re: Custom Commands for maps
Try to type the command after you choose the options (If you want to be the evil, etc).