Search found 40 matches

by babblebab
Sat Jan 23, 2016 11:55 am
Forum: Scripting
Topic: Determining the zoneid for NPCs
Replies: 1
Views: 2462

Determining the zoneid for NPCs

There used to be a field in npc_list that determined what zone an NPC was placed in, but that seems to be gone now.
How does the server determine what zone to place an NPC in now? Is it NPCID based?
by babblebab
Tue Jan 05, 2016 1:23 am
Forum: Scripting
Topic: Custom PrintToPlayer/PrintToServer Stuff
Replies: 26
Views: 25268

Re: Custom PrintToPlayer/PrintToServer Stuff

Is it possible to specify the color of the text printed at all?
by babblebab
Sun Nov 15, 2015 7:37 pm
Forum: Scripting
Topic: Weakness trigger GM Command
Replies: 2
Views: 3244

Re: Weakness trigger GM Command

Probably should have guessed that.
Got it working, thanks kj
by babblebab
Sun Nov 15, 2015 5:29 pm
Forum: Scripting
Topic: Weakness trigger GM Command
Replies: 2
Views: 3244

Weakness trigger GM Command

I am trying to make a command to trigger the weakness packet. I had it working awhile back but forgot how I set it up. Using the commands I found in mobutils.cpp and lua_baseentity.cpp I tried to setup a simple yellow trigger script like so: cmdprops = { permission = 1, parameters = "s" }; function ...
by babblebab
Wed Dec 17, 2014 7:15 pm
Forum: Contributing
Topic: Music IDs
Replies: 9
Views: 11219

Re: Music IDs

900 is only ever played during the CoP ending cutscene. You can view it in the games memory using something like Cheat Engine if you wanted, but it's no big deal. It's still capable of playing the song itself in game, you just can't set it yourself using something like @setmusic with the current des...
by babblebab
Sun Oct 19, 2014 12:04 pm
Forum: Resources
Topic: [xlsx] Compiled Resource
Replies: 1
Views: 9442

[xlsx] Compiled Resource

I've spent some time compiling stuff that I find while working with previously found data that I use often, and trying to organize it all in one place. I've been keeping everything in separate tabs within an excel book. I know a good 80~% of this is likely available elsewhere (i.e. the wiki), but I ...
by babblebab
Sat Oct 18, 2014 5:24 am
Forum: Contributing
Topic: Music IDs
Replies: 9
Views: 11219

Re: Music IDs

Ah, yeah it's no big deal really. Distant Worlds from the last CoP cutscene appears to be the only value above 255 everything else appears to be repeats or silence.
by babblebab
Sat Oct 18, 2014 1:09 am
Forum: Contributing
Topic: Music IDs
Replies: 9
Views: 11219

Re: Music IDs

Cool, I'll do that in a few then.

and yeah, that would indeed be the case. I had to change to 2 bytes in CE for 900.
by babblebab
Sat Oct 18, 2014 1:03 am
Forum: Contributing
Topic: Music IDs
Replies: 9
Views: 11219

Re: Music IDs

Touche. Thank you.
by babblebab
Sat Oct 18, 2014 12:51 am
Forum: Contributing
Topic: Music IDs
Replies: 9
Views: 11219

Music IDs

I went through and put together a list for every music ID that I could find. You can use @setmusic in game and the table below to change the zones current music in game. A lot of these have already been found, just updating the list. Note that Song #900 will not play with the @setmusic command for w...