Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.


Caravel Forum : DROD Boards : Feature Requests : Modifying custom character I.D.
New Topic New Poll Post Reply
Poster Message
averagemoe
Level: Smiter
Avatar
Rank Points: 487
Registered: 03-22-2012
IP: Logged
icon Modifying custom character I.D. (0)  
Some people might have come up with an intricate system involving a complex mathematical formula to decide which custom character I.D. to use in a script (either for generating entities or starting global scripts) and want to be able to fine-tune it without having to cut and paste an entire characters default script from one to another.

Or maybe they realize a bit too late that the number they need was once taken but the character was deleted and the slot must now sit empty forever, forcing them to move all the scripts to a text file, delete all characters, create a new hold, copy all the levels over from the old one, then put all the characters back in by hand in the proper order, searching for every last script command that mentions a custom entity and trying to remember which script was supposed to be running.

Basically, I want to be able to modify the I.D. numbers of my custom characters on the fly.

____________________________
There are two types of sheep in the world. Those who jump off a bridge when told to, and those who jump off a bridge when told not to. Don't be either.
09-19-2018 at 05:46 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1062
Registered: 06-23-2006
IP: Logged
icon Re: Modifying custom character I.D. (+2)  
I would advise some people to reconsider their script architecture. It's perfectly possible to select custom entities in the Generate Entity (and Wait for Entity Type) selector, meaning that _MyScript injections should be unneeded.

In my professional opinion, such a strong dependency on entity IDs suggests that there's some kind of deleterious over-engineering going on. While "an intricate system involving a complex mathematical formula to decide which custom character I.D. to use in a script" may seem like a good idea, the fact that it requires clunky changes to default scripts should set off alarms. I'd also wager that such a system is practically unmaintainable.

In my amateur opinion, this seems like a pain to implement. Changing a character ID is simple on the surface, but would require the entire hold to be processed to change every use of the old ID to the new ID. That's a lot of potential overhead, for very little gain.

In my entirely unprofessional opinion, the fact that you decided the solution to not being able to re-ID custom entities was to delete and recreate your hold is horrifying.

____________________________
[Insert witty comment here]
Qzvlkx?
09-20-2018 at 08:09 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : Modifying custom character I.D.
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.