0% found this document useful (0 votes)
84 views38 pages

DDLC Scripting Guide1

script para hacer mods en renpy

Uploaded by

Saul Torres
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
84 views38 pages

DDLC Scripting Guide1

script para hacer mods en renpy

Uploaded by

Saul Torres
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
Beginning Notes: If you have any specific questions not isted here or suggestionsécomments forthe seroting quide. you can DM me on rede at ‘/undrepicisHere?77. This guide was created wih notes and help rom many people ofthe modding communi, 16 a collective effort that | assembled ito a document. Before you read this, highly recommend reading this guide to geting started with @ DDLC mod. This document you are reading now is more intended o be a “cheat sheet” while you srt Read there tps: reds comt/0D1.CMedsfeommerts/8ipiyeting._started_th_ your ct. mod | also nigh recommend using he Ren'y doc to guce you along your serpin as wel ‘Reed i here: tsudwrwwrangy araioctmitdes hm IF lurte something along the lines of *" anywhere | put them, do not include <> in your serct. I's for quid purposes only. Wan that said, enjoy te doc. = Mzpic Escaneado con CamScanner Character Posing + Position: 1 veut veut Dott Donut z Rieammasa | Raransenip [| Rawviongup | Parton ip a tehamnased | _Lotiireenti [Bahru = 4 Both Arms Raised Both Hands on Hip Looking Away Pointing wi Hand on Hip 3 Texto Fiens | Genihgams Cena Fwd a | " (defautt) a z Tein teni a Pa 3% se “t 42 43 4 ‘h{hop) (focus) Tr (Technically not @ position, but when used with t or | and zorder 4, will face the penser) Sore Da alesue oe Wa cre Th ore ca a ‘hf (hop + focus) Escaneado con CamScanner Escaneado con CamScanner eeaqa aeaqa aisqa ae@ a jee@aea 233 YD G) & oes Escaneado con CamScanner aeaqs 222 2223 Escaneado con CamScanner Escaneado con CamScanner Escaneado con CamScanner aaiaaaan Escaneado con CamScanner Escaneado con CamScanner Escaneado con CamScanner Backgrounde: Names residential day Escaneado con CamScanner cass_day Escaneado con CamScanner lub_day ‘lub_day2 (& chance to show, ‘othervise cub_day wil appear If need be. you can change this to aways eppesr in definitions roy by ‘removing the ‘choeas) Escaneado con CamScanner Escaneado con CamScanner Escaneado con CamScanner wetonen notebook Escaneado con CamScanner notebook giten Escaneado con CamScanner Audio: ra f an Se Coe z Se Se a ra aie. Bg ‘Second Section) page_tur Page Tun BE ores en a ‘e sooniee as [pmsaengpere | isan ski = Ss cir re are id Bhpationts et Note) cent giitching sound eee AaceaaEee oo 2. ee ac eae a sae aS Ta 7 cannon rou TE waren ena Escaneado con CamScanner ars ringing, I's a prety ‘speaky busloup i Sac + Err nee ner Tiangeisn ave Ever : re Te Sx pyr wren you * (Chey. Beceeamet aan delete Monika in Act 3 se ay Benet reco Monta jmpscare kay, Everyeel (See Mae a Shay Sree (Sn as - ak ek nt has three separate defintions) bi a Pay Wh Ne oe Ss bo Peyiasie ea ~ eve ctu tenet & iene stop “Tires sow, coneecuve stabs The ite usc haps ts Py ih Me Death er a ven Yr lhe Tevagiestaree 7 Poon Pri ee eo wa Poem Panic! (First Melody eyes ‘Super ‘ow pitched breathing(?) tow) 7 Poem Pani (el @ ren) @ Daou Escaneado con CamScanner My Feelings My Fealings (Harpeienord + 80 Fash) no My Contession | toy My Confession (yur) a ‘Sayo-nara (Note includes: singer) mt Just Monika, mend) Sill Love You Ghost Menu Theme (Siac + ad Weird Breathing) 7 Low Sawtooth Wave (Sounds 8 like an err) ‘Lower Sawtooth Wave (Aiso 2 ‘sounde Ike an errr, Bt worse) to Heartbeat onikas cracts dsiogue Cali end.voice 099 this wi: play muse "bgmvend-voice ogg" oe Your Realty Cal ths wa play music "bgm/orects ogg” Escaneado con CamScanner 8 kil eary.og9 ‘Static at plays when you eels Monika chy eary Cat this with: play muse “"bamvs_ki_eary.coa" Escaneado con CamScanner Gutching: ‘There are a lt of gltch functions in DDLC. | mean, that's he core of te Game. So, e's stat out with the most notable ones: To use the black outined oftzh font, do the folowing. 4$ style.sey dielonve = style.edited wolitch Fort sterts “cnormal dialogue would go heres" 4 style-say dialogue = style.rornal sclitch Fort Ends To.use the long string of oltch characters, do the folowing $ text = glitchtext(cnumber of glitch characters you want>) #any variable works here, the gane just uses gtext ‘fonmal Glalogue>gtent|" Ngtext As when the gliteh text starts For tearing up the screen (6x: ike in Sayorts desth or any gltch even), use the folowing show screen teor(20, €.3, 9.4, @, 48) play gure "rfa/s bill giteenl ogg” €¥ou can change THLE cound 4 you sant pause chewever log you want the glitch effect to last, generally around €.25> ‘These parameters can actualy be changed 1 show screen tean(nunber, ofFtinenAIt, ontinehult, eFfsetNin, oFfsetrON) 4 *nunber” tells how sony tines the screen is divided. This nates the sections that ghiteh Larger or salle. Avner is choren between offtimiwt and entirakuit to ofFust each section ft offsethin ond offaetMer tell how fer the glitch will distort the screen, Setting the Mex higher makes each eetion move farther cut Escaneado con CamScanner For darkening the corners of re screen (Vignette), use the folowing show vignette: #Adé zorder 3 or higher to be above the characters ‘alpha olen sane utlires [1 ‘Nox, youll need to pdate a section ofthe orginal poems.y: Ff carrentpaee.euthor == “yard SF correnepoen yunt_2 text "[currertpoen.title]\n\nfcurrentpoen, text)” style “yurt_text LiF cunrontpeen. urs {ater eurreigeen Ete) \nofeurrentsoen. tent)” style “yur text 2 text “[currentpoen title] n\nfcurrentpoen.text]* style “yuri text elit currentpoan author == "esyors" text *[currenipoen.title)\nhn(currentpoem.text]" style “savor text™ const currentpoon author ss "asteul text "[eurrentpoen.titie]\n\efcurrentpoom.text]” style “eatsudl_text® ‘21st currentpoen. author == verska: ‘text *[currentpoen. title]\n\n(currentpoem,text]” style “wonika_text* hed this {c1EF currentpoen author ~~ "ccharacter>* Text." [cuPrertpoen.titie]\n\n{currentpoun. text] style “eenaracter> text” ‘And that should do Da keep in mind that you'l need an “Okay, Everyone!” variation for that character that you wil Ukely have to call specticaly wih the showpoem function, unless you add a 5 ogg te in audieyogm, Escaneado con CamScanner ow, for ectualy caling @ poem. There are a numberof thngs you can do here, but the base function i ‘coll showpoen (cpoen varsab1e>) “Ins vlust show the poem as normal. The “Okay, Everyone!” variation Wil play an yada yada. Gut, there are actualy a let more vanatios you can moss with. ‘ail showpoen(paem, music, track, revert susie, Lng, where, paper) 4 Poon = Foen being shown 4H hucie « I True, St will change the autic to either the Teack variable or the “Okay, Everyone!" vartation 4 Track = The song you want te play instead of “Okay, Everyone! Revert music = Set to true 4¢ yoo want the variation OF “olay, Everyonel” to change hack to the norma] veecion ‘after you close the poen 4 Ing = 1¢ you want fo show an nage (or character) in the backgreund wile the poen 1s on screen. Gacd ton scares. ‘here = what pesition you wort the Jnage shown 4 paper = Tf you want 2 special image for the poem paper to be stewn, like Yurt's piss paper 0 if wanted focal Yrs piss paper poem, Ico. il mon (ee 3, rack S ur, FeverEmsLeFlse)paper=taps/b/eom HR Igor [Not too hard. right? Escaneado con CamScanner Special Poems: ‘Tis 1s actually realy easy todo, but fee tne need to ive fs own section anyways because Is pretty Important Allthe special poems are simoly defined in poems special my, "8 suggest acing onto tt or making @ duplicate poems. special mod py. This isthe basic label for a special pos: pom_spectal counters = “dod Tabet poen_spectal_crumber> § fuick norw ~ Falee play sound page ture how poem, specialcrunber> with OissoLve(2.0) S pausel) § quick roru = True ‘There's nothing realy else to sy about this, other than you can realy do whatever ihe hell you want with this. $ pause) pauses unt ‘you elek, £0 f you want anather mage shown era sound elfect played or whatever. ust put it ater or before those. Escaneado con CamScanner isc Notes: 1a character combmation Isnt in deioons my, use this function to ad t nage expression ~ in.Conposite( (969, 960), (@, 0), "expression locatiow" (0, 8), «pose ecations") You can realy name the variable whatever you want, but folowing how the others are set up makes Ife easier the long un. | recommend adding ft with the other expressions in definitions ry. Natsuki's special expressions do act work with her special pase normaly, youl have 1o edit a new one. (THIS EXPRESSION HAS BEEN REMOVED FROM THE FILES AS OF DDLC 1.1.1, YOU WILL NEED TO ADD IT AS A CUSTOM ASSET) ‘She hes en unused expression in hor ol2" folder in mages rpa named "at png’ Isnt cute? You can implement it using the same image function above. Bear in mind i's speci to her soecal pose. Escaneado con CamScanner To show a character, use this function: few eieratiae- oem] (carecter poe aad eoprastion] iter character priority) at [effect] [position To hide a character, use zorder 1. Els. you can have zorder set to whatever you want above 2. Having one character above another wallet you meke them eppear in front ofthe other (ex: the scene in DDLC where Sayor stole a bile of Naisuk's cookie.) Formatting Tricks: ‘You can find a ful ist ofthe formating ticks Ren‘Py uses hare: tse renoy orofseesttnitext him But for some ones tat might be more usetu for a DDLC mod. {hw - Used mn alaioque. This wil skip tothe next ine without player nou {Mdlitogue() - Rates fest) - Jumps to thet point in the text immeditely. {fons+valve}calogueseos) - Changes the cheraciers shown per secard. You tkely want something lhe {ons} to double the speed. {ov=value) - Pauses and watts for a value of seconds before continue on the laiogue Basic transition for starting/ending a scone: ‘There are mutipletransions thet can be used that | have yet to document, 0 toke this as @ basic guide, For beginning a chepter: stop music Fadeout 2.6 Ecene bg ‘ith dissolve scene-f0ll puay musie crisie you vant Escaneado con CamScanner ‘Transiton to 2 new scene: stop music fadeout 2.0 Scene be vith spelert scene lay music crisie you want> ‘Anci ending @ chapter: ‘ith dissolve_scene full ‘The Mystory of "Okay, Everyone!” and how it plays the variations: ‘$0, dont entirely understand this ye, but fom what can gather. ‘The poem musi is controled directly in poems.rpy at the very bottom ofthe scp: abel showpoes(poen=vone, misic-True, track-hone, revert musicaTrue, Ueg-hone, where-iid, paper-tone) Le pean == ene play sound page ture femasic! '§ currentpos = get_pos() ie track $ suelo. Sb = “ctron ” + ste(currentpos) 4° Loop 4.0040" + track else: $ aucto.t5e = “ctron ~ 4 ete(currentpae) +” loop 4.004>bge/S_" + oom. author + “ogg” stop nusic faceout 2.0 $ renpy.music play(sveto.t50, chanel music posn’, fadeine2.0, tight-trve) Escaneado con CamScanner ‘A label is set up a8 showpoem This is really fer well shosting the poem that MCs seeing ft checks the track, musi, fit shouks reverse the must image, where it should show at, the iype of paper, Blah blah. What’ important a ite lower. at "1 music” What this does is first, get the current postion ofthe song playing. It then checks what song is playing. # the one defined as “rack” in showzoem, Ii change 156” to play from the current postion ofthe arg, loop the normal spc, and the tack defined “rack” Ese, 10 the sare thing bul pay ihe “Okay, Everyone!” of whose poern you'e looking at So, I/ were viewing Natsukl's poem, itd play her variation of “Okay, Everyone!” UF mute and revert. master 'S currentpos = get_pos(chanrele"musi¢_poos”) § sudio.tSe ~ "ciron " s str(currentpes) +” loop 4.264se—n/5.o98 Stop music_poen fadeout 2.9 $ renpy.muzic.play(sueie.*5¢, fadein-2.0) eturn If rovert music tue, aftr the poom is closod, tl go back to the normal “Okay, Everyone!” atthe curent poston, defined as >. “The variations are not defines by default. You can acd them n just. ke any ether musi fn defindons.rpy, ke £0: efine audio. tnonika = "

You might also like