Author Topic: Make a Print through a script?  (Read 681 times)

Yes, It's me again,

I also need to know how to make a print using code. Hope its possible.
« Last Edit: February 19, 2011, 11:56:46 PM by Reinforcements »

Attempting to make a ingame print making script, hmm?

you can't make an image using torquescript

Hold on, there may be a misunderstanding here. Using an existing picture file, I want to create a print datablock using a script.

Something like this?
Code: [Select]
datablock Print()
{
filename = "Add-ons/blah/picture1.png";
uiname = "pic1";
}

Prints are loaded automatically if you do it right.

Quote
Yes, It's me again,

I also need to know how to make a print using code. Hope its possible.

>.>

It would probably be possible to accomplish what I want without using code. It would be better if I can have print datablocks made with code.

it isn't. i'm fairly certain about this

Why do you need to do this through code when you can just cram a bunch of images in appropriately named folders?

Why do you need to do this through code when you can just cram a bunch of images in appropriately named folders?
I want to make a downloadable client that players must download to play on my server.(Destiny shared his code from the DRPG, so players won't be able to connect without it.) The client would contain a bunch of files that would enhance gameplay, sounds, music, prints. I want the client to be named "Client_ReinforcementsServer", but in order to make a print, it seems the folder must be named "Print_ReinforcementsServer". It would be better to have it named "Client_ReinforcementsServer" as it may confuse some. "Why do I need a print to join this server?". So if I could create it through a script, I could still have it named "Client_ReinforcementsServer".

Quote
        Datablock Report:
           Base:    421
           Paint:   441
           Add-Ons: 765
           Music:   15
           Total:   1642

Quote
Loading Add-On: Print_2x2f_Default (CRC:120624780)
            Executing Add-Ons/Print_2x2f_Default/server.cs.
            0 datablocks added.

Prints do not use datablocks.

In any case, why do you need things like prints and sounds to join the server? It's handy to have but still shouldn't be forced. For instance, one time Bushido was running this "environment sounds" mod which played music files about ten times as loud as anything else. I then had the option to delete them and rejoin, disabling music and was able to play just fine.
« Last Edit: February 20, 2011, 12:23:51 PM by Space Guy »

Prints are not client-sided.
« Last Edit: February 20, 2011, 12:26:04 PM by Bauklotz »

Prints do not use datablocks.
Well.....then..... ._.

What are they? :o (dun dun duuunnn)
It's handy to have but still shouldn't be forced.
Well, my horrorbuild requires sounds/prints/music. Otherwise, I think it would be pretty lame. it would be like watching a horror film with no sound, it loses it scary-ness/effect. Or in another example, consider fighting a boss in a video game with no boss music. Pretty lame, right?

Well, I haven't seen it. I don't want to go download a gigabyte of useless stuff for a server I may or may not even want to visit again. I've got about ten different useless commands like "dueling minigame shift alt d" "cityrpg ctrl alt c" which I've had to go download client mods for and it's just annoying. If it was made right it should be playable without needing them - sure, something like "you can have an easier to use GUI than /commands if you download it" but I'd like to be able to try the gameplay beforehand.

Well, I haven't seen it. I don't want to go download a gigabyte of useless stuff for a server I may or may not even want to visit again. I've got about ten different useless commands like "dueling minigame shift alt d" "cityrpg ctrl alt c" which I've had to go download client mods for and it's just annoying. If it was made right it should be playable without needing them - sure, something like "you can have an easier to use GUI than /commands if you download it" but I'd like to be able to try the gameplay beforehand.
EDIT:
trying the gameplay requires may require the custom content, otherwise, your not fully trying it.
« Last Edit: February 20, 2011, 06:40:09 PM by Reinforcements »