Forum

> > Stranded II > General > greater islands area
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch greater islands area

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt greater islands area

eonsystem
User Off Offline

Zitieren
Yo muffas. Modding and editing sourcecode using Stranded!!! Cool game by the way. I'm by way of creating a mod... Tiss more like the expansion, I'm using the exp. items/objects/units/etc. But i'm doing this in english.

Know there's a lot of mods goin round so I'll just ask you to shut up bout that and give me some ideas for scripting. Kewl???

Right.... Any ideas on copychildren from an object/item/unit((STORAGE)) from one map and then pastchildren to another object/item/unit((STORAGE)) in another map.

Say I build a ship. I then use that ship to store stuff. Then I traverse to another map (loadmap). On start of the second map I want that ship(from the previous map) to be in play in the new map with all items stored still on board. Any ideas???

Admin/Mod Kommentar

hey little attention whore! don't write titles in capital letters! I fixed that for you. /DC

alt Re: greater islands area

DC
Admin Off Offline

Zitieren
you have to save all the crap, change the map and load it afterwards. yeah. it's that simple.

alt Re: greater islands area

eonsystem
User Off Offline

Zitieren
yeah... but can you help with the scripts???
like how do I use the pastechildren function to write to an external file and then how do I import that data to the newly spawned/builded unit/object/item???

alt Re: greater islands area

eonsystem
User Off Offline

Zitieren
well, I don't really know. It's just scriptcommand with the result of copying the entire unit/object/item's var's.
if I use this code:
>copychildren "object",currentid(),1,1,1,1,0;
>pastechildren "unit",$id,1,1,1,1; //$id is target ID
then all items stored in the "object" is copied to the "unit".
1× editiert, zuletzt 06.08.09 20:32:12
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht